Hi, I´m trying to establish our ReleaseBuild with the maven-release-plugin and ClearCase (using Snapshot views) I´m using maven-release-plugin:2.0-beta-7
The first Snapshotview (Developer SnapshotView) actually resides at C:\LocalViews\username_pcname_viewname\VOB_name\projectname In the pom.xml I have: ... <scm> <!-- scm:checkout -DcheckoutDirectory=C:\LocalViewsMaven\gide-common-view --> <connection>scm:clearcase:load /pdv_cms/GDCAMS/src/gide-common</connection> <developerConnection>scm:clearcase:load /pdv_cms/GDCAMS/src/gide-common</developerConnection> <tag/> <url/> </scm> ... now i can "mvn scm:checkout -DcheckoutDirectory=C:\LocalViewsMaven\viewname" The second Snapshowview (for Maven Release purposes) now resides at C:\LocalViewsMaven\viewname now i can "mvn release:prepare" and the magic with the pom.xml manipulation starts successfully. Finally, I want to "mvn release:perform" where I run into problems, because ClearCase cannot checkout in the same directory of an existing view. Therefore I configured in the pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-7</version> <configuration> <allowTimestampedSnapshots>true</allowTimestampedSnapshots> <workingDirectory>c:\Release\${artifactId}\${version}</workingDirectory> </configuration> </plugin> </plugins> <build> At this point, I couldn´t pass the workingDirectory via CommandLine arguments.... The third Snapshotview is now created, but at .....\nextRelease-SNAPSHOT, containing the Release version..... Is that the right way? Or am I doing something wrong / too much? Has anyone experience (and success) in using maven-release-plugin with ClearCase? Any complete sample configuration ? Thanx, Torsten