RE: Maven-release-plugin error
Hi Mirko, Thank you for your answers. What do you mean by check out to: c:/tmp/myprj ?? Do I use below switch for that? mvn -B -Dresume=false -DworkingDirectory=/tmp/myprj release:prepare release:perform BTW: regarding naming the workspace We have build workspace specific to a stream so for my development stream I have a build workspace (RTC notation) named as: 'srvrtcbuild-EI AS-ITAM uCMDB 9.02 EI Stream Workspace' So we don't rename workspace with each build... Is there a way to make release plug-in use the same workspace name I provided? Looks like it wants to use tag it created based on build numbers. Is there a way to override that? I want release-plugin to snapshot (aka label) source code in the build workspace with the build version (or tag) but NOT use tag as the name of the workspace. Thanks, Robert -Original Message- From: Mirko Friedenhagen [mailto:mfriedenha...@gmail.com] Sent: Saturday, April 13, 2013 1:44 AM To: Maven Users List Subject: Re: Maven-release-plugin error Third guess, on Windows upper and lower case are ignored, so C:/tm/ucmdb and naming the tag ucmdb-patterndev-0.6.6 could help. Regards Mirko -- Sent from my mobile On Apr 12, 2013 8:59 PM, "Zanzerkia, Robert" wrote: > > 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:jazz:https://RTCURL:PROT > /jazz:uCMDB-PatternDev-0.0.6 > > scm:jazz:https://RTCURL:PROT:uCMDB-PatternDev-0.0.6 > > https://RTCURL:PROT/jazz:uCMDB-PatternDev-0.0.6 > > > > > > 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 x --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: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > eption > > > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven-release-plugin error
Third guess, on Windows upper and lower case are ignored, so C:/tm/ucmdb and naming the tag ucmdb-patterndev-0.6.6 could help. Regards Mirko -- Sent from my mobile On Apr 12, 2013 8:59 PM, "Zanzerkia, Robert" wrote: > > 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:jazz:https://RTCURL:PROT > /jazz:uCMDB-PatternDev-0.0.6 > > scm:jazz:https://RTCURL:PROT:uCMDB-PatternDev-0.0.6 > > https://RTCURL:PROT/jazz:uCMDB-PatternDev-0.0.6 > > > > > > 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 x --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: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > eption > > > >
Re: Maven-release-plugin error
Hello, my first guess would be the spaces in your workspace path, you could try to check out to C:/tmp/myprj and retry. Second guess: on windows path names must not be longer than 255 characters (at least Mercurial had problems with this), again, a checkout to C:/tmp/myprj could help. Regards Mirko -- Sent from my mobile On Apr 12, 2013 8:59 PM, "Zanzerkia, Robert" wrote: > > 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:jazz:https://RTCURL:PROT > /jazz:uCMDB-PatternDev-0.0.6 > > scm:jazz:https://RTCURL:PROT:uCMDB-PatternDev-0.0.6 > > https://RTCURL:PROT/jazz:uCMDB-PatternDev-0.0.6 > > > > > > 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 x --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: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > eption > > > >