mirror of https://github.com/apache/maven.git
182 lines
5.8 KiB
XML
182 lines
5.8 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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<artifactId>maven</artifactId>
|
|
<groupId>org.apache.maven</groupId>
|
|
<version>2.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>maven-embedder</artifactId>
|
|
<name>Maven Embedder</name>
|
|
<properties>
|
|
<bundleVersion>2.1.0.v20070728-1835</bundleVersion>
|
|
</properties>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>shade-maven-plugin</artifactId>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<version>1.0-alpha-10</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer"/>
|
|
</transformers>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>org.codehaus.plexus:plexus-component-api</exclude>
|
|
<exclude>classworlds:classworlds</exclude>
|
|
<exclude>junit:junit</exclude>
|
|
<exclude>jmock:jmock</exclude>
|
|
<exclude>xml-apis:xml-apis</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.codehaus.plexus.util</pattern>
|
|
<excludes>
|
|
<exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
|
|
<exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
|
|
</excludes>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2-beta-1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>create-distro</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptor>src/main/assembly/bin.xml</descriptor>
|
|
<finalName>maven-${version}</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-core</artifactId>
|
|
<version>2.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-container-default</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jdom</groupId>
|
|
<artifactId>jdom</artifactId>
|
|
</dependency>
|
|
<!-- CLI -->
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-lang</artifactId>
|
|
<groupId>commons-lang</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh-external</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-file</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>apache.website</id>
|
|
<!--
|
|
<url>scp://people.apache.org/www/maven.apache.org/embedder/${project.version}/</url>
|
|
-->
|
|
<url>scp://people.apache.org/home/jvanzyl/public_html/embedder/</url>
|
|
</site>
|
|
</distributionManagement>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>make-dependency-repo</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2-beta-2-SNAPSHOT</version>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>make-dependency-repo</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptor>src/main/assembly/repo.xml</descriptor>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|