mirror of https://github.com/apache/maven.git
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:
parent
1d151813b7
commit
007d5e85e8
|
@ -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>
|
|
@ -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>
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
<settings>
|
||||
<activeProfiles>
|
||||
<activeProfile>test-profile</activeProfile>
|
||||
</activeProfiles>
|
||||
</settings>
|
Loading…
Reference in New Issue