<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.perforce</groupId>
<artifactId>p4ant</artifactId>
<packaging>jar</packaging>
<version>2011.2.1-SNAPSHOT</version>
<name>Ant Tasks for Perforce</name>
<url>http://www.perforce.com</url>
<organization>
<name>Perforce Software</name>
<url>http://www.perforce.com</url>
</organization>
<description>These tasks implement Perforce commands using the Perforce Java API. These tasks are intended for build automation with Ant.</description>
<licenses>
<license>
<name>Simplified BSD License</name>
<url>Somewhere in the Public Depot</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <overview>${basedir}doc/javadoc/overview.html</overview>-->
<!-- switch on dependency-driven aggregation -->
<includeDependencySources>false</includeDependencySources>
<dependencySourceExcludes>
<!-- exclude ONLY commons-cli artifacts -->
<dependencySourceExclude>commons-cli:*</dependencySourceExclude>
</dependencySourceExcludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<mainClass>com.perforce.ant.Metadata</mainClass>
</manifest>
<manifestEntries>
<Manifest-Version>1.0</Manifest-Version>
<!-- Bundle headers -->
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Build headers -->
<Build-Type>${build.type}</Build-Type>
<Build-Changelist>${build.changelist}</Build-Changelist>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>com.perforce</groupId>
<artifactId>p4java</artifactId>
<version>[2011,2012)</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>assemble</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/zip.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>rename</id>
<phase>package</phase>
<configuration>
<tasks>
<copy file="${project.build.directory}/${project.build.finalName}-bin.zip" overwrite="true" tofile="${project.basedir}/p4ant.zip"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>update_pom</id>
<phase>prepare-package</phase>
<configuration>
<tasks>
<copy file="${project.basedir}/pom.xml" overwrite="true" tofile="${project.build.directory}/classes/META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
# |
Change |
User |
Description |
Committed |
|
#1
|
8496 |
Matt Attaway |
Move P4Ant and P4Maven into their proper homes |
|
|
//public/perforce/p4ant/main/com.perforce.ant/pom.xml |
#1
|
8269 |
Matt Attaway |
Initial add of the p4ant source code |
|
|