Skip to content

Commit

Permalink
Closes Taskana#612: cleanup pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
arolfes committed Nov 20, 2023
1 parent fc5e450 commit cbaebda
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 185 deletions.
67 changes: 41 additions & 26 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,37 @@
<!-- build dependencies -->
<version.checkstyle>10.12.4</version.checkstyle>
<version.google-java-format>1.16.0</version.google-java-format>
<version.maven.jar>3.3.0</version.maven.jar>
<version.maven-war-plugin>3.4.0</version.maven-war-plugin>
<version.maven.source>3.3.0</version.maven.source>
<version.maven.checkstyle>3.3.1</version.maven.checkstyle>
<version.maven.compiler>3.11.0</version.maven.compiler>
<version.maven.javadoc>3.6.0</version.maven.javadoc>
<version.maven.dependency>3.6.1</version.maven.dependency>
<version.maven.failsafe.plugin>3.2.1</version.maven.failsafe.plugin>
<version.maven.surefire.plugin>3.2.1</version.maven.surefire.plugin>
<version.maven.checkstyle>3.3.1</version.maven.checkstyle>
<version.maven.spring-boot>2.7.9</version.maven.spring-boot>
<version.maven.sonar>3.10.0.2594</version.maven.sonar>
<version.wildfly.maven.plugin>4.0.0.Final</version.wildfly.maven.plugin>
<version.jboss-as-maven-plugin>7.9.Final</version.jboss-as-maven-plugin>
<version.maven.jar>3.3.0</version.maven.jar>
<version.maven.javadoc>3.6.0</version.maven.javadoc>
<version.maven.jboss-as.plugin>7.9.Final</version.maven.jboss-as.plugin>
<version.maven.resources>3.3.1</version.maven.resources>
<version.maven.dependency>3.6.1</version.maven.dependency>
<version.maven.sonar>3.10.0.2594</version.maven.sonar>
<version.maven.source>3.3.0</version.maven.source>
<version.maven.spring-boot>2.7.9</version.maven.spring-boot>
<version.maven.surefire.plugin>3.2.1</version.maven.surefire.plugin>
<version.maven-war-plugin>3.4.0</version.maven-war-plugin>
<version.maven.wildfly.plugin>4.0.0.Final</version.maven.wildfly.plugin>

<version.mybatis>3.5.13</version.mybatis>
<version.mybatis>3.5.14</version.mybatis>
<version.spring.mybatis>3.0.2</version.spring.mybatis>

<version.spring.plugin.core>3.0.0</version.spring.plugin.core>
<version.spring.boot>3.1.5</version.spring.boot>

<version.camunda>7.20.0</version.camunda>
<version.camunda.spin>1.22.0</version.camunda.spin>
<version.camunda.template-engines-freemarker>2.2.0</version.camunda.template-engines-freemarker>
<version.camunda.template-engines-velocity>2.1.0</version.camunda.template-engines-velocity>

<version.jakarta.annotation>2.1.1</version.jakarta.annotation>
<version.jakarta.servlet>6.0.0</version.jakarta.servlet>
<version.jakartaee-api>10.0.0</version.jakartaee-api>

<version.resteasy.spring.boot>6.0.4.Final</version.resteasy.spring.boot>
<version.resteasy.jaxrs>3.0.12.Final</version.resteasy.jaxrs>
<version.javax.ws.rs.api>2.1.1</version.javax.ws.rs.api>
<version.org.webjars.bootstrap>5.3.1</version.org.webjars.bootstrap>
<version.org.jboss.spec>3.0.3.Final</version.org.jboss.spec>

Expand All @@ -86,8 +86,8 @@
<version.arquillian.managed.wildfly>5.0.1.Final</version.arquillian.managed.wildfly>


<version.archunit>1.0.1</version.archunit>
<version.hamcrest.json>0.2</version.hamcrest.json>
<version.archunit>1.2.0</version.archunit>
<version.hamcrest.json>0.3</version.hamcrest.json>

<version.maven.gpg>3.1.0</version.maven.gpg>
<version.sonatype>1.6.13</version.sonatype>
Expand Down Expand Up @@ -126,6 +126,13 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${version.camunda}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
Expand All @@ -143,16 +150,6 @@
</dependencyManagement>

<profiles>
<profile>
<id>jdk8-compatibility</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.testRelease>${java.version}</maven.compiler.testRelease>
</properties>
</profile>
<profile>
<id>snapshot</id>
<build>
Expand Down Expand Up @@ -374,5 +371,23 @@
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>camunda-bpm-nexus</id>
<name>Camunda Maven Repository</name>
<url>https://app.camunda.com/nexus/content/groups/public</url>
</repository>
<!-- enable this for EE dependencies (requires credentials in ~/.m2/settings.xml) -->
<!--
<repository>
<id>camunda-bpm-nexus-ee</id>
<name>Camunda Enterprise Maven Repository</name>
<url>https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee</url>
</repository>
-->
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
</project>
65 changes: 6 additions & 59 deletions taskana-adapter-camunda-listener-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>${version.camunda}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>jakarta.platform</groupId>
Expand Down Expand Up @@ -58,24 +46,24 @@
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
<scope>provided</scope>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
<scope>provided</scope>
<scope>test</scope>
</dependency>
<!-- Required to use Templates in unit tests -->
<dependency>
<groupId>org.camunda.template-engines</groupId>
<artifactId>camunda-template-engines-freemarker</artifactId>
<version>2.2.0</version>
<version>${version.camunda.template-engines-freemarker}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.camunda.template-engines</groupId>
<artifactId>camunda-template-engines-velocity</artifactId>
<version>2.1.0</version>
<version>${version.camunda.template-engines-velocity}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -84,13 +72,6 @@
<artifactId>bootstrap</artifactId>
<version>${version.org.webjars.bootstrap}</version>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>${version.org.jboss.spec}</version>
<scope>provided</scope>
<type>pom</type>
</dependency>
<dependency>
<!-- Needed for InMemoryH2Test -->
<groupId>com.h2database</groupId>
Expand Down Expand Up @@ -132,52 +113,18 @@
<!-- Deploy to JBoss AS7: mvn clean jboss-as:deploy See also: https://docs.jboss.org/jbossas/7/plugins/maven/latest/examples/deployment-example.html -->
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>${version.jboss-as-maven-plugin}</version>
<version>${version.maven.jboss-as.plugin}</version>
</plugin>
<plugin>
<!-- Deploy to Wildfly: mvn clean wildfly:deploy See also: https://docs.jboss.org/wildfly/plugins/maven/latest/examples/deployment-example.html -->
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${version.wildfly.maven.plugin}</version>
</plugin>
<plugin>
<!-- Deploy to JBoss using: mvn clean package antrun:run Follow the instructions in build.properties.example to make it work!-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<configuration>
<tasks>
<ant antfile="${basedir}/build.xml">
<target name="copy.war.into.jboss"/>
</ant>
</tasks>
</configuration>
<version>${version.maven.wildfly.plugin}</version>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>${version.maven-war-plugin}</version>
</plugin>

</plugins>
</build>

<repositories>
<repository>
<id>camunda-bpm-nexus</id>
<name>Camunda Maven Repository</name>
<url>https://app.camunda.com/nexus/content/groups/public</url>
</repository>
<!-- enable this for EE dependencies (requires credentials in ~/.m2/settings.xml) -->
<!--
<repository>
<id>camunda-bpm-nexus-ee</id>
<name>Camunda Enterprise Maven Repository</name>
<url>https://app.camunda.com/nexus/content/repositories/camunda-bpm-ee</url>
</repository>
-->
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
</project>
1 change: 0 additions & 1 deletion taskana-adapter-camunda-listener/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.2</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${version.spring.boot}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${version.spring.boot}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
Expand Down
14 changes: 0 additions & 14 deletions taskana-adapter-camunda-outbox-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,14 @@
<relativePath>../pom.xml</relativePath>
</parent>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-bom</artifactId>
<version>${version.camunda.spin}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-core</artifactId>
<version>${version.camunda.spin}</version>
</dependency>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
<version>${version.camunda.spin}</version>
</dependency>
<dependency>
<groupId>jakarta.platform</groupId>
Expand Down
4 changes: 0 additions & 4 deletions taskana-adapter-camunda-spring-boot-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,15 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${version.spring.boot}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${version.spring.boot}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${version.spring.boot}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -59,7 +56,6 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>

Expand Down
Loading

0 comments on commit cbaebda

Please sign in to comment.