mirror of https://github.com/apache/maven.git
o adding IT it0021
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d771f16959
commit
49b480f435
|
@ -0,0 +1,37 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-it0021-plugin</artifactId>
|
||||
<description>Test pom-level profile inclusion (this one is activated by system
|
||||
property).</description>
|
||||
<packaging>maven-plugin</packaging>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>test-profile</id>
|
||||
|
||||
<activation>
|
||||
<property>
|
||||
<name>includeProfile</name>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-core-it-support</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Test Repository</name>
|
||||
<url>file:/tmp/testRepo</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
|
@ -0,0 +1,16 @@
|
|||
package org.apache.maven.it0021;
|
||||
|
||||
public class Person
|
||||
{
|
||||
private String name;
|
||||
|
||||
public void setName( String name )
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue