o adding IT it0026

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465800 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2006-10-19 20:42:51 +00:00
parent 1d151813b7
commit 007d5e85e8
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<settings>
<profiles>
<profile>
<id>test-profile</id>
<activation>
<property>
<name>includeProfile</name>
</property>
</activation>
<properties>
<test>test.txt</test>
</properties>
</profile>
</profiles>
</settings>

View File

@ -0,0 +1,25 @@
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.</groupId>
<artifactId>maven-it0023</artifactId>
<description>Test merging of global- and user-level settings.xml files.</description>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-core-it-plugin</artifactId>
<version>1.0</version>
<configuration>
<pluginItem>${test}</pluginItem>
</configuration>
</plugin>
<!-- plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-projecthelp-plugin</artifactId>
<version>2.0-alpha-3-SNAPSHOT</version>
</plugin -->
</plugins>
</build>
</model>

View File

@ -0,0 +1,16 @@
package org.apache.maven.it0023;
public class Person
{
private String name;
public void setName( String name )
{
this.name = name;
}
public String getName()
{
return name;
}
}

View File

@ -0,0 +1,5 @@
<settings>
<activeProfiles>
<activeProfile>test-profile</activeProfile>
</activeProfiles>
</settings>