Skip to content

Commit

Permalink
Add/update missing maven plugins (#1328)
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Albu <[email protected]>
  • Loading branch information
danalbu and Dan Albu authored Sep 22, 2021
1 parent d0bdf3e commit 08ae4e4
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 31 deletions.
8 changes: 1 addition & 7 deletions cloudslang-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
Expand Down Expand Up @@ -262,7 +261,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>unpack</id>
Expand Down Expand Up @@ -300,8 +298,8 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>copy-maven-conf</id>
Expand Down Expand Up @@ -372,7 +370,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>dist</id>
Expand Down Expand Up @@ -402,7 +399,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.4</version>
<executions>
<execution>
<id>download content sl</id>
Expand All @@ -422,7 +418,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>copy-content</id>
Expand Down Expand Up @@ -451,7 +446,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>cleandist</id>
Expand Down
4 changes: 1 addition & 3 deletions cloudslang-content-verifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>unpack</id>
Expand Down Expand Up @@ -238,8 +237,8 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>copy-maven-conf</id>
Expand Down Expand Up @@ -308,7 +307,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>dist</id>
Expand Down
99 changes: 78 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,31 @@

<properties>
<!--Maven versions-->
<maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
<maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-license-plugin.version>3.0</maven-license-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
<maven-source-plugin.version>3.2.0</maven-source-plugin.version>
<maven-license-plugin.version>4.0</maven-license-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-release-plugin.version>3.0.0-M4</maven-release-plugin.version>
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
<maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version>
<maven-plugin-plugin.version>3.6.0</maven-plugin-plugin.version>
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
<maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
<maven-scm-plugin.version>1.12.0</maven-scm-plugin.version>
<!--Project dependencies-->
<spring.version>5.3.4</spring.version>
<hamcrest.version>1.3</hamcrest.version>
<score.version>0.3.241</score.version>
<h2.version>1.4.199</h2.version>
<!--Project properties-->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.enforcer.plugin.version>1.4.1</maven.enforcer.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<score.group>io.cloudslang</score.group>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down Expand Up @@ -501,8 +511,9 @@
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.14</version>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<id>verify integration tests execution</id>
Expand All @@ -517,15 +528,6 @@
</configuration>
</plugin>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<runOrder>alphabetical</runOrder>
<argLine>-Xmx512m -XX:MaxPermSize=1024m</argLine>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand All @@ -539,7 +541,7 @@
</execution>
</executions>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<doclint>none</doclint>
</configuration>
</plugin>

Expand Down Expand Up @@ -603,7 +605,7 @@
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<version>4.0</version>
<configuration>
<includes>
<include>**/*.java</include>
Expand Down Expand Up @@ -664,17 +666,72 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.plugin.version}</version>
<version>${maven-enforcer-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<runOrder>alphabetical</runOrder>
<argLine>-Xmx512m -XX:MaxPermSize=1024m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven-scm-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
</plugins>
Expand Down

0 comments on commit 08ae4e4

Please sign in to comment.