maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Maven-release-plugin AND IBM RTC build engine...
Date Sat, 20 Apr 2013 00:21:25 GMT
the bane of all Windows Implementors are special characters such as spaces in folder names
e.g.
C:\Documents and Settings 

C:DIR /X /AD
C:\DOCUME~1\a408072.DMN1\workspace301\EI AS-ITAM uCMDB Pattern DEV

specify the 8 character foldername as your Working Directory with -f  e.g.
mvn -f C:\DOCUME~1\a408072.DMN1\workspace301\EIAS-I~1 release:prepare
Martin 

______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.

 > Date: Fri, 19 Apr 2013 11:40:43 -0400
> Subject: Re: Maven-release-plugin AND IBM RTC build engine...
> From: bimargulies@gmail.com
> To: users@maven.apache.org
> 
> I'd recommend using pathnames with no spaces in them, or avoiding Windows
> altogether.
> 
> 
> On Fri, Apr 19, 2013 at 10:02 AM, Zanzerkia, Robert <
> Robert.Zanzerkia@fmr.com> wrote:
> 
> > 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> > > [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
> >
> >
> >
> >
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message