Skip to content

Commit

Permalink
Merge pull request #230 from camunda-cloud/174_compile_time_deps
Browse files Browse the repository at this point in the history
Cleanup compile time dependencies
  • Loading branch information
remcowesterhoud authored Mar 3, 2022
2 parents 9e13889 + 08aec5e commit 6cfabc5
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 34 deletions.
25 changes: 11 additions & 14 deletions assertions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,28 @@
<artifactId>assertj-core</artifactId>
</dependency>

<!-- Test scope-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-client-java</artifactId>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>

<!-- Test scope-->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>

Expand Down
5 changes: 5 additions & 0 deletions engine-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
<groupId>io.camunda</groupId>
<artifactId>zeebe-process-test-engine-protocol</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
14 changes: 8 additions & 6 deletions engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,14 @@
<artifactId>zeebe-logstreams</artifactId>
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-test-util</artifactId>
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-client-java</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Test Scope -->
Expand All @@ -64,6 +59,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
Expand All @@ -83,6 +79,12 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
6 changes: 6 additions & 0 deletions extension-testcontainer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
<artifactId>junit-jupiter</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Test scope -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand Down
12 changes: 12 additions & 0 deletions extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,23 @@
<artifactId>junit-jupiter-api</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Test scope-->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
9 changes: 8 additions & 1 deletion filters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<artifactId>slf4j-api</artifactId>
</dependency>

<!-- Test scope-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -47,6 +48,12 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
24 changes: 13 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<properties>
<dependency.assertj.version>3.22.0</dependency.assertj.version>
<dependency.awaitility.version>4.1.1</dependency.awaitility.version>
<dependency.commons.version>3.12.0</dependency.commons.version>
<dependency.errorprone.version>2.11.0</dependency.errorprone.version>
<dependency.eze.version>0.6.0</dependency.eze.version>
<dependency.feel.version>1.14.2</dependency.feel.version>
Expand All @@ -51,7 +52,6 @@
<dependency.jna.version>5.10.0</dependency.jna.version>
<dependency.junit.version>5.8.2</dependency.junit.version>
<dependency.junit4.version>4.13.2</dependency.junit4.version>
<dependency.log4j.version>2.17.1</dependency.log4j.version>
<dependency.mockito.version>4.3.1</dependency.mockito.version>
<dependency.netty.version>4.1.74.Final</dependency.netty.version>
<dependency.osgi.version>6.0.0</dependency.osgi.version>
Expand Down Expand Up @@ -179,6 +179,12 @@
<version>${dependency.zeebe.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${dependency.slf4j.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
Expand Down Expand Up @@ -273,21 +279,11 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${dependency.slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${dependency.snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${dependency.log4j.version}</version>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>value</artifactId>
Expand All @@ -313,6 +309,12 @@
<version>${dependency.awaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${dependency.commons.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
10 changes: 8 additions & 2 deletions qa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@
</dependency>

<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 6cfabc5

Please sign in to comment.