mirror of https://github.com/apache/maven.git
o inconsistent new lines from windows blew up the import (why is svn so retarded?)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
558f841229
commit
8b77989253
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?><project>
|
||||
<parent>
|
||||
<artifactId>maven</artifactId>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>maven-lifecycle</artifactId>
|
||||
<name>Maven Lifecycle Model</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-container-default</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.modello</groupId>
|
||||
<artifactId>modello-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<version>1.0.0</version>
|
||||
<model>src/main/mdo/maven-lifecycle.mdo</model>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,642 @@
|
|||
<?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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
*** NOTE: If you add a new lifecycle or phase, be sure to update the codeSegments! ***
|
||||
-->
|
||||
<model>
|
||||
<id>build-lifecycle</id>
|
||||
<name>LifecycleBindings</name>
|
||||
<description>Model for lifecycle specifications starting in Maven 2.1</description>
|
||||
<defaults>
|
||||
<default>
|
||||
<key>package</key>
|
||||
<value>org.apache.maven.lifecycle.model</value>
|
||||
</default>
|
||||
</defaults>
|
||||
<classes>
|
||||
<class rootElement="true" xml.tagName="lifecycles">
|
||||
<name>LifecycleBindings</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Specifies phase bindings for clean, site, and default lifecycles.</description>
|
||||
<fields>
|
||||
<field>
|
||||
<version>1.0.0</version>
|
||||
<name>packaging</name>
|
||||
<type>String</type>
|
||||
<required>true</required>
|
||||
<description>POM packaging to which this lifecycle specification applies.</description>
|
||||
</field>
|
||||
<field xml.tagName="clean">
|
||||
<version>1.0.0</version>
|
||||
<name>cleanBinding</name>
|
||||
<defaultValue>new CleanBinding()</defaultValue>
|
||||
<description>The binding for the clean lifecycle</description>
|
||||
<association>
|
||||
<type>CleanBinding</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="build">
|
||||
<version>1.0.0</version>
|
||||
<name>buildBinding</name>
|
||||
<defaultValue>new BuildBinding()</defaultValue>
|
||||
<description>The binding for the main build (default) lifecycle</description>
|
||||
<association>
|
||||
<type>BuildBinding</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="site">
|
||||
<version>1.0.0</version>
|
||||
<name>siteBinding</name>
|
||||
<defaultValue>new SiteBinding()</defaultValue>
|
||||
<description>The binding for the site lifecycle</description>
|
||||
<association>
|
||||
<type>SiteBinding</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public java.util.List getBindingList()
|
||||
{
|
||||
java.util.List lifecycles = new java.util.ArrayList();
|
||||
|
||||
if ( getCleanBinding() != null )
|
||||
{
|
||||
lifecycles.add( getCleanBinding() );
|
||||
}
|
||||
|
||||
if ( getBuildBinding() != null )
|
||||
{
|
||||
lifecycles.add( getBuildBinding() );
|
||||
}
|
||||
|
||||
if ( getSiteBinding() != null )
|
||||
{
|
||||
lifecycles.add( getSiteBinding() );
|
||||
}
|
||||
|
||||
return java.util.Collections.unmodifiableList( lifecycles );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>LifecycleBinding</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Base-class for all lifecycle bindings.</description>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public String getId()
|
||||
{
|
||||
throw new UnsupportedOperationException( "Unsupported in base-class." );
|
||||
}
|
||||
|
||||
public java.util.List getPhasesInOrder()
|
||||
{
|
||||
throw new UnsupportedOperationException( "Unsupported in base-class." );
|
||||
}
|
||||
|
||||
public java.util.List getPhaseNamesInOrder()
|
||||
{
|
||||
throw new UnsupportedOperationException( "Unsupported in base-class." );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>CleanBinding</name>
|
||||
<superClass>LifecycleBinding</superClass>
|
||||
<version>1.0.0</version>
|
||||
<fields>
|
||||
<field xml.tagName="pre-clean">
|
||||
<name>preClean</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="clean">
|
||||
<name>clean</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="post-clean">
|
||||
<name>postClean</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public String getId()
|
||||
{
|
||||
return "clean";
|
||||
}
|
||||
|
||||
public java.util.List getPhasesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( getPreClean() );
|
||||
phases.add( getClean() );
|
||||
phases.add( getPostClean() );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
|
||||
public java.util.List getPhaseNamesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( "pre-clean" );
|
||||
phases.add( "clean" );
|
||||
phases.add( "post-clean" );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>BuildBinding</name>
|
||||
<superClass>LifecycleBinding</superClass>
|
||||
<version>1.0.0</version>
|
||||
<fields>
|
||||
<field>
|
||||
<name>validate</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>initialize</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="generate-sources">
|
||||
<name>generateSources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-sources">
|
||||
<name>processSources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="generate-resources">
|
||||
<name>generateResources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-resources">
|
||||
<name>processResources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>compile</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-classes">
|
||||
<name>processClasses</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="generate-test-sources">
|
||||
<name>generateTestSources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-test-sources">
|
||||
<name>processTestSources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="generate-test-resources">
|
||||
<name>generateTestResources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-test-resources">
|
||||
<name>processTestResources</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="test-compile">
|
||||
<name>testCompile</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="process-test-classes">
|
||||
<name>processTestClasses</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="test">
|
||||
<name>test</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="prepare-package">
|
||||
<name>preparePackage</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="package">
|
||||
<name>createPackage</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="pre-integration-test">
|
||||
<name>preIntegrationTest</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="integration-test">
|
||||
<name>integrationTest</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="post-integration-test">
|
||||
<name>postIntegrationTest</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>verify</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>install</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>deploy</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public String getId()
|
||||
{
|
||||
return "build";
|
||||
}
|
||||
|
||||
public java.util.List getPhasesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( getValidate() );
|
||||
phases.add( getInitialize() );
|
||||
phases.add( getGenerateSources() );
|
||||
phases.add( getProcessSources() );
|
||||
phases.add( getGenerateResources() );
|
||||
phases.add( getProcessResources() );
|
||||
phases.add( getCompile() );
|
||||
phases.add( getProcessClasses() );
|
||||
phases.add( getGenerateTestSources() );
|
||||
phases.add( getProcessTestSources() );
|
||||
phases.add( getGenerateTestResources() );
|
||||
phases.add( getProcessTestResources() );
|
||||
phases.add( getTestCompile() );
|
||||
phases.add( getProcessTestClasses() );
|
||||
phases.add( getTest() );
|
||||
phases.add( getPreparePackage() );
|
||||
phases.add( getCreatePackage() );
|
||||
phases.add( getPreIntegrationTest() );
|
||||
phases.add( getIntegrationTest() );
|
||||
phases.add( getPostIntegrationTest() );
|
||||
phases.add( getVerify() );
|
||||
phases.add( getInstall() );
|
||||
phases.add( getDeploy() );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
|
||||
public java.util.List getPhaseNamesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( "validate" );
|
||||
phases.add( "initialize" );
|
||||
phases.add( "generate-sources" );
|
||||
phases.add( "process-sources" );
|
||||
phases.add( "generate-resources" );
|
||||
phases.add( "process-resources" );
|
||||
phases.add( "compile" );
|
||||
phases.add( "process-classes" );
|
||||
phases.add( "generate-test-sources" );
|
||||
phases.add( "process-test-sources" );
|
||||
phases.add( "generate-test-resources" );
|
||||
phases.add( "process-test-resources" );
|
||||
phases.add( "test-compile" );
|
||||
phases.add( "process-test-classes" );
|
||||
phases.add( "test" );
|
||||
phases.add( "prepare-package" );
|
||||
phases.add( "package" );
|
||||
phases.add( "pre-integration-test" );
|
||||
phases.add( "integration-test" );
|
||||
phases.add( "post-integration-test" );
|
||||
phases.add( "verify" );
|
||||
phases.add( "install" );
|
||||
phases.add( "deploy" );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>SiteBinding</name>
|
||||
<superClass>LifecycleBinding</superClass>
|
||||
<version>1.0.0</version>
|
||||
<fields>
|
||||
<field xml.tagName="pre-site">
|
||||
<name>preSite</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="site">
|
||||
<name>site</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="post-site">
|
||||
<name>postSite</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
<field xml.tagName="site-deploy">
|
||||
<name>siteDeploy</name>
|
||||
<version>1.0.0</version>
|
||||
<defaultValue>new Phase()</defaultValue>
|
||||
<association>
|
||||
<type>Phase</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public String getId()
|
||||
{
|
||||
return "site";
|
||||
}
|
||||
|
||||
public java.util.List getPhasesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( getPreSite() );
|
||||
phases.add( getSite() );
|
||||
phases.add( getPostSite() );
|
||||
phases.add( getSiteDeploy() );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
|
||||
public java.util.List getPhaseNamesInOrder()
|
||||
{
|
||||
java.util.List phases = new java.util.ArrayList();
|
||||
|
||||
phases.add( "pre-site" );
|
||||
phases.add( "site" );
|
||||
phases.add( "post-site" );
|
||||
phases.add( "site-deploy" );
|
||||
|
||||
return java.util.Collections.unmodifiableList( phases );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>Phase</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Contains a series of mojo bindings for a given phase of a lifecycle.</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>bindings</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Collection of mojo bindings for a phase.</description>
|
||||
<association>
|
||||
<type>MojoBinding</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>LifecycleStep</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Some step in the build process. This could be a mojo, or it could be a signal to start/stop
|
||||
forked-mode of execution, etc.
|
||||
]]></description>
|
||||
</class>
|
||||
<class>
|
||||
<name>MojoBinding</name>
|
||||
<superClass>LifecycleStep</superClass>
|
||||
<version>1.0.0</version>
|
||||
<description>A binding of one mojo to one lifecycle phase, possibly including configuration.</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>groupId</name>
|
||||
<required>true</required>
|
||||
<identifier>true</identifier>
|
||||
<version>1.0.0</version>
|
||||
<description>Plugin's groupId.</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>artifactId</name>
|
||||
<required>true</required>
|
||||
<identifier>true</identifier>
|
||||
<version>1.0.0</version>
|
||||
<description>Plugin's artifactId.</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>version</name>
|
||||
<required>true</required>
|
||||
<version>1.0.0</version>
|
||||
<description>Plugin's version.</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>goal</name>
|
||||
<required>true</required>
|
||||
<identifier>true</identifier>
|
||||
<version>1.0.0</version>
|
||||
<description>Mojo's goal name.</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>executionId</name>
|
||||
<version>1.0.0</version>
|
||||
<identifier>true</identifier>
|
||||
<defaultValue>default</defaultValue>
|
||||
<description>A name for this mojo binding, for purposes of merging configurations via inheritance, etc.</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<version>1.0.0</version>
|
||||
<name>origin</name>
|
||||
<type>String</type>
|
||||
<description>Specific location from which this set of mojo binding was loaded.</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>configuration</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Mojo binding's configuration.</description>
|
||||
<type>DOM</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>optional</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Marks a mojo binding as optional (not required for execution of the lifecycle).</description>
|
||||
<type>boolean</type>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
private boolean lateBound = false;
|
||||
|
||||
public boolean isLateBound()
|
||||
{
|
||||
return lateBound;
|
||||
}
|
||||
|
||||
public void setLateBound( boolean lateBound )
|
||||
{
|
||||
this.lateBound = lateBound;
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
</classes>
|
||||
</model>
|
|
@ -0,0 +1,12 @@
|
|||
<component-set>
|
||||
<components>
|
||||
<component>
|
||||
<role>org.apache.maven.lifecycle.LifecycleBindingLoader</role>
|
||||
<role-hint>single-clean-mapping</role-hint>
|
||||
<implementation>org.apache.maven.lifecycle.ClassLoaderXmlBindingLoader</implementation>
|
||||
<configuration>
|
||||
<path>single-clean-mapping.xml</path>
|
||||
</configuration>
|
||||
</component>
|
||||
</components>
|
||||
</component-set>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<lifecycles>
|
||||
<clean>
|
||||
<pre-clean>
|
||||
<bindings>
|
||||
<binding>
|
||||
<groupId>group</groupId>
|
||||
<artifactId>artifact</artifactId>
|
||||
<goal>goalOne</goal>
|
||||
</binding>
|
||||
</bindings>
|
||||
</pre-clean>
|
||||
</clean>
|
||||
</lifecycles>
|
|
@ -0,0 +1,120 @@
|
|||
<?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-model</artifactId>
|
||||
<name>Maven Model</name>
|
||||
<description>Maven Model</description>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.modello</groupId>
|
||||
<artifactId>modello-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<version>4.0.0</version>
|
||||
<model>src/main/mdo/maven.mdo</model>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jdom</id>
|
||||
<goals>
|
||||
<goal>jdom-writer</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- Exclude the navigation file for Maven 1 sites
|
||||
as it interferes with the site generation. -->
|
||||
<moduleExcludes>
|
||||
<xdoc>navigation.xml</xdoc>
|
||||
</moduleExcludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>all-models</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.modello</groupId>
|
||||
<artifactId>modello-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>v3</id>
|
||||
<goals>
|
||||
<goal>java</goal>
|
||||
<goal>xpp3-writer</goal>
|
||||
<goal>xpp3-reader</goal>
|
||||
<goal>xsd</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<version>3.0.0</version>
|
||||
<packageWithVersion>true</packageWithVersion>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<classifier>all</classifier>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,20 @@
|
|||
-----
|
||||
Maven Model
|
||||
-----
|
||||
Jason van Zyl
|
||||
Vincent Siveton
|
||||
-----
|
||||
04 November 2006
|
||||
-----
|
||||
|
||||
Maven Model
|
||||
|
||||
This is strictly the model for Maven, so really just plain objects.
|
||||
|
||||
The following are generated from this model:
|
||||
|
||||
* {{{apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser
|
||||
|
||||
* A {{{maven.html}Descriptor Reference}}
|
||||
|
||||
* An XSD {{{http://maven.apache.org/maven-v3_0_0.xsd}for Maven 1.1}} and {{{http://maven.apache.org/maven-v4_0_0.xsd}for Maven 2.0}}.
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
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 name="Project Descriptor">
|
||||
<title>Project Descriptor</title>
|
||||
<body>
|
||||
<breadcrumbs>
|
||||
<item name="Apache" href="http://www.apache.org" />
|
||||
<item name="Maven" href="http://maven.apache.org/" />
|
||||
<item name="Maven 1.x" href="http://maven.apache.org/maven-1.x/" />
|
||||
<item name="Reference" href="http://maven.apache.org/maven-1.x/reference/index.html" />
|
||||
</breadcrumbs>
|
||||
<menu name="Maven Project Descriptor">
|
||||
<item name="About" href="/index.html" />
|
||||
<item name="Model Documentation" href="/maven.html" />
|
||||
<item name="API Docs" href="/apidocs/" target="_blank" />
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
|
@ -0,0 +1,40 @@
|
|||
<?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-plugin-api</artifactId>
|
||||
<name>Maven Plugin API</name>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,72 @@
|
|||
<?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-profile</artifactId>
|
||||
<name>Maven Profile Model</name>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.modello</groupId>
|
||||
<artifactId>modello-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<version>1.0.0</version>
|
||||
<model>profiles.mdo</model>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jdom</id>
|
||||
<goals>
|
||||
<goal>jdom-writer</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-container-default</artifactId>
|
||||
</dependency>
|
||||
<!-- Generate model code -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,396 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<model>
|
||||
<id>profiles</id>
|
||||
<name>Profiles</name>
|
||||
<description><![CDATA[
|
||||
Project-local overrides to the build process based on detected or user-provided environmental parameters.
|
||||
This is the model specification for ${basedir}/profiles.xml.
|
||||
]]></description>
|
||||
<defaults>
|
||||
<default>
|
||||
<key>package</key>
|
||||
<value>org.apache.maven.profiles</value>
|
||||
</default>
|
||||
</defaults>
|
||||
<classes>
|
||||
<class rootElement="true" xml.tagName="profilesXml">
|
||||
<name>ProfilesRoot</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Root element of the profiles.xml file.</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>profiles</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Configuration of build profiles for adjusting the build
|
||||
according to environmental parameters
|
||||
]]></description>
|
||||
<association>
|
||||
<type>Profile</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>activeProfiles</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
List of manually-activated build profiles, specified in the order in which
|
||||
they should be applied.
|
||||
]]></description>
|
||||
<association>
|
||||
<type>String</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>Profile</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Modifications to the build process which is keyed on some
|
||||
sort of environmental parameter.
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<defaultValue>default</defaultValue>
|
||||
<description>The ID of this build profile, for activation
|
||||
purposes.</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>activation</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The conditional logic which will automatically
|
||||
trigger the inclusion of this profile.]]></description>
|
||||
<association>
|
||||
<type>Activation</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>properties</name>
|
||||
<description>Extended configuration specific to this profile goes
|
||||
here.</description>
|
||||
<type>Properties</type>
|
||||
<association xml.mapStyle="inline">
|
||||
<type>String</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>repositories</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[The lists of the remote repositories]]>
|
||||
</description>
|
||||
<association>
|
||||
<type>Repository</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>pluginRepositories</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The lists of the remote repositories for discovering plugins
|
||||
]]></description>
|
||||
<association>
|
||||
<type>Repository</type>
|
||||
<multiplicity>*</multiplicity>
|
||||
</association>
|
||||
<comment><![CDATA[ This may be removed or relocated in the near
|
||||
future. It is undecided whether plugins really need a remote
|
||||
repository set of their own. ]]></comment>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>Activation</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The conditions within the build runtime environment which will trigger
|
||||
the automatic inclusion of the parent build profile.
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>activeByDefault</name>
|
||||
<version>1.0.0</version>
|
||||
<type>boolean</type>
|
||||
<description>Flag specifying whether this profile is active as a default.</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>jdk</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description><![CDATA[
|
||||
Specifies that this profile will be activated when a matching JDK is detected.
|
||||
]]></description>
|
||||
</field>
|
||||
<field>
|
||||
<name>os</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Specifies that this profile will be activated when matching OS attributes are detected.
|
||||
]]></description>
|
||||
<association>
|
||||
<type>ActivationOS</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>property</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Specifies that this profile will be activated when this System property is specified.
|
||||
]]></description>
|
||||
<association>
|
||||
<type>ActivationProperty</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>file</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Specifies that this profile will be activated based on existence of a file.
|
||||
]]></description>
|
||||
<association>
|
||||
<type>ActivationFile</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
|
||||
<!-- TODO: reproduced from maven-model/maven.mdo, instead should inherit code and link to external docs -->
|
||||
<class>
|
||||
<name>RepositoryBase</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Repository contains the information needed
|
||||
for establishing connections with remote repoistory
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>id</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
A unique identifier for a repository.
|
||||
]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
Human readable name of the repository
|
||||
]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>url</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
The url of the repository
|
||||
]]></description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>layout</name>
|
||||
<version>1.0.0</version>
|
||||
<description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
|
||||
"default".</description>
|
||||
<type>String</type>
|
||||
<defaultValue>default</defaultValue>
|
||||
</field>
|
||||
</fields>
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public boolean equals( Object obj )
|
||||
{
|
||||
RepositoryBase other = (RepositoryBase) obj;
|
||||
|
||||
boolean retValue = false;
|
||||
|
||||
if ( id != null )
|
||||
{
|
||||
retValue = id.equals( other.id );
|
||||
}
|
||||
|
||||
return retValue;
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
<class>
|
||||
<name>Repository</name>
|
||||
<superClass>RepositoryBase</superClass>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
Repository contains the information needed for establishing connections with remote repoistory
|
||||
</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>releases</name>
|
||||
<version>1.0.0</version>
|
||||
<description>How to handle downloading of releases from this repository</description>
|
||||
<association>
|
||||
<type>RepositoryPolicy</type>
|
||||
</association>
|
||||
</field>
|
||||
<field>
|
||||
<name>snapshots</name>
|
||||
<version>1.0.0</version>
|
||||
<description>How to handle downloading of snapshots from this repository</description>
|
||||
<association>
|
||||
<type>RepositoryPolicy</type>
|
||||
</association>
|
||||
</field>
|
||||
</fields>
|
||||
<!-- prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
|
||||
<codeSegments>
|
||||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public boolean equals( Object obj )
|
||||
{
|
||||
return super.equals( obj );
|
||||
}
|
||||
]]></code>
|
||||
</codeSegment>
|
||||
</codeSegments>
|
||||
</class>
|
||||
|
||||
<class>
|
||||
<name>RepositoryPolicy</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Download policy</description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>enabled</name>
|
||||
<version>1.0.0</version>
|
||||
<description>Whether to use this repository for downloading this type of artifact</description>
|
||||
<type>boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
</field>
|
||||
<field>
|
||||
<name>updatePolicy</name>
|
||||
<version>1.0.0</version>
|
||||
<description>
|
||||
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or
|
||||
"never" (only if it doesn't exist locally).
|
||||
</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<name>checksumPolicy</name>
|
||||
<version>1.0.0</version>
|
||||
<description>What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
|
||||
"fail" or "warn"</description>
|
||||
<type>String</type>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>ActivationProperty</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
This is the property specification used to activate a profile. If the value field is empty,
|
||||
then the existence of the named property will activate the profile, otherwise it does a case-sensitive
|
||||
match against the property value as well.
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<required>true</required>
|
||||
<description>The name of the property to be used to activate a profile</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>value</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The value of the property to be used to activate a profile</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>ActivationFile</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
This is the file specification used to activate a profile. The missing value will be a the location
|
||||
of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test
|
||||
for the existence of the file and if it is there will run the profile.
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>missing</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the file that should be missing to activate a profile</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>exists</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the file that should exist to activate a profile</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
<class>
|
||||
<name>ActivationOS</name>
|
||||
<version>1.0.0</version>
|
||||
<description><![CDATA[
|
||||
This is an activator which will detect an operating system's attributes in order to activate
|
||||
its profile.
|
||||
]]></description>
|
||||
<fields>
|
||||
<field>
|
||||
<name>name</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The name of the OS to be used to activate a profile</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>family</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The general family of the OS to be used to activate a profile (e.g. 'windows')</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>arch</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The architecture of the OS to be used to activate a profile</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>version</name>
|
||||
<version>1.0.0</version>
|
||||
<type>String</type>
|
||||
<description>The version of the OS to be used to activate a profile</description>
|
||||
</field>
|
||||
</fields>
|
||||
</class>
|
||||
</classes>
|
||||
</model>
|
|
@ -0,0 +1,51 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<component-set>
|
||||
<components>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.MavenProfilesBuilder</role>
|
||||
<implementation>org.apache.maven.profiles.DefaultMavenProfilesBuilder</implementation>
|
||||
</component>
|
||||
</components>
|
||||
</component-set>
|
|
@ -0,0 +1,73 @@
|
|||
<?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-project</artifactId>
|
||||
<name>Maven Project Builder</name>
|
||||
<description>This library is used to not only read Maven project object model files, but to assemble inheritence
|
||||
and to retrieve remote models as required.</description>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-build-context</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-profile</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-settings</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.artifact</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-container-default</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-file</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,369 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<component-set>
|
||||
<components>
|
||||
<!--
|
||||
|
|
||||
| Resolver
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
|
||||
<implementation>org.apache.maven.project.artifact.CacheAwareArtifactResolver</implementation>
|
||||
<role-hint>project-cache-aware</role-hint>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.manager.WagonManager</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.transform.ArtifactTransformationManager</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactCollector</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.project.build.profile.ProfileAdvisor</role>
|
||||
<role-hint>default</role-hint>
|
||||
<implementation>org.apache.maven.project.build.profile.DefaultProfileAdvisor</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.MavenTools</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.profiles.MavenProfilesBuilder</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.injection.ProfileInjector</role>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
|
||||
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.project.build.model.ModelLineageBuilder</role>
|
||||
<role-hint>default</role-hint>
|
||||
<implementation>org.apache.maven.project.build.model.DefaultModelLineageBuilder</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.build.profile.ProfileAdvisor</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.MavenTools</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
|
||||
<role-hint>project-cache-aware</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.MavenProjectHelper</role>
|
||||
<implementation>org.apache.maven.project.DefaultMavenProjectHelper</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.handler.manager.ArtifactHandlerManager</role>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.interpolation.ModelInterpolator</role>
|
||||
<implementation>org.apache.maven.project.interpolation.RegexBasedModelInterpolator</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.injection.ModelDefaultsInjector</role>
|
||||
<implementation>org.apache.maven.project.injection.DefaultModelDefaultsInjector</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.injection.ProfileInjector</role>
|
||||
<implementation>org.apache.maven.project.injection.DefaultProfileInjector</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.MavenProjectBuilder</role>
|
||||
<implementation>org.apache.maven.project.DefaultMavenProjectBuilder</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.build.model.ModelLineageBuilder</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.build.profile.ProfileAdvisor</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.profiles.MavenProfilesBuilder</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.injection.ModelDefaultsInjector</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.interpolation.ModelInterpolator</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.inheritance.ModelInheritanceAssembler</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.validation.ModelValidator</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.path.PathTranslator</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.manager.WagonManager</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.MavenTools</role>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>always-on</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.AlwaysOnProfileActivator</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>jdk-prefix</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.JdkPrefixProfileActivator</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>system-property</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.SystemPropertyProfileActivator</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>os</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.OperatingSystemProfileActivator</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>file</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.FileProfileActivator</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.activation.ProfileActivator</role>
|
||||
<role-hint>custom</role-hint>
|
||||
<implementation>org.apache.maven.profiles.activation.CustomActivator</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.inheritance.ModelInheritanceAssembler</role>
|
||||
<implementation>org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler</implementation>
|
||||
</component>
|
||||
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.validation.ModelValidator</role>
|
||||
<implementation>org.apache.maven.project.validation.DefaultModelValidator</implementation>
|
||||
</component>
|
||||
|
||||
<!-- ********************* FIXME *******************************************
|
||||
| I realize this is duplicated but allows the project builder to work by itself
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.path.PathTranslator</role>
|
||||
<implementation>org.apache.maven.project.path.DefaultPathTranslator</implementation>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.project.ModelResolver</role>
|
||||
<role-hint>default</role-hint>
|
||||
<implementation>org.apache.maven.project.ModelResolver</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
|
||||
<role-hint>maven</role-hint>
|
||||
<implementation>org.apache.maven.project.artifact.MavenMetadataSource</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.MavenProjectBuilder</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
|
||||
<role-hint>default</role-hint>
|
||||
<implementation>org.apache.maven.project.artifact.MavenMetadataSource</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.project.MavenProjectBuilder</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager</role>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.context.BuildContextManager</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<role>org.apache.maven.MavenTools</role>
|
||||
<implementation>org.apache.maven.DefaultMavenTools</implementation>
|
||||
<requirements>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout</role>
|
||||
<role-hint>default</role-hint>
|
||||
</requirement>
|
||||
<requirement>
|
||||
<role>org.apache.maven.artifact.repository.ArtifactRepositoryFactory</role>
|
||||
</requirement>
|
||||
</requirements>
|
||||
</component>
|
||||
|
||||
</components>
|
||||
</component-set>
|
|
@ -0,0 +1,76 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<!-- START SNIPPET: superpom -->
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Maven Default Project</name>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Maven Repository Switchboard</name>
|
||||
<layout>default</layout>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>central</id>
|
||||
<name>Maven Plugin Repository</name>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<layout>default</layout>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<directory>target</directory>
|
||||
<outputDirectory>target/classes</outputDirectory>
|
||||
<finalName>${pom.artifactId}-${pom.version}</finalName>
|
||||
<testOutputDirectory>target/test-classes</testOutputDirectory>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
<scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/test/resources</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<outputDirectory>target/site</outputDirectory>
|
||||
</reporting>
|
||||
</project>
|
||||
<!-- END SNIPPET: superpom -->
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!--
|
||||
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>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<name>Maven</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-plexus-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<configuration>
|
||||
<plexusConfiguration>src/conf/plexus.conf</plexusConfiguration>
|
||||
<plexusConfigurationPropertiesFile>src/conf/plexus.properties</plexusConfigurationPropertiesFile>
|
||||
<plexusApplicationName>Continuum</plexusApplicationName>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>plexus:runtime</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<plexusApplicationName>ContinuumPro</plexusApplicationName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-core</artifactId>
|
||||
<name>Maven</name>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>maven-test-b</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-plexus-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<configuration>
|
||||
<plexusConfiguration>src/conf/plexus.conf</plexusConfiguration>
|
||||
<plexusConfigurationPropertiesFile>src/conf/plexus.properties</plexusConfigurationPropertiesFile>
|
||||
<plexusApplicationName>Continuum</plexusApplicationName>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>plexus:runtime</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<plexusApplicationName>ContinuumPro</plexusApplicationName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,11 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
</project>
|
|
@ -0,0 +1,18 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p1</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>p2</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p2</name>
|
||||
<version>1.0</version>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>mailing-list</name>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
</project>
|
|
@ -0,0 +1,14 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p2</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>p3</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p3</name>
|
||||
<version>1.0</version>
|
||||
<inceptionYear>2000</inceptionYear>
|
||||
</project>
|
|
@ -0,0 +1,13 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p3</artifactId>
|
||||
<groupId>maven</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>p4</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>p4</name>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,11 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t01</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>p0-org</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven.t01</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t01</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>p1-org</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p1</artifactId>
|
||||
<groupId>maven.t01</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t01</groupId>
|
||||
<artifactId>p2</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p2</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>p2-org</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p2</artifactId>
|
||||
<groupId>maven.t01</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t01</groupId>
|
||||
<artifactId>p3</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p3</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>p3-org</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p3</artifactId>
|
||||
<groupId>maven.t01</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t01</groupId>
|
||||
<artifactId>p4</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>p4</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>p4-org</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,32 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p4</artifactId>
|
||||
<groupId>maven.t02</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p5</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>p5</name>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,32 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p3</artifactId>
|
||||
<groupId>maven.t02</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p4</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>p4</name>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,33 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p2</artifactId>
|
||||
<groupId>maven.t02</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p3</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p3</name>
|
||||
<version>1.0</version>
|
||||
<inceptionYear>2000</inceptionYear>
|
||||
</project>
|
|
@ -0,0 +1,37 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p1</artifactId>
|
||||
<groupId>maven.t02</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p2</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p2</name>
|
||||
<version>1.0</version>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>mailing-list</name>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
</project>
|
|
@ -0,0 +1,51 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven.t02</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>test</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,30 @@
|
|||
<!--
|
||||
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>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t02</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1,45 @@
|
|||
<!--
|
||||
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>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven.t03</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t03</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<configuration>
|
||||
<tasks><echo>${project.parent.basedir}</echo></tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,30 @@
|
|||
<!--
|
||||
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>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven.t03</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1,21 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Fake Maven Central Repository</name>
|
||||
<url>file://dummy</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-b</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-c</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.0</version>
|
||||
</project>
|
|
@ -0,0 +1,41 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven-t04</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t04</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-a</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-c</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<configuration>
|
||||
<tasks><echo>${project.parent.basedir}</echo></tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,37 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t04</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
|
||||
<dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-b</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t04-c</artifactId>
|
||||
<version>2.0</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1,23 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Fake Maven Central Repository</name>
|
||||
<url>file://dummy</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,23 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.0</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Fake Maven Central Repository</name>
|
||||
<url>file://dummy</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,17 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2</version>
|
||||
</project>
|
|
@ -0,0 +1,54 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven-t05</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t05</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-a</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<configuration>
|
||||
<tasks><echo>${project.parent.basedir}</echo></tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,36 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t05</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-b</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t05-d</artifactId>
|
||||
<version>1.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1,23 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Fake Maven Central Repository</name>
|
||||
<url>file://dummy</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-b</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,17 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-c</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2</version>
|
||||
</project>
|
|
@ -0,0 +1,54 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven-t06</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t06</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-b</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>test</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-c</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<configuration>
|
||||
<tasks><echo>${project.parent.basedir}</echo></tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,37 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t06</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-b</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-c</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t06-d</artifactId>
|
||||
<version>1.2</version>
|
||||
<scope>test</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1 @@
|
|||
foo
|
|
@ -0,0 +1,23 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-a</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Fake Maven Central Repository</name>
|
||||
<url>file://dummy</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-b</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,24 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-b</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-c</artifactId>
|
||||
<version>1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,17 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-c</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<version>1.1</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1</version>
|
||||
</project>
|
|
@ -0,0 +1,7 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.2</version>
|
||||
</project>
|
|
@ -0,0 +1,54 @@
|
|||
<project>
|
||||
<parent>
|
||||
<artifactId>p0</artifactId>
|
||||
<groupId>maven-t07</groupId>
|
||||
<version>1.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t07</groupId>
|
||||
<artifactId>p1</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p1</name>
|
||||
<version>1.0</version>
|
||||
<scm>
|
||||
<url>scm-url</url>
|
||||
</scm>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-b</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>test</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-c</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<configuration>
|
||||
<tasks><echo>${project.parent.basedir}</echo></tasks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
|
@ -0,0 +1,37 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>maven-t07</groupId>
|
||||
<artifactId>p0</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>p0</name>
|
||||
<version>1.0</version>
|
||||
<organization>
|
||||
<name>Codehaus</name>
|
||||
</organization>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-a</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-b</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-c</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-test</groupId>
|
||||
<artifactId>t07-d</artifactId>
|
||||
<version>1.2</version>
|
||||
<scope>test</scope>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
</project>
|
|
@ -0,0 +1 @@
|
|||
foo
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue