| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugins</artifactId> |
| <version>42</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.7.0-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Maven Dependency Plugin</name> |
| <description>Provides utility goals to work with dependencies like copying, unpacking, analyzing, resolving and many more.</description> |
| |
| <contributors> |
| <contributor> |
| <name>Bakito</name> |
| </contributor> |
| <contributor> |
| <name>Baptiste MATHUS</name> |
| </contributor> |
| <contributor> |
| <name>Kalle Korhonen</name> |
| </contributor> |
| <contributor> |
| <name>Ryan Heinen</name> |
| </contributor> |
| <contributor> |
| <name>Andreas Kuhtz</name> |
| </contributor> |
| <contributor> |
| <name>Holger Mense</name> |
| </contributor> |
| <contributor> |
| <name>Markus Karg</name> |
| </contributor> |
| <contributor> |
| <name>Maarten Mulders</name> |
| </contributor> |
| </contributors> |
| |
| <prerequisites> |
| <maven>${mavenVersion}</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git</developerConnection> |
| <tag>maven-dependency-plugin-3.5.0</tag> |
| <url>https://github.com/apache/maven-dependency-plugin/tree/${project.scm.tag}</url> |
| </scm> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/MDEP</url> |
| </issueManagement> |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dependency-plugin/</url> |
| </ciManagement> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <mavenVersion>3.6.3</mavenVersion> |
| <jettyVersion>9.4.54.v20240208</jettyVersion> |
| <pluginTestingVersion>3.3.0</pluginTestingVersion> |
| <resolverVersion>1.4.1</resolverVersion> |
| <javaVersion>8</javaVersion> |
| <project.build.outputTimestamp>2023-10-20T21:21:50Z</project.build.outputTimestamp> |
| <slf4j.version>1.7.36</slf4j.version> |
| <plexus-archiver.version>4.9.2</plexus-archiver.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- override the version from maven-reporting-impl --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-text</artifactId> |
| <version>1.12.0</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <!-- maven --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-repository-metadata</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-settings</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-resolver-provider</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- reporting --> |
| <dependency> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-sink-api</artifactId> |
| <version>1.12.0</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.reporting</groupId> |
| <artifactId>maven-reporting-api</artifactId> |
| <version>3.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.reporting</groupId> |
| <artifactId>maven-reporting-impl</artifactId> |
| <version>3.2.0</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.16.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- plexus --> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-archiver</artifactId> |
| <version>${plexus-archiver.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-xml</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-io</artifactId> |
| <version>3.4.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-i18n</artifactId> |
| <version>1.0-beta-10</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- shared --> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-dependency-analyzer</artifactId> |
| <version>1.13.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-dependency-tree</artifactId> |
| <version>3.2.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-util</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-common-artifact-filters</artifactId> |
| <version>3.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-artifact-transfer</artifactId> |
| <version>0.13.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-utils</artifactId> |
| <version>3.4.2</version> |
| </dependency> |
| |
| <!-- dependencies to annotations --> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-api</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-util</artifactId> |
| <version>${resolverVersion}</version> |
| </dependency> |
| <!-- IDE build support (https://github.com/codehaus-plexus/plexus-build-api) --> |
| <dependency> |
| <groupId>org.sonatype.plexus</groupId> |
| <artifactId>plexus-build-api</artifactId> |
| <version>0.0.7</version> |
| <!-- stick with old GAV until https://github.com/eclipse-m2e/m2e-core/issues/944 is fixed --> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-connector-basic</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-file</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-http</artifactId> |
| <version>${resolverVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-testing</groupId> |
| <artifactId>maven-plugin-testing-harness</artifactId> |
| <version>${pluginTestingVersion}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>4.11.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.25.3</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Remove once deprecated code has been replaced/removed --> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-compat</artifactId> |
| <version>${mavenVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <!-- |
| These files contain results for integration tests which can't contain license header |
| otherwise the IT's will fail. |
| --> |
| <exclude>src/it/projects/tree/expected.txt</exclude> |
| <exclude>src/it/projects/tree-includes/expected.txt</exclude> |
| <exclude>src/it/projects/tree-multimodule/expected.txt</exclude> |
| <exclude>src/it/projects/tree-multimodule/module-a/expected.txt</exclude> |
| <exclude>src/it/projects/tree-multimodule/module-b/expected.txt</exclude> |
| <exclude>src/it/projects/tree-verbose-multimodule/expected.txt</exclude> |
| <exclude>src/it/projects/tree-verbose-multimodule/module-a/expected.txt</exclude> |
| <exclude>src/it/projects/tree-verbose-multimodule/module-b/expected.txt</exclude> |
| <exclude>src/it/projects/tree-verbose/expected*.txt</exclude> |
| <exclude>src/it/projects/tree-verbose-small/expected.txt</exclude> |
| <!-- These files contain expected versions for unit tests --> |
| <exclude>src/test/resources/unit/verbose-serializer-test/*</exclude> |
| <!-- |
| These files contain real repository artifacts. |
| --> |
| <exclude>src/test/resources/unit/get-test/repository/test/test/1.0/test-1.0.jar.sha1</exclude> |
| <exclude>src/test/resources/unit/get-test/repository/test/test/1.0/test-1.0.pom.sha1</exclude> |
| <!-- |
| Files with test data. |
| --> |
| <exclude>src/test/resources/unit/list-test/testListClasses*.txt</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!-- Need more heap space in order to run the unit tests !--> |
| <argLine>-Xmx512m</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.sisu</groupId> |
| <artifactId>sisu-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <goals> |
| <goal>clean</goal> |
| <goal>process-sources</goal> |
| </goals> |
| <projectsDirectory>src/it/projects</projectsDirectory> |
| <pomExcludes> |
| <pomExclude>purge-local-repository-bad-pom/pom.xml</pomExclude> |
| </pomExcludes> |
| <pomIncludes> |
| <pomInclude>*/pom.xml</pomInclude> |
| <pomInclude>purge-local-repository-without-pom</pomInclude> |
| </pomIncludes> |
| <!-- for mrm --> |
| <settingsFile>src/it/mrm/settings.xml</settingsFile> |
| <filterProperties> |
| <compilerPluginVersion>3.11.0</compilerPluginVersion> |
| </filterProperties> |
| </configuration> |
| <dependencies> |
| <!-- dependencies used only in verification scripts --> |
| <dependency> |
| <groupId>org.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| <version>1.17.2</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>mrm-maven-plugin</artifactId> |
| <version>1.6.0</version> |
| <configuration> |
| <propertyName>repository.proxy.url</propertyName> |
| <repositories> |
| <mockRepo> |
| <source>src/it/mrm/repository</source> |
| <cloneTo>${project.build.directory}/mock-repo</cloneTo> |
| </mockRepo> |
| <localRepo> |
| <source>${project.build.directory}/local-repo</source> |
| </localRepo> |
| <proxyRepo /> |
| </repositories> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>start</goal> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |