Skip to content

Commit

Permalink
Update plugin
Browse files Browse the repository at this point in the history
Get rid of Maven2 bits, put Maven3 bits in proper scope.
  • Loading branch information
cstamas authored and slawekjaranowski committed Dec 5, 2022
1 parent f01cf77 commit 05c6f3e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion animal-sniffer-enforcer-rule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<artifactId>maven-compat</artifactId>
<version>${maven.version}</version>
</dependency>
<dependency>
Expand Down
16 changes: 10 additions & 6 deletions animal-sniffer-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
Animal Sniffer Maven Plugin.
</description>

<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>

<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
Expand All @@ -53,26 +57,26 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<artifactId>maven-compat</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${maven.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-toolchain</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</distributionManagement>
<properties>
<topSiteURL>scm:git:ssh://git@github.com/mojohaus/animal-sniffer.git</topSiteURL>
<maven.version>2.2.1</maven.version>
<maven.version>3.2.5</maven.version>
<mojo.java.target>1.8</mojo.java.target>
<build-helper.version>3.3.0</build-helper.version>
<invoker.streamLogs>false</invoker.streamLogs>
Expand Down

0 comments on commit 05c6f3e

Please sign in to comment.