Skip to content

Commit

Permalink
organize dependencies
Browse files Browse the repository at this point in the history
- fix relative versions for Vitruvius dependencies
  • Loading branch information
larsk21 committed Dec 3, 2024
1 parent cfcfb04 commit 90d7562
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 122 deletions.
14 changes: 2 additions & 12 deletions applications/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@
</build>

<dependencies>
<!-- project dependencies -->
<!-- Vitruvius dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
<version>${project.version}</version>
</dependency>

<!-- project test depencies -->
<!-- external dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
Expand All @@ -46,30 +44,22 @@
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.lib</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.equinox.registry</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<scope>compile</scope>
</dependency>

<!-- external test dependencies -->

</dependencies>
</project>
58 changes: 35 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
<dependencyManagement>
<dependencies>
<!-- Vitruvius dependencies -->
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.correspondence</artifactId>
Expand All @@ -114,6 +119,11 @@
<artifactId>tools.vitruv.change.interaction</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.interaction.model</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
Expand All @@ -129,8 +139,28 @@
<artifactId>tools.vitruv.change.testutils.integration</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.metamodels</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.utils</artifactId>
<version>3.1.0</version>
</dependency>

<!-- External dependencies -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.18.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.18.2</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down Expand Up @@ -166,6 +196,11 @@
<artifactId>org.eclipse.emf.ecore.xmi</artifactId>
<version>2.38.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.emfcloud</groupId>
<artifactId>emfjson-jackson</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
Expand Down Expand Up @@ -250,29 +285,6 @@
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.14.2</version>
<scope>test</scope>
</dependency>

<!-- Dependencies Vitruv Remote -->
<dependency>
<groupId>org.eclipse.emfcloud</groupId>
<artifactId>emfjson-jackson</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.18.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.18.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.18.2</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
27 changes: 12 additions & 15 deletions remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,31 @@
<!-- project dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.utils</artifactId>
<artifactId>tools.vitruv.framework.views</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Vitruvius dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.interaction.model</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.utils</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.views</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.interaction.model</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
</dependency>

<!-- external dependencies -->
Expand Down
31 changes: 14 additions & 17 deletions testutils/deprecated/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,38 +33,35 @@
<!-- project dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
<artifactId>tools.vitruv.framework.testutils.integration</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Vitruvius dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.correspondence</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.testutils.integration</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.correspondence</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.testutils.integration</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.integration</artifactId>
</dependency>

<!-- external dependencies -->
Expand Down
36 changes: 16 additions & 20 deletions testutils/integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,43 +33,39 @@
<!-- project dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.testutils.core</artifactId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.testutils.integration</artifactId>
<artifactId>tools.vitruv.framework.views</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Vitruvius dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.interaction</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.core</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.integration</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.interaction</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.vsum</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.propagation</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tools.vitruv.framework.views</artifactId>
<version>${project.version}</version>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
</dependency>

<!-- external dependencies -->
Expand Down
21 changes: 8 additions & 13 deletions views/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,25 @@
</build>

<dependencies>
<!-- project dependencies -->
<!-- Vitruvius dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.composite</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.atomic</artifactId>
<version>${project.version}</version>
</dependency>

<!-- project test dependencies -->
<!-- Vitruvius test dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.core</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>tools.vitruv</groupId>
<artifactId>tools.vitruv.change.testutils.metamodels</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -85,13 +81,12 @@
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.common</artifactId>
</dependency>

<!-- external test dependencies -->
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<scope>compile</scope>
</dependency>

<!-- external test dependencies -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
Expand Down
Loading

0 comments on commit 90d7562

Please sign in to comment.