2006-07-07 08:23:28 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2007-02-28 17:50:21 -05: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.
|
|
|
|
-->
|
2007-10-24 02:58:27 -04: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-01-10 20:38:13 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2005-09-24 22:00:04 -04:00
|
|
|
<parent>
|
|
|
|
<artifactId>maven</artifactId>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
2006-01-03 20:14:17 -05:00
|
|
|
<version>2.1-SNAPSHOT</version>
|
2005-09-24 22:00:04 -04:00
|
|
|
</parent>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2005-09-24 22:00:04 -04:00
|
|
|
<artifactId>maven-embedder</artifactId>
|
|
|
|
<name>Maven Embedder</name>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2005-09-24 22:00:04 -04:00
|
|
|
<dependencies>
|
2005-09-25 11:28:55 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
2006-04-07 11:57:09 -04:00
|
|
|
<version>2.1-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2007-11-27 14:55:04 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-project</artifactId>
|
|
|
|
<version>2.1-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2007-01-05 23:03:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-container-default</artifactId>
|
|
|
|
</dependency>
|
2008-01-10 20:38:13 -05:00
|
|
|
<!-- CLI -->
|
2007-03-03 19:48:55 -05:00
|
|
|
<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>
|
2007-03-10 19:48:53 -05:00
|
|
|
<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>
|
2007-04-24 13:46:48 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
2007-09-01 15:23:17 -04:00
|
|
|
</dependency>
|
2007-11-27 14:55:04 -05:00
|
|
|
<!-- Needed for compat and cache-control aspects. -->
|
2007-10-31 15:52:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>aspectj</groupId>
|
|
|
|
<artifactId>aspectjrt</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
</dependency>
|
2008-01-09 19:07:48 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
</dependency>
|
2008-01-10 20:57:27 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
</dependency>
|
2005-09-24 22:00:04 -04:00
|
|
|
</dependencies>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-02-27 21:54:07 -05:00
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<id>apache.website</id>
|
|
|
|
<url>scp://people.apache.org/www/maven.apache.org/embedder/${project.version}/</url>
|
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-11-15 00:37:55 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>aspectj-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile-aspects</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<aspectLibraries>
|
|
|
|
<aspectLibrary>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
</aspectLibrary>
|
|
|
|
</aspectLibraries>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-08-09 13:48:21 -04:00
|
|
|
<profiles>
|
2007-10-29 19:31:27 -04:00
|
|
|
<profile>
|
2007-10-31 15:52:38 -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.
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
<id>idea</id>
|
2007-10-31 13:26:37 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2007-08-09 13:48:21 -04:00
|
|
|
<plugin>
|
2007-08-31 00:43:57 -04:00
|
|
|
<artifactId>shade-maven-plugin</artifactId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
2007-09-01 17:28:26 -04:00
|
|
|
<version>1.0-alpha-12</version>
|
2007-08-09 13:48:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
2007-08-31 00:43:57 -04:00
|
|
|
<goal>shade</goal>
|
2007-08-09 13:48:21 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2007-09-01 15:23:17 -04:00
|
|
|
<!-- The IDEA folks don't want to put SNAPSHOT libs in their projects even though they are -->
|
|
|
|
<finalName>maven-embedder-idea-2.1</finalName>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<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>
|
|
|
|
<!-- So this is required for the IDEA embedder which already has its own copy of JDOM -->
|
|
|
|
<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>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-10-24 02:58:27 -04:00
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
| This profile is specifically for creating an embedder that can be used for Eclipse integration. We need to
|
|
|
|
| need a single embedder JAR that looks like an OSGi bundle.
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
<id>tycho</id>
|
|
|
|
<properties>
|
2007-11-27 14:55:04 -05:00
|
|
|
<bundleVersion>2.1.0.v20071120-1632</bundleVersion>
|
2007-10-24 02:58:27 -04:00
|
|
|
</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-12</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>maven-embedder-tycho-${bundleVersion}</finalName>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-11-24 13:51:42 -05:00
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
| This profile is specifically for creating an embedder that can be used for netbeans integration
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
<id>netbeans</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>shade-maven-plugin</artifactId>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<version>1.0-alpha-12</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-08-31 00:43:57 -04:00
|
|
|
<profile>
|
|
|
|
<id>standard</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
2008-01-14 16:36:09 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<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>apache-maven-${pom.version}</finalName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<configuration>
|
|
|
|
<forkMode>once</forkMode>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>include-site</id>
|
2007-08-31 00:43:57 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2008-01-10 21:02:32 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<connectionUrl>scm:svn:http://svn.apache.org/repos/asf/maven/site/trunk</connectionUrl>
|
|
|
|
<checkoutDirectory>${project.build.directory}/maven-site</checkoutDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>checkout</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<projectsDirectory>${project.build.directory}/maven-site</projectsDirectory>
|
|
|
|
<pom>${project.build.directory}/maven-site/pom.xml</pom>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
<goal>site</goal>
|
|
|
|
</goals>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>initialize</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2007-10-24 02:58:27 -04:00
|
|
|
</plugins>
|
2007-08-09 13:48:21 -04:00
|
|
|
</build>
|
|
|
|
</profile>
|
2008-01-10 20:38:13 -05:00
|
|
|
|
2007-09-03 11:42:29 -04:00
|
|
|
<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>
|
2007-08-09 13:48:21 -04:00
|
|
|
</profiles>
|
2005-11-04 13:29:37 -05:00
|
|
|
</project>
|