mirror of https://github.com/apache/maven.git
358 lines
15 KiB
XML
358 lines
15 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven</artifactId>
|
|
<version>4.0.0-rc-2-SNAPSHOT</version>
|
|
|
|
<relativePath>../../</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
<name>Maven 4 Core</name>
|
|
<description>Maven Core classes.</description>
|
|
|
|
<dependencies>
|
|
<!-- Maven -->
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-di</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-model</artifactId>
|
|
</dependency>
|
|
<!-- Remove the following two deps to see how to remove Settings from the core -->
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-settings</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-settings-builder</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-toolchain-model</artifactId>
|
|
</dependency>
|
|
<!-- Used for Javadoc in a deprecated class only -->
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-toolchain-builder</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-repository-metadata</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-artifact</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-model-builder</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-api-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-api-spi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-jline</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-logging</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-spi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-util</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-classworlds</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>org.eclipse.sisu.plexus</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Test -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-jxpath</groupId>
|
|
<artifactId>commons-jxpath</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xmlunit</groupId>
|
|
<artifactId>xmlunit-assertj</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-testing</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>${mockitoVersion}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes combine.children="append">
|
|
<exclude>lifecycle-executor.txt</exclude>
|
|
<exclude>plugin-manager.txt</exclude>
|
|
<exclude>project-builder.txt</exclude>
|
|
<exclude>src/site/resources/design/**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
<artifactId>sisu-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.modello</groupId>
|
|
<artifactId>modello-maven-plugin</artifactId>
|
|
<configuration>
|
|
<version>1.1.0</version>
|
|
<!-- This is a required attribute and is intentionally left empty -->
|
|
<models />
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<!-- This step is required to generate xdoc, and does not generate java code -->
|
|
<id>modello-site-doc</id>
|
|
<goals>
|
|
<goal>xdoc</goal>
|
|
</goals>
|
|
<phase>pre-site</phase>
|
|
<configuration>
|
|
<version>1.0.0</version>
|
|
<models>
|
|
<model>src/main/mdo/extension.mdo</model>
|
|
</models>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-buildnumber</id>
|
|
<goals>
|
|
<goal>create</goal>
|
|
</goals>
|
|
<configuration>
|
|
<doCheck>false</doCheck>
|
|
<doUpdate>false</doUpdate>
|
|
<revisionOnScmFailure>NON_CANONICAL</revisionOnScmFailure>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<!-- <phase></phase> -->
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
|
<configuration>
|
|
<parameter>
|
|
<includes>
|
|
<include>org.apache.maven.artifact</include>
|
|
<include>org.apache.maven.classrealm</include>
|
|
<include>org.apache.maven.cli</include>
|
|
<include>org.apache.maven.configuration</include>
|
|
<include>org.apache.maven.exception</include>
|
|
<include>org.apache.maven.execution</include>
|
|
<include>org.apache.maven.execution.scope</include>
|
|
<include>org.apache.maven.feature</include>
|
|
<include>org.apache.maven.graph</include>
|
|
<include>org.apache.maven.lifecycle</include>
|
|
<include>org.apache.maven.model</include>
|
|
<include>org.apache.maven.monitor</include>
|
|
<include>org.apache.maven.plugin</include>
|
|
<include>org.apache.maven.profiles</include>
|
|
<include>org.apache.maven.project</include>
|
|
<include>org.apache.maven.reporting</include>
|
|
<include>org.apache.maven.repository</include>
|
|
<include>org.apache.maven.rtinfo</include>
|
|
<include>org.apache.maven.rtinfo.internal</include>
|
|
<include>org.apache.maven.settings</include>
|
|
<include>org.apache.maven.toolchain</include>
|
|
<include>org.apache.maven.usability</include>
|
|
</includes>
|
|
<!-- allowed non-binary backwards compatible changes -->
|
|
<excludes>
|
|
<!-- START default constructor on Plexus/JSR 330 components -->
|
|
<exclude>org.apache.maven.lifecycle.DefaultLifecycleExecutor#DefaultLifecycleExecutor()</exclude>
|
|
<exclude>org.apache.maven.plugin.DefaultBuildPluginManager#DefaultBuildPluginManager()</exclude>
|
|
<exclude>org.apache.maven.project.DefaultMavenProjectHelper#DefaultMavenProjectHelper()</exclude>
|
|
<exclude>org.apache.maven.project.DefaultProjectBuilder#DefaultProjectBuilder()</exclude>
|
|
<exclude>org.apache.maven.project.DefaultProjectBuildingHelper#DefaultProjectBuildingHelper()</exclude>
|
|
<exclude>org.apache.maven.project.DefaultProjectDependenciesResolver#DefaultProjectDependenciesResolver()</exclude>
|
|
<exclude>org.apache.maven.rtinfo.internal.DefaultRuntimeInformation#DefaultRuntimeInformation()</exclude>
|
|
<exclude>org.apache.maven.settings.DefaultMavenSettingsBuilder#DefaultMavenSettingsBuilder()</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchainManager#DefaultToolchainManager():CONSTRUCTOR_REMOVED</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchainManagerPrivate#DefaultToolchainManagerPrivate()</exclude>
|
|
<!-- END default constructor on Plexus/JSR 330 components -->
|
|
<!-- system property with that name no longer evaluated -->
|
|
<exclude>org.apache.maven.project.DefaultProjectBuilder#DISABLE_GLOBAL_MODEL_CACHE_SYSTEM_PROPERTY</exclude>
|
|
<exclude>org.apache.maven.project.DefaultModelBuildingListener</exclude>
|
|
<exclude>org.apache.maven.project.ProjectModelResolver#ProjectModelResolver(org.eclipse.aether.RepositorySystemSession,org.eclipse.aether.RequestTrace,org.eclipse.aether.RepositorySystem,org.eclipse.aether.impl.RemoteRepositoryManager,java.util.List,org.apache.maven.project.ProjectBuildingRequest$RepositoryMerging,org.apache.maven.project.ReactorModelPool):CONSTRUCTOR_REMOVED</exclude>
|
|
<!-- was only a workaround for Plexus Container, hopefully never used by anyone else -->
|
|
<exclude>org.apache.maven.plugin.DefaultBuildPluginManager#setMojoExecutionListeners(java.util.List)</exclude>
|
|
<!-- could have never been used due to usage of non-export class (CoreExportsProvider) -->
|
|
<exclude>org.apache.maven.classrealm.DefaultClassRealmManager#DefaultClassRealmManager(org.codehaus.plexus.logging.Logger,org.codehaus.plexus.PlexusContainer,java.util.List,org.apache.maven.extension.internal.CoreExports)</exclude>
|
|
<!-- internal field removed -->
|
|
<exclude>org.apache.maven.graph.DefaultGraphBuilder#projectBuilder</exclude>
|
|
<!-- MavenPluginValidator has been transformed into an interface -->
|
|
<exclude>org.apache.maven.plugin.MavenPluginValidator</exclude>
|
|
<!-- Remove plexus logger -->
|
|
<exclude>org.apache.maven.plugin.PluginParameterExpressionEvaluator#PluginParameterExpressionEvaluator(org.apache.maven.execution.MavenSession,org.apache.maven.plugin.MojoExecution,org.apache.maven.project.path.PathTranslator,org.codehaus.plexus.logging.Logger,org.apache.maven.project.MavenProject,java.util.Properties):CONSTRUCTOR_REMOVED</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchain#getLog():METHOD_RETURN_TYPE_CHANGED</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,java.lang.String,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchainManager#logger</exclude>
|
|
<!-- Remove plexus utils -->
|
|
<exclude>org.apache.maven.project.ProjectSorter#getDAG():METHOD_REMOVED</exclude>
|
|
<!-- classes moved to maven-compat -->
|
|
<exclude>org.apache.maven.plugin.PluginManager</exclude>
|
|
<exclude>org.apache.maven.repository.ArtifactDoesNotExistException</exclude>
|
|
<exclude>org.apache.maven.repository.ArtifactTransferEvent</exclude>
|
|
<exclude>org.apache.maven.repository.ArtifactTransferFailedException</exclude>
|
|
<exclude>org.apache.maven.repository.ArtifactTransferListener</exclude>
|
|
<exclude>org.apache.maven.repository.ArtifactTransferResource</exclude>
|
|
<exclude>org.apache.maven.repository.DelegatingLocalArtifactRepository</exclude>
|
|
<exclude>org.apache.maven.repository.LocalArtifactRepository</exclude>
|
|
<exclude>org.apache.maven.repository.LocalRepositoryNotAccessibleException</exclude>
|
|
<exclude>org.apache.maven.repository.RepositorySystem</exclude>
|
|
<exclude>org.apache.maven.settings.DefaultMavenSettingsBuilder</exclude>
|
|
<exclude>org.apache.maven.settings.MavenSettingsBuilder</exclude>
|
|
<exclude>org.apache.maven.toolchain.DefaultToolchainsBuilder</exclude>
|
|
<exclude>org.apache.maven.toolchain.ToolchainsBuilder</exclude>
|
|
</excludes>
|
|
</parameter>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|