Skip to content

Commit

Permalink
Merge pull request #66 from mojohaus/#65_maven_scope
Browse files Browse the repository at this point in the history
[#65] fix maven plugin dependency scopes
  • Loading branch information
bmarwell committed Oct 26, 2023
2 parents b93b7e6 + 225eb02 commit 63322f7
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,25 @@
</repositories>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
Expand All @@ -132,13 +141,15 @@
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>

<!-- needed by update-maven-3 goal -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
Expand All @@ -151,6 +162,7 @@
<groupId>org.apache.maven</groupId>
<artifactId>maven-repository-metadata</artifactId>
<version>${maven.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
Expand All @@ -177,30 +189,6 @@
</exclusion>
</exclusions>
</dependency>
<!--dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http</artifactId>
<version>${wagon.api.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>${wagon.api.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-api</artifactId>
</exclusion>
</exclusions>
</dependency-->

<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down

0 comments on commit 63322f7

Please sign in to comment.