<?xml version="1.0" encoding="UTF-8"?> <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.p4maven.it</groupId> <artifactId>p4maven-shelve-it</artifactId> <version>1.0-SNAPSHOT</version> <packaging>pom</packaging> <!-- this IT has a issue where scm and p4maven plugin each has its own P4xxxManager instances --> <!-- at the end both try to delete the same generate client spec and error out, when JVM exits --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>@maven.scm.plugin.it.version@</version> <dependencies> <dependency> <groupId>@project.groupId@</groupId> <artifactId>@project.artifactId@</artifactId> <version>@project.version@</version> </dependency> </dependencies> <configuration> <developerConnectionUrl>@scmItUrl@</developerConnectionUrl> <workingDirectory>${project.build.directory}/checkout</workingDirectory> </configuration> <executions> <execution> <id>checkout</id> <phase>test-compile</phase> <goals> <goal>checkout</goal> </goals> </execution> <execution> <id>edit</id> <phase>test-compile</phase> <goals> <goal>edit</goal> </goals> <configuration> <includes>*.xml</includes> </configuration> </execution> <!-- at unedit we dont need to set the include --> <execution> <id>unedit</id> <phase>test</phase> <goals> <goal>unedit</goal> </goals> </execution> <execution> <id>unedit-again-after-unshelve</id> <phase>package</phase> <goals> <goal>unedit</goal> </goals> </execution> <execution> <id>checkin-empty-changelist</id> <phase>package</phase> <goals> <goal>checkin</goal> </goals> <configuration> <message>checkin-empty-changelist</message> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.perforce.p4maven</groupId> <artifactId>p4maven-mojo</artifactId> <version>@project.version@</version> <!-- activate p4 provider singleton to shared with other plugin --> <!-- see src/main/resources/META-INF/maven for details --> <extensions>true</extensions> <configuration> <urlScm>@scmItUrl@</urlScm> <scmDirectory>${project.build.directory}/checkout</scmDirectory> </configuration> <executions> <execution> <id>shelve</id> <phase>process-test-classes</phase> <goals> <goal>shelve</goal> </goals> <configuration> <includes>*.xml</includes> </configuration> </execution> <execution> <id>unshelve</id> <phase>test</phase> <goals> <goal>unshelve</goal> </goals> <configuration> <includes>*.xml</includes> <fromChangelistId>${p4.shelved.changelist}</fromChangelistId> <deleteChangelistAfterUnshelved>true</deleteChangelistAfterUnshelved> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#11 | 11424 | dantran |
- P4Java logs are no under debug mode to reduce verbosity. To enable, pass in -X into mvn command - Info command now supports tag - Add p4java into export extension - Use BSD for license name - Update doc |
||
#10 | 11284 | dantran |
- upgrade plugins - cleanup plugin-plugin config - add option to configure p4maven-mojo as plugin extension so that all manager singletons can be shared with other plugins ( ie scm, release, build-helper, etc ) |
||
#9 | 9791 | dantran | comment classloader issue | ||
#8 | 9679 | dantran |
hookup site with jacolo report. add javadoc to interfaces |
||
#7 | 9626 | dantran | rework on job goal | ||
#6 | 9625 | dantran | add option to remove changelist after unshelved | ||
#5 | 9620 | dantran | remove cvsexe exclusions | ||
#4 | 9618 | dantran | cleanup | ||
#3 | 9605 | dantran | refactoy to use MOJO parameter instead of system properties | ||
#2 | 9603 | dantran | cleanup | ||
#1 | 9602 | dantran |
shelve mojo is now working. Add basic IT |