2019-04-04 14:56:16 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-10-07 10:41:29 -04:00
|
|
|
<!--
|
2016-05-28 07:28:23 -04:00
|
|
|
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.
|
2015-10-07 10:41:29 -04:00
|
|
|
-->
|
2019-11-07 10:16:39 -05:00
|
|
|
<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">
|
2014-10-12 08:52:30 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
2024-07-09 16:17:18 -04:00
|
|
|
<version>43</version>
|
2022-12-23 14:03:44 -05:00
|
|
|
<relativePath />
|
2014-10-12 08:52:30 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>maven</artifactId>
|
2024-11-25 05:57:49 -05:00
|
|
|
<version>4.0.0-rc-2-SNAPSHOT</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>Apache Maven</name>
|
|
|
|
<description>Maven is a software build management and
|
|
|
|
comprehension tool. Based on the concept of a project object model:
|
|
|
|
builds, dependency management, documentation creation, site
|
|
|
|
publication, and distribution publication are all controlled from
|
|
|
|
the declarative file. Maven can be extended by plugins to utilise a
|
|
|
|
number of other development tools for reporting or the build
|
|
|
|
process.</description>
|
2016-05-28 07:28:23 -04:00
|
|
|
<url>https://maven.apache.org/ref/${project.version}/</url>
|
2014-10-12 08:52:30 -04:00
|
|
|
<inceptionYear>2001</inceptionYear>
|
|
|
|
|
|
|
|
<contributors>
|
|
|
|
<contributor>
|
|
|
|
<name>Stuart McCulloch</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Christian Schulte (MNG-2199)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Christopher Tubbs (MNG-4226)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Konstantin Perikov (MNG-4565)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Sébastian Le Merdy (MNG-5613)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Mark Ingram (MNG-5639)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Phil Pratt-Szeliga (MNG-5645)</name>
|
|
|
|
</contributor>
|
2015-09-11 18:52:23 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Florencia Tarditti (PR 41)</name>
|
|
|
|
</contributor>
|
2015-09-11 18:54:36 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Anton Tanasenko</name>
|
|
|
|
</contributor>
|
2015-06-17 11:19:46 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Joseph Walton (MNG-5297)</name>
|
|
|
|
</contributor>
|
2018-11-15 22:13:12 -05:00
|
|
|
<contributor>
|
|
|
|
<name>Fabiano Cipriano de Oliveira (MNG-6261)</name>
|
|
|
|
</contributor>
|
2019-06-08 04:43:12 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Mike Mol (MNG-6665)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
2020-04-14 16:04:55 -04:00
|
|
|
<name>Martin Kanters</name>
|
2021-12-01 04:11:48 -05:00
|
|
|
<organization>JPoint</organization>
|
2020-04-14 16:04:55 -04:00
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Maarten Mulders</name>
|
|
|
|
<organization>Info Support</organization>
|
2019-12-27 04:56:55 -05:00
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Luc Klaassen (MNG-6065)</name>
|
|
|
|
</contributor>
|
|
|
|
<contributor>
|
|
|
|
<name>Wouter Aarts (MNG-6065)</name>
|
2019-06-08 04:43:12 -04:00
|
|
|
</contributor>
|
2021-10-09 09:56:48 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Arturo Bernal</name>
|
|
|
|
</contributor>
|
2014-10-12 08:52:30 -04:00
|
|
|
</contributors>
|
|
|
|
|
|
|
|
<modules>
|
2024-02-18 15:14:00 -05:00
|
|
|
<module>api</module>
|
2024-10-25 08:31:46 -04:00
|
|
|
<module>impl</module>
|
|
|
|
<module>compat</module>
|
|
|
|
<module>apache-maven</module>
|
2014-10-12 08:52:30 -04:00
|
|
|
</modules>
|
2022-11-22 05:21:12 -05:00
|
|
|
|
|
|
|
<scm>
|
2018-03-18 09:53:06 -04:00
|
|
|
<connection>scm:git:https://gitbox.apache.org/repos/asf/maven.git</connection>
|
|
|
|
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven.git</developerConnection>
|
2024-11-25 05:57:24 -05:00
|
|
|
<tag>maven-4.0.0-rc-1</tag>
|
2014-10-12 08:52:30 -04:00
|
|
|
<url>https://github.com/apache/maven/tree/${project.scm.tag}</url>
|
2022-11-22 05:21:12 -05:00
|
|
|
</scm>
|
2014-10-12 08:52:30 -04:00
|
|
|
<issueManagement>
|
|
|
|
<system>jira</system>
|
2015-04-05 18:45:30 -04:00
|
|
|
<url>https://issues.apache.org/jira/browse/MNG</url>
|
2014-10-12 08:52:30 -04:00
|
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
|
|
<system>Jenkins</system>
|
2021-07-26 09:48:10 -04:00
|
|
|
<url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/</url>
|
2014-10-12 08:52:30 -04:00
|
|
|
</ciManagement>
|
|
|
|
<distributionManagement>
|
2022-11-22 05:21:12 -05:00
|
|
|
<site>
|
2014-10-12 08:52:30 -04:00
|
|
|
<id>apache.website</id>
|
2018-06-18 18:38:13 -04:00
|
|
|
<url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url>
|
2022-11-22 05:21:12 -05:00
|
|
|
</site>
|
2016-05-28 07:28:23 -04:00
|
|
|
<downloadUrl>https://maven.apache.org/download.html</downloadUrl>
|
2014-10-12 08:52:30 -04:00
|
|
|
</distributionManagement>
|
2022-11-22 05:21:12 -05:00
|
|
|
|
2014-10-12 08:52:30 -04:00
|
|
|
<properties>
|
2024-03-03 16:28:30 -05:00
|
|
|
<javaVersion>17</javaVersion>
|
|
|
|
<maven.compiler.source>${javaVersion}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${javaVersion}</maven.compiler.target>
|
|
|
|
<maven.compiler.release>${javaVersion}</maven.compiler.release>
|
2024-09-10 13:18:47 -04:00
|
|
|
<maven.compiler.proc>full</maven.compiler.proc>
|
2023-11-17 10:31:11 -05:00
|
|
|
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
|
2023-12-13 10:20:22 -05:00
|
|
|
<maven.baseline>3.8.8</maven.baseline>
|
2023-11-17 10:31:11 -05:00
|
|
|
<!-- Control the name of the distribution and information output by mvn -->
|
|
|
|
<distributionId>apache-maven</distributionId>
|
|
|
|
<distributionShortName>Maven</distributionShortName>
|
|
|
|
<distributionName>Apache Maven</distributionName>
|
|
|
|
<maven.site.path>ref/4-LATEST</maven.site.path>
|
2024-11-25 05:57:49 -05:00
|
|
|
<project.build.outputTimestamp>2024-11-25T10:57:49Z</project.build.outputTimestamp>
|
2023-11-17 10:31:11 -05:00
|
|
|
<!-- various versions -->
|
2024-08-16 04:29:39 -04:00
|
|
|
<assertjVersion>3.26.3</assertjVersion>
|
2024-10-07 03:31:06 -04:00
|
|
|
<asmVersion>9.7.1</asmVersion>
|
2024-11-05 09:47:03 -05:00
|
|
|
<byteBuddyVersion>1.15.10</byteBuddyVersion>
|
2024-05-21 02:10:18 -04:00
|
|
|
<classWorldsVersion>2.8.0</classWorldsVersion>
|
2024-08-15 09:39:50 -04:00
|
|
|
<commonsCliVersion>1.9.0</commonsCliVersion>
|
2023-12-05 03:11:33 -05:00
|
|
|
<guiceVersion>6.0.0</guiceVersion>
|
2024-09-30 15:28:56 -04:00
|
|
|
<guavaVersion>33.3.1-jre</guavaVersion>
|
2021-01-05 17:00:26 -05:00
|
|
|
<guavafailureaccessVersion>1.0.1</guavafailureaccessVersion>
|
2024-08-09 16:04:02 -04:00
|
|
|
<hamcrestVersion>3.0</hamcrestVersion>
|
2024-10-17 23:17:31 -04:00
|
|
|
<jakartaInjectApiVersion>2.0.1</jakartaInjectApiVersion>
|
2023-11-17 10:31:11 -05:00
|
|
|
<javaxAnnotationApiVersion>1.3.2</javaxAnnotationApiVersion>
|
2024-10-16 10:17:17 -04:00
|
|
|
<jlineVersion>3.27.1</jlineVersion>
|
2024-10-24 07:58:07 -04:00
|
|
|
<junitVersion>5.11.3</junitVersion>
|
2014-10-12 08:52:30 -04:00
|
|
|
<jxpathVersion>1.3</jxpathVersion>
|
2024-11-05 09:48:04 -05:00
|
|
|
<logbackClassicVersion>1.5.12</logbackClassicVersion>
|
2024-10-16 10:16:18 -04:00
|
|
|
<mockitoVersion>5.14.2</mockitoVersion>
|
2024-05-03 10:22:08 -04:00
|
|
|
<plexusInteractivityVersion>1.3</plexusInteractivityVersion>
|
2024-05-21 02:10:32 -04:00
|
|
|
<plexusInterpolationVersion>1.27</plexusInterpolationVersion>
|
2024-07-06 00:24:25 -04:00
|
|
|
<plexusTestingVersion>1.4.0</plexusTestingVersion>
|
2024-05-22 10:02:39 -04:00
|
|
|
<plexusXmlVersion>4.0.4</plexusXmlVersion>
|
2024-11-18 05:30:10 -05:00
|
|
|
<resolverVersion>2.0.4</resolverVersion>
|
2024-11-16 08:55:43 -05:00
|
|
|
<securityDispatcherVersion>4.0.2</securityDispatcherVersion>
|
2024-06-04 02:45:16 -04:00
|
|
|
<sisuVersion>0.9.0.M3</sisuVersion>
|
2024-08-12 11:27:24 -04:00
|
|
|
<slf4jVersion>2.0.16</slf4jVersion>
|
2024-07-02 05:20:42 -04:00
|
|
|
<stax2ApiVersion>4.2.2</stax2ApiVersion>
|
2023-11-17 10:31:11 -05:00
|
|
|
<wagonVersion>3.5.3</wagonVersion>
|
2024-10-24 07:59:55 -04:00
|
|
|
<woodstoxVersion>7.1.0</woodstoxVersion>
|
2024-05-13 05:53:15 -04:00
|
|
|
<xmlunitVersion>2.10.0</xmlunitVersion>
|
2014-10-12 08:52:30 -04:00
|
|
|
</properties>
|
2022-11-22 05:21:12 -05:00
|
|
|
|
2014-10-12 08:52:30 -04:00
|
|
|
<!--bootstrap-start-comment-->
|
|
|
|
<dependencyManagement>
|
|
|
|
<!--bootstrap-end-comment-->
|
|
|
|
<dependencies>
|
|
|
|
<!-- Maven Modules -->
|
|
|
|
<!--bootstrap-start-comment-->
|
2021-01-15 09:07:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2024-01-12 03:09:46 -05:00
|
|
|
<artifactId>maven-artifact</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-builder-support</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
2024-02-28 18:31:59 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-jline</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-02-28 18:31:59 -05:00
|
|
|
</dependency>
|
2024-10-15 09:30:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-logging</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-10-15 09:30:39 -04:00
|
|
|
</dependency>
|
2024-01-12 03:09:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
2024-03-25 06:50:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2024-10-25 08:31:46 -04:00
|
|
|
<artifactId>maven-impl</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-03-25 06:50:01 -04:00
|
|
|
</dependency>
|
2024-01-12 03:09:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-embedder</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
[MNG-8283] Maven CLIng (#1750)
New CLI for Maven. Goals are reusability, extensibility and easier embeddability (a la mvnd). If you build this branch, you will end up with Maven distro that uses "new" `maven-cli:org.apache.maven.cling.MavenCling` class as entry point instead of "old" `maven-embedder:org.apache.maven.cli.MavenCli`.
First step is to make "pretty much equivalent" capable CLI as compared to "old", with some exceptions:
* "encryption" ops are gone, those should be in separate tool anyway
* "deprecated and unsupported" CLI options like `-llr` present ONLY to make Maven fail are gone (now Arg parser will fail).
Current state of affairs is messy, MavenCli mixes everything it can, contains interleaved logic for bootstrapping, arg parsing, default logic and executing Maven. First goal is to clean this up.
Commons CLI are also hidden in this PR, so is ClassWorlds. This basically opens up way to have "alternative" CLI arguments parsers as well.
Currently the "local" (CLI) flow is this:
```
arg[] -> localParser -> Request -> localInvoker -> maven runs (in situ)
```
But the point is if you "come up" somehow with a Request instance, one can also do just:
```
Request -> invoker -> maven runs (somewhere)
```
Local parser:
* parses CLI args
* infers the defaults
* creates Request object that contains all information needed to run Maven
* can be reused outside of CLI as well
* does NOT fiddle with Plexus, logging, etc.
Local invoker:
* accepts Request object
* deals with configuring env (logging, etc), creating DI container, and running Maven ONLY
There are some experiments ongoing as well, like `ForkedInvoker` is, but also `MavenTool`.
---
https://issues.apache.org/jira/browse/MNG-8283
2024-10-03 12:03:55 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-cli</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
[MNG-8283] Maven CLIng (#1750)
New CLI for Maven. Goals are reusability, extensibility and easier embeddability (a la mvnd). If you build this branch, you will end up with Maven distro that uses "new" `maven-cli:org.apache.maven.cling.MavenCling` class as entry point instead of "old" `maven-embedder:org.apache.maven.cli.MavenCli`.
First step is to make "pretty much equivalent" capable CLI as compared to "old", with some exceptions:
* "encryption" ops are gone, those should be in separate tool anyway
* "deprecated and unsupported" CLI options like `-llr` present ONLY to make Maven fail are gone (now Arg parser will fail).
Current state of affairs is messy, MavenCli mixes everything it can, contains interleaved logic for bootstrapping, arg parsing, default logic and executing Maven. First goal is to clean this up.
Commons CLI are also hidden in this PR, so is ClassWorlds. This basically opens up way to have "alternative" CLI arguments parsers as well.
Currently the "local" (CLI) flow is this:
```
arg[] -> localParser -> Request -> localInvoker -> maven runs (in situ)
```
But the point is if you "come up" somehow with a Request instance, one can also do just:
```
Request -> invoker -> maven runs (somewhere)
```
Local parser:
* parses CLI args
* infers the defaults
* creates Request object that contains all information needed to run Maven
* can be reused outside of CLI as well
* does NOT fiddle with Plexus, logging, etc.
Local invoker:
* accepts Request object
* deals with configuring env (logging, etc), creating DI container, and running Maven ONLY
There are some experiments ongoing as well, like `ForkedInvoker` is, but also `MavenTool`.
---
https://issues.apache.org/jira/browse/MNG-8283
2024-10-03 12:03:55 -04:00
|
|
|
</dependency>
|
2024-01-12 03:09:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-core</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-meta</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-model</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-settings</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-spi</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-toolchain</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-plugin</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-xml</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
2024-02-05 04:45:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-di</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-02-05 04:45:47 -05:00
|
|
|
</dependency>
|
2024-04-11 10:06:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-metadata</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-04-11 10:06:34 -04:00
|
|
|
</dependency>
|
[MNG-8283] Maven CLIng (#1750)
New CLI for Maven. Goals are reusability, extensibility and easier embeddability (a la mvnd). If you build this branch, you will end up with Maven distro that uses "new" `maven-cli:org.apache.maven.cling.MavenCling` class as entry point instead of "old" `maven-embedder:org.apache.maven.cli.MavenCli`.
First step is to make "pretty much equivalent" capable CLI as compared to "old", with some exceptions:
* "encryption" ops are gone, those should be in separate tool anyway
* "deprecated and unsupported" CLI options like `-llr` present ONLY to make Maven fail are gone (now Arg parser will fail).
Current state of affairs is messy, MavenCli mixes everything it can, contains interleaved logic for bootstrapping, arg parsing, default logic and executing Maven. First goal is to clean this up.
Commons CLI are also hidden in this PR, so is ClassWorlds. This basically opens up way to have "alternative" CLI arguments parsers as well.
Currently the "local" (CLI) flow is this:
```
arg[] -> localParser -> Request -> localInvoker -> maven runs (in situ)
```
But the point is if you "come up" somehow with a Request instance, one can also do just:
```
Request -> invoker -> maven runs (somewhere)
```
Local parser:
* parses CLI args
* infers the defaults
* creates Request object that contains all information needed to run Maven
* can be reused outside of CLI as well
* does NOT fiddle with Plexus, logging, etc.
Local invoker:
* accepts Request object
* deals with configuring env (logging, etc), creating DI container, and running Maven ONLY
There are some experiments ongoing as well, like `ForkedInvoker` is, but also `MavenTool`.
---
https://issues.apache.org/jira/browse/MNG-8283
2024-10-03 12:03:55 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-api-cli</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
[MNG-8283] Maven CLIng (#1750)
New CLI for Maven. Goals are reusability, extensibility and easier embeddability (a la mvnd). If you build this branch, you will end up with Maven distro that uses "new" `maven-cli:org.apache.maven.cling.MavenCling` class as entry point instead of "old" `maven-embedder:org.apache.maven.cli.MavenCli`.
First step is to make "pretty much equivalent" capable CLI as compared to "old", with some exceptions:
* "encryption" ops are gone, those should be in separate tool anyway
* "deprecated and unsupported" CLI options like `-llr` present ONLY to make Maven fail are gone (now Arg parser will fail).
Current state of affairs is messy, MavenCli mixes everything it can, contains interleaved logic for bootstrapping, arg parsing, default logic and executing Maven. First goal is to clean this up.
Commons CLI are also hidden in this PR, so is ClassWorlds. This basically opens up way to have "alternative" CLI arguments parsers as well.
Currently the "local" (CLI) flow is this:
```
arg[] -> localParser -> Request -> localInvoker -> maven runs (in situ)
```
But the point is if you "come up" somehow with a Request instance, one can also do just:
```
Request -> invoker -> maven runs (somewhere)
```
Local parser:
* parses CLI args
* infers the defaults
* creates Request object that contains all information needed to run Maven
* can be reused outside of CLI as well
* does NOT fiddle with Plexus, logging, etc.
Local invoker:
* accepts Request object
* deals with configuring env (logging, etc), creating DI container, and running Maven ONLY
There are some experiments ongoing as well, like `ForkedInvoker` is, but also `MavenTool`.
---
https://issues.apache.org/jira/browse/MNG-8283
2024-10-03 12:03:55 -04:00
|
|
|
</dependency>
|
2024-02-05 04:45:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-di</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-02-05 04:45:47 -05:00
|
|
|
</dependency>
|
2024-01-12 03:09:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model-builder</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-repository-metadata</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-resolver-provider</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-settings</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-settings-builder</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-toolchain-model</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-toolchain-builder</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2024-01-12 03:09:46 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2024-10-25 08:31:46 -04:00
|
|
|
<artifactId>maven-xml</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-compat</artifactId>
|
2024-11-25 05:53:54 -05:00
|
|
|
<version>${project.version}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<!--bootstrap-end-comment-->
|
2023-06-04 15:03:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-xml</artifactId>
|
|
|
|
<version>${plexusXmlVersion}</version>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
2015-04-28 19:38:57 -04:00
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
2014-10-12 08:52:30 -04:00
|
|
|
<version>${guiceVersion}</version>
|
2023-09-05 17:09:03 -04:00
|
|
|
<classifier>classes</classifier>
|
2021-01-05 17:00:26 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-12-13 17:19:20 -05:00
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>${guiceVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-01-05 17:00:26 -05:00
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guavaVersion}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>listenablefuture</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.j2objc</groupId>
|
|
|
|
<artifactId>j2objc-annotations</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.checkerframework</groupId>
|
|
|
|
<artifactId>checker-qual</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.plexus</artifactId>
|
2021-09-13 11:56:54 -04:00
|
|
|
<version>${sisuVersion}</version>
|
2020-12-03 14:07:03 -05:00
|
|
|
<exclusions>
|
2023-12-13 17:19:20 -05:00
|
|
|
<!-- Detach them: We want to handle Sisu inject and plexus explicitly -->
|
|
|
|
<!-- Once have this, once have that on classpath -->
|
|
|
|
<!-- Finally, we may want to use some with classifier -->
|
2023-09-05 17:09:03 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
|
|
|
</exclusion>
|
2020-12-03 14:07:03 -05:00
|
|
|
</exclusions>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
2023-12-13 17:19:20 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>${javaxAnnotationApiVersion}</version>
|
|
|
|
</dependency>
|
2024-06-04 02:45:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
|
|
|
<version>${sisuVersion}</version>
|
|
|
|
</dependency>
|
2017-05-16 09:27:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.inject</artifactId>
|
2021-09-13 11:56:54 -04:00
|
|
|
<version>${sisuVersion}</version>
|
2023-09-05 17:09:03 -04:00
|
|
|
<classifier>no_asm</classifier>
|
|
|
|
</dependency>
|
2023-12-05 03:11:33 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.inject</groupId>
|
|
|
|
<artifactId>jakarta.inject-api</artifactId>
|
|
|
|
<version>${jakartaInjectApiVersion}</version>
|
|
|
|
</dependency>
|
2023-09-05 17:09:03 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
<version>${asmVersion}</version>
|
2017-05-16 09:27:22 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
<version>1</version>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-classworlds</artifactId>
|
|
|
|
<version>${classWorldsVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-interpolation</artifactId>
|
|
|
|
<version>${plexusInterpolationVersion}</version>
|
|
|
|
</dependency>
|
2016-06-05 07:11:45 -04:00
|
|
|
<dependency>
|
2024-01-08 05:37:09 -05:00
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-interactivity-api</artifactId>
|
|
|
|
<version>${plexusInteractivityVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
2024-09-28 14:51:07 -04:00
|
|
|
<artifactId>jline-reader</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
2024-10-14 15:57:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jline-style</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jline-builtins</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jline-console-ui</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
2024-09-28 14:51:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jline-terminal-ffm</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jline-terminal-jni</artifactId>
|
|
|
|
<version>${jlineVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jline</groupId>
|
|
|
|
<artifactId>jansi-core</artifactId>
|
2024-01-08 05:37:09 -05:00
|
|
|
<version>${jlineVersion}</version>
|
2016-06-05 07:11:45 -04:00
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${logbackClassicVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!-- Wagon -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-provider-api</artifactId>
|
|
|
|
<version>${wagonVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
|
|
|
<version>${wagonVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-http</artifactId>
|
|
|
|
<version>${wagonVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Repository -->
|
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-spi</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2024-10-18 07:48:19 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-util</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
2024-04-24 05:41:31 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-named-locks</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-connector-basic</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
2022-04-13 06:51:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-file</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
2023-12-06 09:08:35 -05:00
|
|
|
<artifactId>maven-resolver-transport-apache</artifactId>
|
2022-04-13 06:51:37 -04:00
|
|
|
<version>${resolverVersion}</version>
|
|
|
|
</dependency>
|
2023-11-07 10:06:40 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-jdk</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-wagon</artifactId>
|
|
|
|
<version>${resolverVersion}</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- Commons -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
<version>${commonsCliVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-jxpath</groupId>
|
|
|
|
<artifactId>commons-jxpath</artifactId>
|
|
|
|
<version>${jxpathVersion}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-09-10 08:33:45 -04:00
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2014-10-12 08:52:30 -04:00
|
|
|
<artifactId>plexus-sec-dispatcher</artifactId>
|
|
|
|
<version>${securityDispatcherVersion}</version>
|
|
|
|
</dependency>
|
2023-06-29 06:03:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${woodstoxVersion}</version>
|
2023-06-29 06:03:50 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>stax2-api</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${stax2ApiVersion}</version>
|
2023-06-29 06:03:50 -04:00
|
|
|
</dependency>
|
2020-06-22 15:24:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit-assertj</artifactId>
|
|
|
|
<version>${xmlunitVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-09-16 17:33:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit-core</artifactId>
|
|
|
|
<version>${xmlunitVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit-matchers</artifactId>
|
|
|
|
<version>${xmlunitVersion}</version>
|
|
|
|
<scope>test</scope>
|
2023-12-13 17:19:20 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-09-16 17:33:54 -04:00
|
|
|
</dependency>
|
2019-10-13 09:33:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
2023-12-13 17:19:20 -05:00
|
|
|
<artifactId>hamcrest</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${hamcrestVersion}</version>
|
2019-10-13 09:33:42 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2024-08-15 09:24:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertjVersion}</version>
|
|
|
|
</dependency>
|
2021-05-28 12:26:03 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-testing</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${plexusTestingVersion}</version>
|
2021-05-28 12:26:03 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-09-29 19:26:42 -04:00
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
<artifactId>junit-bom</artifactId>
|
2021-05-28 12:26:03 -04:00
|
|
|
<version>${junitVersion}</version>
|
2021-09-29 19:26:42 -04:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
2021-05-28 12:26:03 -04:00
|
|
|
</dependency>
|
2023-04-15 12:43:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-bom</artifactId>
|
|
|
|
<version>${mockitoVersion}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2023-10-16 07:25:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy</artifactId>
|
2023-11-17 10:31:11 -05:00
|
|
|
<version>${byteBuddyVersion}</version>
|
2023-10-16 07:25:27 -04:00
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependencies>
|
|
|
|
<!--bootstrap-start-comment-->
|
|
|
|
</dependencyManagement>
|
|
|
|
<!--bootstrap-end-comment-->
|
2024-04-24 05:41:31 -04:00
|
|
|
<!--
|
2014-10-12 08:52:30 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2021-01-15 09:07:06 -05:00
|
|
|
<groupId>org.junit.jupiter</groupId>
|
2023-09-23 04:47:01 -04:00
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
2014-10-12 08:52:30 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-01-15 09:07:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
2023-12-13 17:19:20 -05:00
|
|
|
<artifactId>hamcrest</artifactId>
|
2021-01-15 09:07:06 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-10-12 08:52:30 -04:00
|
|
|
</dependencies>
|
2024-04-24 05:41:31 -04:00
|
|
|
-->
|
2014-10-12 08:52:30 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2024-11-22 09:09:32 -05:00
|
|
|
<version>3.5.2</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
<configuration>
|
|
|
|
<argLine>-Xmx256m</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.modello</groupId>
|
|
|
|
<artifactId>modello-maven-plugin</artifactId>
|
2024-05-03 15:05:01 -04:00
|
|
|
<configuration>
|
|
|
|
<licenseText>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.</licenseText>
|
|
|
|
</configuration>
|
2014-10-12 08:52:30 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-05-21 13:14:54 -04:00
|
|
|
<id>modello-site-docs</id>
|
2014-10-12 08:52:30 -04:00
|
|
|
<goals>
|
|
|
|
<goal>xdoc</goal>
|
|
|
|
<goal>xsd</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-12-15 04:50:39 -05:00
|
|
|
<!-- enforce backwards compatibility -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
2024-08-21 09:23:30 -04:00
|
|
|
<version>0.23.0</version>
|
2022-12-15 04:50:39 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>cmp</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<configuration>
|
|
|
|
<parameter>
|
|
|
|
<!-- baseline is 3.8.6 for Maven 4 -->
|
2023-01-27 09:56:16 -05:00
|
|
|
<oldVersionPattern>${maven.baseline}</oldVersionPattern>
|
2022-12-15 04:50:39 -05:00
|
|
|
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
|
|
|
|
<onlyBinaryIncompatible>true</onlyBinaryIncompatible>
|
|
|
|
<!-- don't include subpackages -->
|
2023-01-27 09:56:16 -05:00
|
|
|
<includeExclusively>true</includeExclusively>
|
2022-12-15 04:50:39 -05:00
|
|
|
</parameter>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2023-06-15 09:10:27 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2024-05-21 02:11:24 -04:00
|
|
|
<version>3.6.0</version>
|
2023-06-15 09:10:27 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
2024-09-09 05:10:52 -04:00
|
|
|
<version>3.2.1</version>
|
2023-06-15 09:10:27 -04:00
|
|
|
</plugin>
|
2014-10-12 08:52:30 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-doap-plugin</artifactId>
|
2017-02-11 13:21:03 -05:00
|
|
|
<version>1.2</version>
|
2014-10-12 08:52:30 -04:00
|
|
|
<configuration>
|
|
|
|
<asfExtOptions>
|
|
|
|
<charter>The mission of the Apache Maven project is to create and maintain software
|
2014-11-23 07:00:59 -05:00
|
|
|
libraries that provide a widely-used project build tool, targeting mainly Java
|
|
|
|
development. Apache Maven promotes the use of dependencies via a
|
2024-08-27 17:13:34 -04:00
|
|
|
standardized coordinates system, binary plugins, and a standard build
|
2014-10-12 08:52:30 -04:00
|
|
|
lifecycle.</charter>
|
|
|
|
</asfExtOptions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2022-10-05 09:37:00 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>rat-check</id>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/.gitattributes</exclude>
|
|
|
|
<exclude>src/test/resources*/**</exclude>
|
|
|
|
<exclude>src/test/projects/**</exclude>
|
|
|
|
<exclude>src/test/remote-repo/**</exclude>
|
2024-10-27 18:54:49 -04:00
|
|
|
<exclude>its/**</exclude>
|
2022-10-05 09:37:00 -04:00
|
|
|
<exclude>**/*.odg</exclude>
|
2024-03-24 12:19:08 -04:00
|
|
|
<exclude>**/*.svg</exclude>
|
2022-10-05 09:37:00 -04:00
|
|
|
<exclude>.asf.yaml</exclude>
|
2024-01-29 10:27:43 -05:00
|
|
|
<exclude>.mvn/**</exclude>
|
2024-10-24 08:01:02 -04:00
|
|
|
<exclude>.jbang/**</exclude>
|
2022-10-05 09:37:00 -04:00
|
|
|
<!--
|
|
|
|
! Excluded the license files itself cause they do not have have a license of themselves.
|
|
|
|
-->
|
|
|
|
<exclude>src/main/appended-resources/licenses/EPL-1.0.txt</exclude>
|
|
|
|
<exclude>src/main/appended-resources/licenses/unrecognized-aopalliance-1.0.txt</exclude>
|
|
|
|
<exclude>src/main/appended-resources/licenses/unrecognized-javax.annotation-api-1.3.2.txt</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-10-12 08:52:30 -04:00
|
|
|
</plugin>
|
2020-04-09 19:17:25 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2021-09-10 08:33:45 -04:00
|
|
|
<id>ensure-no-sonatype-cipher-and-sec-dispatcher</id>
|
2020-04-09 19:17:25 -04:00
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<bannedDependencies>
|
|
|
|
<excludes>
|
2021-09-10 08:33:45 -04:00
|
|
|
<exclude>org.sonatype.plexus:plexus-sec-dispatcher</exclude>
|
2020-04-09 19:17:25 -04:00
|
|
|
<exclude>org.sonatype.plexus:plexus-cipher</exclude>
|
|
|
|
</excludes>
|
2021-09-10 08:33:45 -04:00
|
|
|
<message>ensure no more org.sonatype.plexus:plexus-cipher and org.sonatype.plexus:plexus-sec-dispatcher.</message>
|
2020-04-09 19:17:25 -04:00
|
|
|
</bannedDependencies>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-10-16 07:25:27 -04:00
|
|
|
<execution>
|
|
|
|
<id>enforce-bytecode-version</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2024-03-03 16:28:30 -05:00
|
|
|
<version>[17,)</version>
|
2023-10-16 07:25:27 -04:00
|
|
|
</requireJavaVersion>
|
|
|
|
<enforceBytecodeVersion>
|
2024-03-03 16:28:30 -05:00
|
|
|
<maxJdkVersion>${maven.compiler.release}</maxJdkVersion>
|
2023-10-16 07:25:27 -04:00
|
|
|
<ignoredScopes>
|
|
|
|
<ignoredScope>test</ignoredScope>
|
|
|
|
</ignoredScopes>
|
2024-01-08 05:37:09 -05:00
|
|
|
<excludes>
|
2024-09-28 14:51:07 -04:00
|
|
|
<exclude>org.jline:jline-terminal-ffm</exclude>
|
2024-01-08 05:37:09 -05:00
|
|
|
</excludes>
|
2023-10-16 07:25:27 -04:00
|
|
|
</enforceBytecodeVersion>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2020-04-09 19:17:25 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-12 08:52:30 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
2024-10-27 18:54:49 -04:00
|
|
|
<profile>
|
|
|
|
<id>graph</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>!windows</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.fusesource.mvnplugins</groupId>
|
|
|
|
<artifactId>maven-graph-plugin</artifactId>
|
|
|
|
<version>1.45</version>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>graph</id>
|
|
|
|
<goals>
|
|
|
|
<goal>reactor</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<configuration>
|
|
|
|
<hideVersion>true</hideVersion>
|
|
|
|
<hideGroupId>true</hideGroupId>
|
|
|
|
<hideScopes>test</hideScopes>
|
|
|
|
<hideTransitive>true</hideTransitive>
|
|
|
|
<keepDot>true</keepDot>
|
|
|
|
<target>${project.build.directory}/graph/reactor-graph.dot</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>dev.jbang</groupId>
|
|
|
|
<artifactId>jbang-maven-plugin</artifactId>
|
|
|
|
<version>0.0.8</version>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>graph</id>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<configuration>
|
|
|
|
<script>${project.basedir}/src/graph/ReactorGraph.java</script>
|
|
|
|
<jbangargs>
|
|
|
|
<arg>--verbose</arg>
|
|
|
|
</jbangargs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-10-12 08:52:30 -04:00
|
|
|
<profile>
|
|
|
|
<id>apache-release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2020-05-22 15:06:46 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2014-10-12 08:52:30 -04:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>source-release-assembly</id>
|
|
|
|
<configuration>
|
|
|
|
<!-- we have a dedicated distribution module -->
|
|
|
|
<skipAssembly>true</skipAssembly>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>reporting</id>
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
2017-02-11 19:10:50 -05:00
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<name>provisional</name>
|
|
|
|
<placement>tf</placement>
|
|
|
|
<head>Provisional:</head>
|
|
|
|
</tag>
|
|
|
|
</tags>
|
2024-03-24 16:55:51 -04:00
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Core</title>
|
|
|
|
<packages>org.apache.maven.api*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Plugin</title>
|
|
|
|
<packages>org.apache.maven.api.plugin.descriptor*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Model</title>
|
|
|
|
<packages>org.apache.maven.api.model</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Settings</title>
|
|
|
|
<packages>org.apache.maven.api.settings</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Toolchain</title>
|
|
|
|
<packages>org.apache.maven.api.toolchain</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Meta</title>
|
|
|
|
<packages>org.apache.maven.api.annotations</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - DI</title>
|
|
|
|
<packages>org.apache.maven.api.di</packages>
|
2024-04-29 02:09:28 -04:00
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - Metadata</title>
|
|
|
|
<packages>org.apache.maven.api.metadata</packages>
|
2024-03-24 16:55:51 -04:00
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - SPI</title>
|
|
|
|
<packages>org.apache.maven.api.spi</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Maven 4 API - XML</title>
|
|
|
|
<packages>org.apache.maven.api.xml</packages>
|
|
|
|
</group>
|
|
|
|
</groups>
|
2014-10-12 08:52:30 -04:00
|
|
|
</configuration>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>aggregate</id>
|
|
|
|
<reports>
|
|
|
|
<report>aggregate</report>
|
|
|
|
</reports>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>aggregate</id>
|
|
|
|
<reports>
|
|
|
|
<report>aggregate</report>
|
|
|
|
</reports>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>maven-repo-local</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>maven.repo.local</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-11-13 06:26:04 -05:00
|
|
|
<systemPropertyVariables combine.children="append">
|
2014-10-12 08:52:30 -04:00
|
|
|
<property>
|
|
|
|
<!-- Pass this through to the tests (if set!) to have them pick the right repository -->
|
|
|
|
<name>maven.repo.local</name>
|
|
|
|
<value>${maven.repo.local}</value>
|
|
|
|
</property>
|
2023-11-13 06:26:04 -05:00
|
|
|
</systemPropertyVariables>
|
2014-10-12 08:52:30 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2024-10-27 18:54:49 -04:00
|
|
|
<profile>
|
|
|
|
<id>run-its</id>
|
|
|
|
<modules>
|
|
|
|
<module>its</module>
|
|
|
|
</modules>
|
|
|
|
<properties>
|
|
|
|
<mavenDistro>${session.rootDirectory}/apache-maven/target/apache-maven-${project.version}-bin.zip</mavenDistro>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-10-12 08:52:30 -04:00
|
|
|
</profiles>
|
|
|
|
</project>
|