2008-04-16 00:57:15 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-07-06 12:44:06 -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-01-04 10:28:42 -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 http://maven.apache.org/maven-v4_0_0.xsd">
|
2008-04-16 00:57:15 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>maven</artifactId>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2009-01-29 02:13:04 -05:00
|
|
|
<version>3.0-SNAPSHOT</version>
|
2008-04-16 00:57:15 -04:00
|
|
|
</parent>
|
2009-01-12 12:18:11 -05:00
|
|
|
<artifactId>apache-maven</artifactId>
|
2008-04-16 00:57:15 -04:00
|
|
|
<name>Maven Distribution</name>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-embedder</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-project</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-toolchain</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>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-container-default</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- CLI -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
</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>
|
2008-10-20 17:02:39 -04:00
|
|
|
<!--Wagon-->
|
2008-04-16 00:57:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
</dependency>
|
2009-01-29 17:26:34 -05:00
|
|
|
<!--Mercury MP3-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.mercury</groupId>
|
|
|
|
<artifactId>mercury-mp3-cli</artifactId>
|
|
|
|
</dependency>
|
2008-04-16 00:57:15 -04:00
|
|
|
</dependencies>
|
2008-12-15 17:18:11 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>basedir</name>
|
|
|
|
<value>${basedir}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2008-04-16 00:57:15 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<!--
|
2008-07-06 12:44:06 -04:00
|
|
|
| | This profile is specifically for creating an embedder that
|
|
|
|
can be used for IntelliJ integration. We need to | remove the
|
|
|
|
JDOM JAR because IntelliJ include its own version, and the JTidy
|
|
|
|
JAR includes org.xml.* classes | which causes a loader
|
|
|
|
constraint issues while loading the embedder. |
|
|
|
|
-->
|
2008-04-16 00:57:15 -04:00
|
|
|
<id>idea</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>shade-maven-plugin</artifactId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2008-07-06 12:44:06 -04:00
|
|
|
<!--
|
|
|
|
The IDEA folks don't want to put SNAPSHOT libs in
|
|
|
|
their projects even though they are
|
|
|
|
-->
|
2008-04-16 00:57:15 -04:00
|
|
|
<finalName>maven-embedder-idea-2.1</finalName>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<transformers>
|
2009-01-04 10:28:42 -05:00
|
|
|
<transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer" />
|
2008-04-16 00:57:15 -04:00
|
|
|
</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>
|
2008-07-06 12:44:06 -04:00
|
|
|
<!--
|
|
|
|
So this is required for the IDEA embedder which
|
|
|
|
already has its own copy of JDOM
|
|
|
|
-->
|
2008-04-16 00:57:15 -04:00
|
|
|
<exclude>jdom:jdom</exclude>
|
|
|
|
<exclude>jtidy:jtidy</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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!--
|
2008-07-06 12:44:06 -04:00
|
|
|
| | This profile is specifically for creating an embedder that
|
|
|
|
can be used for netbeans integration |
|
|
|
|
-->
|
2008-04-16 00:57:15 -04:00
|
|
|
<id>netbeans</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>shade-maven-plugin</artifactId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<transformers>
|
2009-01-04 10:28:42 -05:00
|
|
|
<transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer" />
|
2008-04-16 00:57:15 -04:00
|
|
|
</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>
|
2008-07-15 14:23:54 -04:00
|
|
|
<exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
|
|
|
|
<exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
|
2008-04-16 00:57:15 -04:00
|
|
|
</excludes>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>standard</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2008-07-06 12:44:06 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2008-04-16 00:57:15 -04:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-distro</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2008-10-20 17:02:39 -04:00
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/main/assembly/bin.xml</descriptor>
|
|
|
|
</descriptors>
|
2008-06-30 10:47:09 -04:00
|
|
|
<finalName>apache-maven-${pom.version}</finalName>
|
2008-04-16 00:57:15 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2008-07-06 12:44:06 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2008-04-16 00:57:15 -04:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkMode>once</forkMode>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!-- Single Test -->
|
|
|
|
<id>st</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/MavenEmbedderTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2008-07-11 17:16:59 -04:00
|
|
|
</project>
|