Skip to content

Commit

Permalink
[pom] Per maven standards, make certain artifacts provided
Browse files Browse the repository at this point in the history
- added two that need to be provided that are compile in usage.  This is now required upon backport to maven plugin plugin that throws warnings to the same.  These specific libraries ship with maven and therefore are not needed to repeat.  This keeps m2 repository cleaner.
  • Loading branch information
hazendaz authored and mathieucarbou committed Mar 21, 2022
1 parent 511e44a commit 6be109a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions license-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,22 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
<artifactId>maven-artifact</artifactId>
<version>3.8.5</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.8.5</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
Expand Down

0 comments on commit 6be109a

Please sign in to comment.