Skip to content

Commit

Permalink
Dependency cleanup
Browse files Browse the repository at this point in the history
Maven core artifact can be in provided scope
Group dependency by source and usage
  • Loading branch information
slawekjaranowski committed Jun 26, 2022
1 parent a4595e6 commit 7cce34b
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,31 +73,49 @@
</dependencyManagement>

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

<!-- Maven core -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- used by AbstractResolveDependencies -->
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>

<!-- Maven shared -->
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-dependency-tree</artifactId>
<version>3.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-common-artifact-filters</artifactId>
<version>3.3.0</version>
</dependency>

<!-- other commons -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
</dependency>

<!-- testing support -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -110,11 +128,6 @@
<version>4.6.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-common-artifact-filters</artifactId>
<version>3.3.0</version>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 7cce34b

Please sign in to comment.