2008-04-16 00:57:15 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-04-22 19:04:06 -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.
|
|
|
|
-->
|
2009-04-22 19:04:06 -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">
|
2008-04-16 00:57:15 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2009-04-22 19:04:06 -04:00
|
|
|
|
2008-04-16 00:57:15 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2009-04-22 19:04:06 -04:00
|
|
|
<artifactId>maven</artifactId>
|
2019-11-19 14:17:36 -05:00
|
|
|
<version>3.7.0-SNAPSHOT</version>
|
2008-04-16 00:57:15 -04:00
|
|
|
</parent>
|
2010-05-30 13:52:23 -04:00
|
|
|
|
2009-01-12 12:18:11 -05:00
|
|
|
<artifactId>apache-maven</artifactId>
|
2009-11-12 18:42:20 -05:00
|
|
|
<packaging>pom</packaging>
|
2010-05-30 13:52:23 -04:00
|
|
|
|
2013-07-01 16:28:28 -04:00
|
|
|
<name>Apache Maven Distribution</name>
|
2013-07-02 11:17:38 -04:00
|
|
|
<description>The Apache Maven distribution, source and binary, in zip and tar.gz formats.</description>
|
2010-05-30 13:52:23 -04:00
|
|
|
|
2011-07-28 12:46:23 -04:00
|
|
|
<properties>
|
2011-09-07 07:39:32 -04:00
|
|
|
<distributionFileName>${distributionId}-${project.version}</distributionFileName>
|
2011-07-28 12:46:23 -04:00
|
|
|
</properties>
|
|
|
|
|
2008-04-16 00:57:15 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-embedder</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
</dependency>
|
2008-09-28 12:21:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-compat</artifactId>
|
|
|
|
</dependency>
|
2008-04-16 00:57:15 -04:00
|
|
|
<dependency>
|
2013-03-12 21:11:34 -04:00
|
|
|
<groupId>org.eclipse.sisu</groupId>
|
|
|
|
<artifactId>org.eclipse.sisu.plexus</artifactId>
|
2008-04-16 00:57:15 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- CLI -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
2011-09-19 04:37:25 -04:00
|
|
|
<artifactId>wagon-http</artifactId>
|
|
|
|
<classifier>shaded</classifier>
|
|
|
|
<exclusions>
|
2011-11-24 13:27:51 -05:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
</exclusion>
|
2017-01-31 10:14:31 -05:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-http-shared</artifactId>
|
|
|
|
</exclusion>
|
2011-09-19 04:37:25 -04:00
|
|
|
</exclusions>
|
2008-04-16 00:57:15 -04:00
|
|
|
</dependency>
|
2020-01-22 03:25:24 -05:00
|
|
|
<!-- This is included in Wagon HTTP.
|
|
|
|
We are just making the dependency explicit
|
|
|
|
in order to ease license attribution -->
|
2019-10-26 17:12:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2017-01-31 10:14:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2008-04-16 00:57:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
|
|
|
</dependency>
|
2010-08-24 18:46:07 -04:00
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-connector-basic</artifactId>
|
2014-08-27 23:17:24 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-11-06 06:13:32 -05:00
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-wagon</artifactId>
|
2010-08-24 18:46:07 -04:00
|
|
|
</dependency>
|
2012-09-02 21:07:31 -04:00
|
|
|
<dependency>
|
2016-09-22 11:46:53 -04:00
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-slf4j-provider</artifactId>
|
2012-09-02 21:07:31 -04:00
|
|
|
</dependency>
|
2016-06-05 07:11:45 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.fusesource.jansi</groupId>
|
|
|
|
<artifactId>jansi</artifactId>
|
|
|
|
</dependency>
|
2020-04-09 19:17:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-cipher</artifactId>
|
|
|
|
</dependency>
|
2008-04-16 00:57:15 -04:00
|
|
|
</dependencies>
|
2009-04-22 19:04:06 -04:00
|
|
|
|
2008-12-15 17:18:11 -05:00
|
|
|
<build>
|
2011-09-07 07:39:32 -04:00
|
|
|
<finalName>${distributionFileName}</finalName>
|
2013-05-28 05:37:02 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes combine.children="append">
|
2020-05-22 15:06:46 -04:00
|
|
|
<exclude>src/assembly/maven/bin/m2.conf</exclude>
|
|
|
|
<!-- these are partial scripts, resulting in mvn/mwnw scripts -->
|
|
|
|
<exclude>src/assembly/shared/init</exclude>
|
|
|
|
<exclude>src/assembly/shared/init.cmd</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnlauncher</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnlauncher.cmd</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnvalidate</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnvalidate.cmd</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnwlauncher</exclude>
|
|
|
|
<exclude>src/assembly/shared/mvnwlauncher.cmd</exclude>
|
|
|
|
<exclude>src/assembly/shared/run</exclude>
|
|
|
|
<exclude>src/assembly/shared/run.cmd</exclude>
|
|
|
|
<exclude>src/assembly/wrapper/*/download</exclude>
|
|
|
|
<exclude>src/assembly/wrapper/*/download.cmd</exclude>
|
2013-05-28 05:37:02 -04:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2008-12-15 17:18:11 -05:00
|
|
|
<plugins>
|
2017-03-04 18:39:31 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includeArtifactIds>jansi</includeArtifactIds>
|
|
|
|
<includes>META-INF/native/**</includes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-jansi-native</id>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-12-15 17:18:11 -05:00
|
|
|
<plugin>
|
2009-11-12 18:42:20 -05:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>test-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2008-12-15 17:18:11 -05:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>basedir</name>
|
|
|
|
<value>${basedir}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
2009-11-12 18:42:20 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2008-12-15 17:18:11 -05:00
|
|
|
</plugin>
|
2009-11-09 10:03:04 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-12-11 13:41:02 -05:00
|
|
|
<id>create-distro-packages</id>
|
2009-11-09 10:03:04 -05:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2020-05-22 15:06:46 -04:00
|
|
|
<descriptor>src/assembly/maven/bin.xml</descriptor>
|
2009-11-09 10:03:04 -05:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-12-15 17:18:11 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-04-22 19:04:06 -04:00
|
|
|
|
2013-08-25 14:48:48 -04:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>apache.snapshots</id>
|
2020-02-11 02:35:08 -05:00
|
|
|
<url>https://repository.apache.org/snapshots/</url>
|
2013-08-25 14:48:48 -04:00
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2013-07-08 13:45:40 -04:00
|
|
|
|
2008-04-16 00:57:15 -04:00
|
|
|
<profiles>
|
2015-12-11 13:41:02 -05:00
|
|
|
<profile>
|
|
|
|
<id>create-distribution-in-dir</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>distributionTargetDir</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
<id>clean-target-dir</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
2017-03-04 18:39:31 -05:00
|
|
|
<excludeDefaultDirectories>true</excludeDefaultDirectories>
|
2015-12-11 13:41:02 -05:00
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${distributionTargetDir}</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-distribution-dir</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>./</finalName>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
|
|
|
<outputDirectory>${distributionTargetDir}</outputDirectory>
|
|
|
|
<descriptors>
|
2020-05-22 15:06:46 -04:00
|
|
|
<descriptor>src/assembly/maven/dir.xml</descriptor>
|
2015-12-11 13:41:02 -05:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2009-11-09 10:03:04 -05:00
|
|
|
<profile>
|
2009-11-09 10:43:20 -05:00
|
|
|
<id>apache-release</id>
|
2009-11-09 10:03:04 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2008-04-16 00:57:15 -04:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2009-11-09 10:03:04 -05:00
|
|
|
<id>make-src-assembly</id>
|
2008-04-16 00:57:15 -04:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2008-10-20 17:02:39 -04:00
|
|
|
<descriptors>
|
2020-05-22 15:06:46 -04:00
|
|
|
<descriptor>src/assembly/maven/src.xml</descriptor>
|
2008-10-20 17:02:39 -04:00
|
|
|
</descriptors>
|
2009-11-09 10:03:04 -05:00
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
2008-04-16 00:57:15 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-15 16:11:22 -04:00
|
|
|
<!-- calculate checksums of source release for Apache dist area -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.nicoulaj.maven.plugins</groupId>
|
|
|
|
<artifactId>checksum-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>source-release-checksum</id>
|
|
|
|
<goals>
|
|
|
|
<goal>files</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>${project.artifactId}-${project.version}-src.zip</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-src.tar.gz</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-bin.zip</include>
|
|
|
|
<include>${project.artifactId}-${project.version}-bin.tar.gz</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<failIfNoFiles>true</failIfNoFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-04-16 00:57:15 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2020-05-22 15:06:46 -04:00
|
|
|
<profile>
|
|
|
|
<id>versionlessMavenDist</id>
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2008-04-16 00:57:15 -04:00
|
|
|
</profiles>
|
2008-07-11 17:16:59 -04:00
|
|
|
</project>
|