mirror of https://github.com/apache/maven.git
129 lines
4.4 KiB
XML
129 lines
4.4 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 http://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-alpha-1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>apache-maven-wrapper</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Apache Maven Wrapper Distribution</name>
|
|
<description>The Apache Maven Wrapper distribution zips in 3 types: script, bin and source.</description>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes combine.children="append">
|
|
<exclude>src/assembly/maven/bin/m2.conf</exclude>
|
|
<!-- these are partial scripts, resulting in mwnw scripts -->
|
|
<exclude>src/assembly/shared/mvnwlauncher</exclude>
|
|
<exclude>src/assembly/shared/mvnwlauncher.cmd</exclude>
|
|
<exclude>src/assembly/*/download</exclude>
|
|
<exclude>src/assembly/*/download.cmd</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip> <!-- sharing outputDirectory with maven-dist -->
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/assembly/script.xml</descriptor>
|
|
<descriptor>src/assembly/bin.xml</descriptor>
|
|
<descriptor>src/assembly/source.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-wrapper</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>apache-release</id>
|
|
<build>
|
|
<plugins>
|
|
<!-- calculate sha512 checksums -->
|
|
<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}-bin.zip</include>
|
|
<include>${project.artifactId}-${project.version}-script.zip</include>
|
|
<include>${project.artifactId}-${project.version}-source.zip</include>
|
|
</includes>
|
|
</fileSet>
|
|
</fileSets>
|
|
<failIfNoFiles>true</failIfNoFiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|