This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MASSEMBLY-985 in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git
commit 922e291557408967a70ad59486b16d4cf9e9b2b8 Author: Slawomir Jaranowski <[email protected]> AuthorDate: Sat Apr 22 19:34:20 2023 +0200 [MASSEMBLY-985] Cleanup declared dependencies --- pom.xml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 5284e61c..c3042a85 100644 --- a/pom.xml +++ b/pom.xml @@ -107,9 +107,10 @@ under the License. <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - <version>${mavenVersion}</version> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-api</artifactId> + <!-- the same version as in Maven 3.2.5 --> + <version>1.0.0.v20140518</version> <scope>provided</scope> </dependency> <dependency> @@ -187,10 +188,17 @@ under the License. <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> + <exclusions> + <exclusion> + <!-- exclude old version with different artifactId --> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.hamcrest</groupId> - <artifactId>hamcrest-core</artifactId> + <artifactId>hamcrest</artifactId> <version>2.2</version> <scope>test</scope> </dependency> @@ -201,19 +209,6 @@ under the License. <version>${slf4jVersion}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-aether-provider</artifactId> - <version>${mavenVersion}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.maven.plugin-testing</groupId> - <artifactId>maven-plugin-testing-harness</artifactId> - <version>3.3.0</version> - <scope>test</scope> - </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId>
