diff options
author | gjoranv <gv@verizonmedia.com> | 2022-04-22 14:26:24 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-04-22 14:52:06 +0200 |
commit | 955e9e6ae24f60a5163df171a448db21f127cb33 (patch) | |
tree | 3ca305a5968ad9f0bd224ac8206604d45ab9bb15 /vespa-application-maven-plugin/pom.xml | |
parent | e6c8f49cc768573baa37f3d6b59ef6fd9c1bdc13 (diff) |
Fix and clean up deps for maven plugins.
- Set scope to provided to silence error messages from
maven-plugin-plugin >=3.6.2
Example:
Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.
The following dependencies are in wrong scope:
* org.apache.maven:maven-settings:jar:3.8.5:compile
Diffstat (limited to 'vespa-application-maven-plugin/pom.xml')
-rw-r--r-- | vespa-application-maven-plugin/pom.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vespa-application-maven-plugin/pom.xml b/vespa-application-maven-plugin/pom.xml index 10c494a7dd4..99248fb0907 100644 --- a/vespa-application-maven-plugin/pom.xml +++ b/vespa-application-maven-plugin/pom.xml @@ -19,7 +19,13 @@ <dependencies> <dependency> <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> @@ -28,10 +34,12 @@ <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> @@ -39,10 +47,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - </dependency> - <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.7</version> |