<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>com.perforce</groupId> <artifactId>p4maven-mojo</artifactId> <packaging>maven-plugin</packaging> <version>2012.3.1-SNAPSHOT</version> <name>Perforce Maven Mojos</name> <url>http://www.perforce.com</url> <organization> <name>Perforce Software</name> <url>http://www.perforce.com</url> </organization> <description> Perforce Maven Mojos. </description> <licenses> <license> <name>Perforce Software</name> <url>LICENSE.txt</url> <distribution>repo</distribution> </license> </licenses> <prerequisites> <maven>2.0</maven> </prerequisites> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <build.changelist>0</build.changelist> <build.type>DEV</build.type> <maven.scm.version>1.4</maven.scm.version> <maven.api.version>2.0</maven.api.version> </properties> <distributionManagement> <snapshotRepository> <id>snapshots</id> <name>Snapshots</name> <url>${snapshots.url}</url> </snapshotRepository> <repository> <id>releases</id> <name>Releases</name> <url>${releases.url}</url> </repository> </distributionManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.0.0,)</versionRange> <goals> <goal>copy</goal> <goal>unpack</goal> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> <versionRange>[1.0,)</versionRange> <goals> <goal>descriptor</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> <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> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> <version>1.3.8</version> <executions> <execution> <id>create-component-descriptor</id> <phase>generate-resources</phase> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dependencies</id> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <!-- configure the plugin here --> </configuration> </execution> </executions> </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.maven.mojo.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.maven</groupId> <artifactId>maven-project</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> <version>1.0-alpha-9-stable-1</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-api</artifactId> <version>${maven.scm.version}</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId> <version>${maven.scm.version}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>1.5.6</version> </dependency> <dependency> <groupId>com.perforce</groupId> <artifactId>p4maven</artifactId> <version>2012.3.1-SNAPSHOT</version> </dependency> </dependencies> <profiles> <profile> <id>assemble</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <phase>prepare-package</phase> <configuration> <tasks> <copy file="${project.basedir}/pom.xml" tofile="${project.build.directory}/classes/META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml" overwrite="true" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 10055 | Matt Attaway | Pull over numerous changes from @dantran's branch. | ||
#2 | 9014 | Matt Attaway |
Add SSL support to P4Maven (committed on behalf of Dan Tran) USer visible change |
||
#1 | 8496 | Matt Attaway | Move P4Ant and P4Maven into their proper homes | ||
//public/perforce/p4maven/main/com.perforce.maven.mojo/pom.xml | |||||
#1 | 8270 | Matt Attaway | Initial add of P4Maven source code |