blob: 23d0014ff6e201657771afcb81b9e1cb6563f6e1 [file] [log] [blame]
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codehaus.jira.testprojects</groupId>
<artifactId>mdeploy45-webui</artifactId>
<name>sample web project with classified artifact output</name>
<url>http://jira.codehaus.org/browse/MDEPLOY-45</url>
<version>0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<mdp45.artifact.classifier>mdp45</mdp45.artifact.classifier>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>@pom.version@</version>
<configuration>
<!-- because i don't know your distribution management, deployments will be written to ${basedir}/target -->
<altDeploymentRepository>mine::default::file://${basedir}/target</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<!--version>2.1-alpha-2-SNAPSHOT</version-->
<version>2.0.2</version>
<configuration>
<!-- this will cause an error -->
<classifier>${mdp45.artifact.classifier}</classifier>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>repo1</id>
<name>Maven Central Repository</name>
<url>scp://foo.org/m2/release</url>
</repository>
<snapshotRepository>
<id>repo1</id>
<name>Maven Central Repository</name>
<url>scp://foo.org/m2/snapshot</url>
</snapshotRepository>
</distributionManagement>
</project>