Hi, I am having problems making the maven-release-plugin working with local RTC workspace OR in the build engine. Trying to find someone who has used maven-release-plugin WITH RTC build engine.
Thanks, Robert 1) If I run in the build engine I get below error. I was told it's not maven-release-plug-in error rather Jazz scm command line problem. I have read below article: http://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-jazz/releases.html Not sure what else argument I can pass. I have tried to pass workingDirectory argument but I still get below error. > [INFO] Verifying that there are no local modifications... > [INFO] ignoring changes on: **\pom.xml.tag, **\pom.xml.branch, > **\pom.xml.releaseBackup, **\pom.xml.backup, **\release.properties, > **\pom.xml.next > [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild > --password ***** --wide" > [INFO] Working directory: D:\RTCBuildWorkspace\EI-Discovery\EI AS-ITAM > uCMDB Pattern DEV > [ERROR] Error: Problem running 'status': > Current directory is not shared. Run from a shared directory. 2) When I try to run maven-release-plugin from my system I get below problem. Reading above articlet I figured I can't run it from my local workspace... > Hi, > I am getting below error (SCM is Jazz RTC). > Is there some convention about workspace name and snapshot name has to > match? > Is there a switch to override it? > I also noticed that the original workspace I had specified get's changed > as follows... > RTCURL:PORT are replaced with real ones in my POM. > > <scm> > <connection>scm:jazz:https://RTCURL:PROT > /jazz:uCMDB-PatternDev-0.0.6</connection> > > <developerConnection>scm:jazz:https://RTCURL:PROT:uCMDB-PatternDev-0.0.6 > </developerConnection> > <url>https://RTCURL:PROT/jazz:uCMDB-PatternDev-0.0.6</url> > </scm> > <build> > > > > Thanks, > Robert > > [INFO] Tagging release with the label uCMDB-PatternDev-0.0.6... > [INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password > ***** > --wide" > [INFO] Working directory: C:\Documents and > Settings\a408072.DMN1\workspace301\EI > AS-ITAM uCMDB Pattern DEV > [INFO] Executing: cmd.exe /X /C "scm create snapshot --repository-uri > https://RTCURLHERE/jazz --username xxxxx --password ***** --name > uCMDB-PatternDev-0 > .0.6 --description "[maven-release-plugin] copy for tag > uCMDB-PatternDev-0.0.6" > uCMDB-PatternDev-0.0.6" > [INFO] Working directory: C:\Documents and > Settings\a408072.DMN1\workspace301\EI > AS-ITAM uCMDB Pattern DEV > [ERROR] Error: Selector "uCMDB-PatternDev-0.0.6" did not match any > workspaces > Problem running 'create snapshot': > Could not find workspace or stream specified by selector > "uCMDB-PatternDev-0.0.6 > " > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2:09.255s > [INFO] Finished at: Fri Apr 12 11:33:22 EDT 2013 > [INFO] Final Memory: 9M/247M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.4 > .1:prepare (default-cli) on project uCMDB-PatternDev: Unable to tag SCM > [ERROR] Provider message: > [ERROR] Error code for Jazz SCM tag (SNAPSHOT) command - 9 > [ERROR] Command output: > [ERROR] Selector "uCMDB-PatternDev-0.0.6" did not match any workspaces > [ERROR] Problem running 'create snapshot': > [ERROR] Could not find workspace or stream specified by selector > "uCMDB-PatternD > ev-0.0.6" > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please rea > d the following articles: Robert Zanzerkia Fidelity Investments FTG-OPS Two Contra Way Merrimack, NH 03054 Work: 603-791-3477 Blackberry: 603-320-9682