Skip to content

Commit

Permalink
[MJAR-278] Update plugin (requires Maven 3.2.5+) (#19)
Browse files Browse the repository at this point in the history
Update plugin:
 * make it Java8 
 * requires Maven 3.2.5+
 * maven bits scope set to provided
 * update file-management 3.1.0
 * update maven-archiver 3.6.0
  • Loading branch information
cstamas authored Jul 2, 2022
1 parent b6fe3eb commit c02be20
Showing 1 changed file with 8 additions and 30 deletions.
38 changes: 8 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,8 @@
</distributionManagement>

<properties>
<mavenFileManagementVersion>3.0.0</mavenFileManagementVersion>
<mavenArchiverVersion>3.5.2</mavenArchiverVersion>
<mavenVersion>3.1.0</mavenVersion>
<!-- TODO remove with Maven APi upgrade -->
<!-- the same version as in Maven 3.1.0 -->
<sisuVersion>0.0.0.M2a</sisuVersion>
<javaVersion>8</javaVersion>
<mavenVersion>3.2.5</mavenVersion>
<project.build.outputTimestamp>2022-01-08T21:19:21Z</project.build.outputTimestamp>
</properties>

Expand Down Expand Up @@ -113,43 +108,26 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>file-management</artifactId>
<version>${mavenFileManagementVersion}</version>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<version>${mavenArchiverVersion}</version>
<version>3.6.0</version>
</dependency>
<!-- dependencies to annotations -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
</dependency>
<!--
! other dependencies contain references to older versions
! so we define it here explicit to make sure we get the
! correct version for plexus-utils.
-->
<!--
! maven-shared-utils is pulled by file-management
! Need to use a more recent version otherwise
! the build will fail. This needed to be kept
! here until a new version of file-management
! has been made.
-->
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.3.4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.4.2</version>
<scope>runtime</scope>
<artifactId>plexus-archiver</artifactId>
<version>4.3.0</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -159,7 +137,7 @@
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>3.1.0</version>
<version>3.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit c02be20

Please sign in to comment.