You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Zanzerkia, Robert" <Ro...@fmr.com> on 2013/04/19 16:02:14 UTC

Maven-release-plugin AND IBM RTC build engine...

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




Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Wayne Fay <wa...@gmail.com>.
>         What I don't understand is that why would it work on my local laptop
> with the same directory names? I realize the working directory on the RTC
> build server uses the Component name (RTC term) which does have spaces in it.

I couldn't even begin to guess. Clearly something is different between
your local laptop and your build server.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Hi Wayne,
	What I don't understand is that why would it work on my local laptop with the same directory names? I realize the working directory on the RTC build server uses the Component name (RTC term) which does have spaces in it. 

BTW: Thanks everyone for prompt responses...

Robert 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Tuesday, April 30, 2013 12:09 PM
To: Maven Users List
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-Discovery2\EI AS-ITAM uCMDB Pattern DEV

Again, you probably need to ensure that all directories involved in
the build do not have any spaces in the name.

> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.

I think that might be an error message from Jazz and not Maven.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Shawn Kielty <sh...@macys.com>.
Consider creating this directory "D:\RTCBuildWorkspace\EI-Discovery2\EI" 
and sharing it, then try again to see if your error message changes.  It 
might help you to understand whether it's the directory name or the fact 
that it's not shared, as the message says. 

Shawn 

Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Eric Kolotyluk <er...@gmail.com>.
If IBM were smart they would embrace Maven and do everything possible to
support it well within Jazz. Maven does not really compete with anything
IBM is doing, but it certainly compliments it in a positive way.

I have met a few people in IBM who are sympathetic to better support for
Maven, but I think some of the higher level decision makers need to be
persuaded.

Cheers, Eric


On Tue, Apr 30, 2013 at 9:08 AM, Wayne Fay <wa...@gmail.com> wrote:

> > [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild
> --password ***** --wide"
> > [INFO] Working directory: D:\RTCBuildWorkspace\EI-Discovery2\EI AS-ITAM
> uCMDB Pattern DEV
>
> Again, you probably need to ensure that all directories involved in
> the build do not have any spaces in the name.
>
> > [ERROR] Error: Problem running 'status':
> > Current directory is not shared. Run from a shared directory.
>
> I think that might be an error message from Jazz and not Maven.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Wayne Fay <wa...@gmail.com>.
> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-Discovery2\EI AS-ITAM uCMDB Pattern DEV

Again, you probably need to ensure that all directories involved in
the build do not have any spaces in the name.

> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.

I think that might be an error message from Jazz and not Maven.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by Shawn Kielty <sh...@macys.com>.
What if ... the directory is not actually shared ... In the windows sense. 
 On the command line of the build server type "net share" and see if the 
directory is on the share list. 



From:   "Zanzerkia, Robert" <Ro...@fmr.com>
To:     Maven Users List <us...@maven.apache.org>, 
Date:   05/03/2013 09:35 AM
Subject:        RE: Maven-release-plugin AND IBM RTC build engine...



I did few more experiments...
1) Renamed the RTC component so there is no space in the name.
2) Made sure directory has permission for build account etc.
3) Experimented by replacing maven command to just mvn scm:status and that 
works without error.
                 So it's only via release-plug-in we get the error on scm 
status command.

                 Since replease-plug-in works on my laptop this is an 
issue on interaction between maven, release-plugin and "Jazz build engine"
                 I re-ran the RTC build with -X switch in maven to get 
detailed log so we can compare against release.log (one from my laptop).
  Thanks,
Robert
PS: I have attached  RTC_JAZZ-Build.log from build server. 

Working release.log
[DEBUG] repositoryWorkspace - EI_9.05_Release_Snapshot
[DEBUG] Executing status command...
[INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password 
***** --wide"
[INFO] Working directory: C:\Documents and 
Settings\a408072.DMN1\workspace301-EI-9.05_Rel\EI AS-ITAM uCMDB Pattern 
DEV
[DEBUG] Consumed line :Workspace: (1189) "EI_9.05_Release_Snapshot" <-> 
(1001) "EI AS-ITAM uCMDB 9.02 EI Stream"


NOT working RTC build lines.
[DEBUG] repositoryWorkspace - 
srvrtcbuild-EI-AS-ITAM-PatternDEV-DEV_Release_WS
[DEBUG] Executing status command...
[INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild 
--password ***** --wide"
[INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
[DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
[DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run 
from a shared directory.
[ERROR] Error: Problem running 'status':
Current directory is not shared. Run from a shared directory.
 

-----Original Message-----
From: Zanzerkia, Robert 
Sent: Tuesday, April 30, 2013 11:56 AM
To: Maven Users List
Subject: RE: Maven-release-plugin AND IBM RTC build engine...

Hi,
 Actually it was Chris who helped me... Thanks Chris.

 When I said NO access to RTC Build engine I meant for the physical server 
where the build runs.
 We have a support group that manages these servers which is why I don't 
have the direct access.
 (Yes that makes it more difficult to trouble shoot).

 I am working with the local person to trouble shoot the issue.

 The issue comes down to the scm -status command where on my laptop it 
works fine but on the RTC build engine it gives below error.

We have defined 
-DworkingDirectory = D:\temp\Maven (for the plugin working directory).
repository local directory = 
<localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2 

 
[INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ 
uCMDB-PatternDev ---
[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-Discovery2\EI AS-ITAM 
uCMDB Pattern DEV
[ERROR] Error: Problem running 'status':
Current directory is not shared. Run from a shared directory.

Thanks,
Robert

-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com] 
Sent: Monday, April 29, 2013 11:25 AM
To: Maven Users List
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Perhaps Chris Graham might be able to help... given that from what I
understand IBM decided not to let him go!!! Of course that assumes he has
access to the toolchain!


On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:

> >   I still DO NOT have the release plug-in working with RTC build 
engine.
> ...
> > work as well, unfortunately I don't have access to RTC build engine...
>
> And this is exactly the reason why the release plugin does not work
> with RTC build engine.
>
> If you don't have access to RTC build engine, yet you are a customer
> of IBM's and use their tools etc, how can any random open source
> developer be granted the necessary access to these tools (Jazz, RTC,
> etc) so the release plugin can be adapted as needed to work along with
> it?
>
> This is why Maven plugins for proprietary tools will ALWAYS lag in
> functionality behind open source tools. For all intents, it
> practically requires the VENDOR to put in the effort to build/adapt
> the plugin for their products. If you have the ability to do so, I'd
> open a bug/ticket with IBM and ask them to support the Maven release
> plugin, otherwise I doubt this functionality will ever be added by
> anyone else.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Eric Kolotyluk <er...@gmail.com>.
OK, now I see. Well you have gone further than I have with Jazz. I hope 
you find a suitable solution as I would like to use Jazz again someday.

While it is a lot of work, I might suggest setting up your own Jazz 
environment to experiment with, perhaps in a virtual machine. I have 
done the complete Jazz install myself, but it is a lot of work. It may 
have improved since then.

Cheers, Eric

On 2013-05-03 2:31 PM, Zanzerkia, Robert wrote:
> Hi Eric,
> 	I am using Jazz SCM.
> 	It's even more painful as I don't have direct access to the build server (I have to go through support to even do simple experiments).
>
> 	If you see my later emails it's been narrowed down to scm status command on the build server.
> 	Nothing to do with the release-plugin itself.
> Thanks,
> Robert
>
> -----Original Message-----
> From: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com]
> Sent: Friday, May 03, 2013 4:48 PM
> To: users@maven.apache.org
> Subject: Re: Maven-release-plugin AND IBM RTC build engine...
>
> Doing a Maven release can be tricky if you are having problems with your
> SCM plugin. It took me a long time to get release to work with Perforce
> (but it still does not work properly), and you would think that would
> just work.
>
> Are you using the Jazz SCM or something else?
>
> Cheers, Eric
>
> On 2013-05-03 9:34 AM, Zanzerkia, Robert wrote:
>> I did few more experiments...
>> 1) Renamed the RTC component so there is no space in the name.
>> 2) Made sure directory has permission for build account etc.
>> 3) Experimented by replacing maven command to just mvn scm:status and that works without error.
>> 	So it's only via release-plug-in we get the error on scm status command.
>>
>> 	Since replease-plug-in works on my laptop this is an issue on interaction between maven, release-plugin and "Jazz build engine"
>> 	I re-ran the RTC build with -X switch in maven to get detailed log so we can compare against release.log (one from my laptop).
>>     Thanks,
>> Robert
>> PS: I have attached  RTC_JAZZ-Build.log from build server.
>>
>> Working release.log
>> [DEBUG] repositoryWorkspace - EI_9.05_Release_Snapshot
>> [DEBUG] Executing status command...
>> [INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password ***** --wide"
>> [INFO] Working directory: C:\Documents and Settings\a408072.DMN1\workspace301-EI-9.05_Rel\EI AS-ITAM uCMDB Pattern DEV
>> [DEBUG] Consumed line :Workspace: (1189) "EI_9.05_Release_Snapshot" <-> (1001) "EI AS-ITAM uCMDB 9.02 EI Stream"
>>
>>
>> NOT working RTC build lines.
>> [DEBUG] repositoryWorkspace - srvrtcbuild-EI-AS-ITAM-PatternDEV-DEV_Release_WS
>> [DEBUG] Executing status command...
>> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
>> [INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
>> [DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
>> [DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.
>> [ERROR] Error: Problem running 'status':
>> Current directory is not shared. Run from a shared directory.
>>     
>>
>> -----Original Message-----
>> From: Zanzerkia, Robert
>> Sent: Tuesday, April 30, 2013 11:56 AM
>> To: Maven Users List
>> Subject: RE: Maven-release-plugin AND IBM RTC build engine...
>>
>> Hi,
>>    Actually it was Chris who helped me... Thanks Chris.
>>
>>    When I said NO access to RTC Build engine I meant for the physical server where the build runs.
>>    We have a support group that manages these servers which is why I don't have the direct access.
>>    (Yes that makes it more difficult to trouble shoot).
>>
>>    I am working with the local person to trouble shoot the issue.
>>
>>    The issue comes down to the scm -status command where on my laptop it works fine but on the RTC build engine it gives below error.
>>
>> We have defined
>> -DworkingDirectory = D:\temp\Maven (for the plugin working directory).
>> repository local directory = <localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
>> RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2
>>
>>    
>> [INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ uCMDB-PatternDev ---
>> [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-Discovery2\EI AS-ITAM uCMDB Pattern DEV
>> [ERROR] Error: Problem running 'status':
>> Current directory is not shared. Run from a shared directory.
>>
>> Thanks,
>> Robert
>>
>> -----Original Message-----
>> From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
>> Sent: Monday, April 29, 2013 11:25 AM
>> To: Maven Users List
>> Subject: Re: Maven-release-plugin AND IBM RTC build engine...
>>
>> Perhaps Chris Graham might be able to help... given that from what I
>> understand IBM decided not to let him go!!! Of course that assumes he has
>> access to the toolchain!
>>
>>
>> On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:
>>
>>>>     I still DO NOT have the release plug-in working with RTC build engine.
>>> ...
>>>> work as well, unfortunately I don't have access to RTC build engine...
>>> And this is exactly the reason why the release plugin does not work
>>> with RTC build engine.
>>>
>>> If you don't have access to RTC build engine, yet you are a customer
>>> of IBM's and use their tools etc, how can any random open source
>>> developer be granted the necessary access to these tools (Jazz, RTC,
>>> etc) so the release plugin can be adapted as needed to work along with
>>> it?
>>>
>>> This is why Maven plugins for proprietary tools will ALWAYS lag in
>>> functionality behind open source tools. For all intents, it
>>> practically requires the VENDOR to put in the effort to build/adapt
>>> the plugin for their products. If you have the ability to do so, I'd
>>> open a bug/ticket with IBM and ask them to support the Maven release
>>> plugin, otherwise I doubt this functionality will ever be added by
>>> anyone else.
>>>
>>> Wayne
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Hi Eric,
	I am using Jazz SCM.
	It's even more painful as I don't have direct access to the build server (I have to go through support to even do simple experiments).

	If you see my later emails it's been narrowed down to scm status command on the build server.
	Nothing to do with the release-plugin itself.
Thanks,
Robert 

-----Original Message-----
From: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com] 
Sent: Friday, May 03, 2013 4:48 PM
To: users@maven.apache.org
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Doing a Maven release can be tricky if you are having problems with your 
SCM plugin. It took me a long time to get release to work with Perforce 
(but it still does not work properly), and you would think that would 
just work.

Are you using the Jazz SCM or something else?

Cheers, Eric

On 2013-05-03 9:34 AM, Zanzerkia, Robert wrote:
> I did few more experiments...
> 1) Renamed the RTC component so there is no space in the name.
> 2) Made sure directory has permission for build account etc.
> 3) Experimented by replacing maven command to just mvn scm:status and that works without error.
> 	So it's only via release-plug-in we get the error on scm status command.
>
> 	Since replease-plug-in works on my laptop this is an issue on interaction between maven, release-plugin and "Jazz build engine"
> 	I re-ran the RTC build with -X switch in maven to get detailed log so we can compare against release.log (one from my laptop).
>    Thanks,
> Robert
> PS: I have attached  RTC_JAZZ-Build.log from build server.
>
> Working release.log
> [DEBUG] repositoryWorkspace - EI_9.05_Release_Snapshot
> [DEBUG] Executing status command...
> [INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password ***** --wide"
> [INFO] Working directory: C:\Documents and Settings\a408072.DMN1\workspace301-EI-9.05_Rel\EI AS-ITAM uCMDB Pattern DEV
> [DEBUG] Consumed line :Workspace: (1189) "EI_9.05_Release_Snapshot" <-> (1001) "EI AS-ITAM uCMDB 9.02 EI Stream"
>
>
> NOT working RTC build lines.
> [DEBUG] repositoryWorkspace - srvrtcbuild-EI-AS-ITAM-PatternDEV-DEV_Release_WS
> [DEBUG] Executing status command...
> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
> [DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
> [DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.
> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.
>    
>
> -----Original Message-----
> From: Zanzerkia, Robert
> Sent: Tuesday, April 30, 2013 11:56 AM
> To: Maven Users List
> Subject: RE: Maven-release-plugin AND IBM RTC build engine...
>
> Hi,
>   Actually it was Chris who helped me... Thanks Chris.
>
>   When I said NO access to RTC Build engine I meant for the physical server where the build runs.
>   We have a support group that manages these servers which is why I don't have the direct access.
>   (Yes that makes it more difficult to trouble shoot).
>
>   I am working with the local person to trouble shoot the issue.
>
>   The issue comes down to the scm -status command where on my laptop it works fine but on the RTC build engine it gives below error.
>
> We have defined
> -DworkingDirectory = D:\temp\Maven (for the plugin working directory).
> repository local directory = <localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
> RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2
>
>   
> [INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ uCMDB-PatternDev ---
> [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-Discovery2\EI AS-ITAM uCMDB Pattern DEV
> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
> Sent: Monday, April 29, 2013 11:25 AM
> To: Maven Users List
> Subject: Re: Maven-release-plugin AND IBM RTC build engine...
>
> Perhaps Chris Graham might be able to help... given that from what I
> understand IBM decided not to let him go!!! Of course that assumes he has
> access to the toolchain!
>
>
> On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:
>
>>>    I still DO NOT have the release plug-in working with RTC build engine.
>> ...
>>> work as well, unfortunately I don't have access to RTC build engine...
>> And this is exactly the reason why the release plugin does not work
>> with RTC build engine.
>>
>> If you don't have access to RTC build engine, yet you are a customer
>> of IBM's and use their tools etc, how can any random open source
>> developer be granted the necessary access to these tools (Jazz, RTC,
>> etc) so the release plugin can be adapted as needed to work along with
>> it?
>>
>> This is why Maven plugins for proprietary tools will ALWAYS lag in
>> functionality behind open source tools. For all intents, it
>> practically requires the VENDOR to put in the effort to build/adapt
>> the plugin for their products. If you have the ability to do so, I'd
>> open a bug/ticket with IBM and ask them to support the Maven release
>> plugin, otherwise I doubt this functionality will ever be added by
>> anyone else.
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Eric Kolotyluk <er...@gmail.com>.
Doing a Maven release can be tricky if you are having problems with your 
SCM plugin. It took me a long time to get release to work with Perforce 
(but it still does not work properly), and you would think that would 
just work.

Are you using the Jazz SCM or something else?

Cheers, Eric

On 2013-05-03 9:34 AM, Zanzerkia, Robert wrote:
> I did few more experiments...
> 1) Renamed the RTC component so there is no space in the name.
> 2) Made sure directory has permission for build account etc.
> 3) Experimented by replacing maven command to just mvn scm:status and that works without error.
> 	So it's only via release-plug-in we get the error on scm status command.
>
> 	Since replease-plug-in works on my laptop this is an issue on interaction between maven, release-plugin and "Jazz build engine"
> 	I re-ran the RTC build with -X switch in maven to get detailed log so we can compare against release.log (one from my laptop).
>    Thanks,
> Robert
> PS: I have attached  RTC_JAZZ-Build.log from build server.
>
> Working release.log
> [DEBUG] repositoryWorkspace - EI_9.05_Release_Snapshot
> [DEBUG] Executing status command...
> [INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password ***** --wide"
> [INFO] Working directory: C:\Documents and Settings\a408072.DMN1\workspace301-EI-9.05_Rel\EI AS-ITAM uCMDB Pattern DEV
> [DEBUG] Consumed line :Workspace: (1189) "EI_9.05_Release_Snapshot" <-> (1001) "EI AS-ITAM uCMDB 9.02 EI Stream"
>
>
> NOT working RTC build lines.
> [DEBUG] repositoryWorkspace - srvrtcbuild-EI-AS-ITAM-PatternDEV-DEV_Release_WS
> [DEBUG] Executing status command...
> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
> [DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
> [DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.
> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.
>    
>
> -----Original Message-----
> From: Zanzerkia, Robert
> Sent: Tuesday, April 30, 2013 11:56 AM
> To: Maven Users List
> Subject: RE: Maven-release-plugin AND IBM RTC build engine...
>
> Hi,
>   Actually it was Chris who helped me... Thanks Chris.
>
>   When I said NO access to RTC Build engine I meant for the physical server where the build runs.
>   We have a support group that manages these servers which is why I don't have the direct access.
>   (Yes that makes it more difficult to trouble shoot).
>
>   I am working with the local person to trouble shoot the issue.
>
>   The issue comes down to the scm -status command where on my laptop it works fine but on the RTC build engine it gives below error.
>
> We have defined
> -DworkingDirectory = D:\temp\Maven (for the plugin working directory).
> repository local directory = <localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
> RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2
>
>   
> [INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ uCMDB-PatternDev ---
> [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-Discovery2\EI AS-ITAM uCMDB Pattern DEV
> [ERROR] Error: Problem running 'status':
> Current directory is not shared. Run from a shared directory.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
> Sent: Monday, April 29, 2013 11:25 AM
> To: Maven Users List
> Subject: Re: Maven-release-plugin AND IBM RTC build engine...
>
> Perhaps Chris Graham might be able to help... given that from what I
> understand IBM decided not to let him go!!! Of course that assumes he has
> access to the toolchain!
>
>
> On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:
>
>>>    I still DO NOT have the release plug-in working with RTC build engine.
>> ...
>>> work as well, unfortunately I don't have access to RTC build engine...
>> And this is exactly the reason why the release plugin does not work
>> with RTC build engine.
>>
>> If you don't have access to RTC build engine, yet you are a customer
>> of IBM's and use their tools etc, how can any random open source
>> developer be granted the necessary access to these tools (Jazz, RTC,
>> etc) so the release plugin can be adapted as needed to work along with
>> it?
>>
>> This is why Maven plugins for proprietary tools will ALWAYS lag in
>> functionality behind open source tools. For all intents, it
>> practically requires the VENDOR to put in the effort to build/adapt
>> the plugin for their products. If you have the ability to do so, I'd
>> open a bug/ticket with IBM and ask them to support the Maven release
>> plugin, otherwise I doubt this functionality will ever be added by
>> anyone else.
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Wayne,
	Ok this proves that it has nothing to do with release-plug-in.

D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages>scm status --username srvrtcbuild  -password <Whatever>  --wide
Problem running 'status':
Current directory is not shared. Run from a shared directory.
 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Friday, May 03, 2013 2:24 PM
To: Maven Users List
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
> [DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
> [DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.

Go to that working directory.
Type that command "scm status --username svrtcbuild --password
(whatever) --wide".
Then come back here and tell us what the output was.

I still think this is a local SCM issue (Jazz) and all evidence you've
provided supports that.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Wayne Fay <wa...@gmail.com>.
> [INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
> [INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
> [DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
> [DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.

Go to that working directory.
Type that command "scm status --username svrtcbuild --password
(whatever) --wide".
Then come back here and tell us what the output was.

I still think this is a local SCM issue (Jazz) and all evidence you've
provided supports that.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
I did few more experiments...
1) Renamed the RTC component so there is no space in the name.
2) Made sure directory has permission for build account etc.
3) Experimented by replacing maven command to just mvn scm:status and that works without error.
	So it's only via release-plug-in we get the error on scm status command.

	Since replease-plug-in works on my laptop this is an issue on interaction between maven, release-plugin and "Jazz build engine"
	I re-ran the RTC build with -X switch in maven to get detailed log so we can compare against release.log (one from my laptop).
  Thanks,
Robert
PS: I have attached  RTC_JAZZ-Build.log from build server. 

Working release.log
[DEBUG] repositoryWorkspace - EI_9.05_Release_Snapshot
[DEBUG] Executing status command...
[INFO] Executing: cmd.exe /X /C "scm status --username a408072 --password ***** --wide"
[INFO] Working directory: C:\Documents and Settings\a408072.DMN1\workspace301-EI-9.05_Rel\EI AS-ITAM uCMDB Pattern DEV
[DEBUG] Consumed line :Workspace: (1189) "EI_9.05_Release_Snapshot" <-> (1001) "EI AS-ITAM uCMDB 9.02 EI Stream"


NOT working RTC build lines.
[DEBUG] repositoryWorkspace - srvrtcbuild-EI-AS-ITAM-PatternDEV-DEV_Release_WS
[DEBUG] Executing status command...
[INFO] Executing: cmd.exe /X /C "scm status --username srvrtcbuild --password ***** --wide"
[INFO] Working directory: D:\RTCBuildWorkspace\EI-ITAMTEST\uCMDBPackages
[DEBUG] ErrorConsumer.consumeLine: Problem running 'status':
[DEBUG] ErrorConsumer.consumeLine: Current directory is not shared. Run from a shared directory.
[ERROR] Error: Problem running 'status':
Current directory is not shared. Run from a shared directory.
  

-----Original Message-----
From: Zanzerkia, Robert 
Sent: Tuesday, April 30, 2013 11:56 AM
To: Maven Users List
Subject: RE: Maven-release-plugin AND IBM RTC build engine...

Hi,
 Actually it was Chris who helped me... Thanks Chris.

 When I said NO access to RTC Build engine I meant for the physical server where the build runs.
 We have a support group that manages these servers which is why I don't have the direct access.
 (Yes that makes it more difficult to trouble shoot).

 I am working with the local person to trouble shoot the issue.

 The issue comes down to the scm -status command where on my laptop it works fine but on the RTC build engine it gives below error.

We have defined 
-DworkingDirectory = D:\temp\Maven (for the plugin working directory).
repository local directory = <localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2 

 
[INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ uCMDB-PatternDev ---
[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-Discovery2\EI AS-ITAM uCMDB Pattern DEV
[ERROR] Error: Problem running 'status':
Current directory is not shared. Run from a shared directory.

Thanks,
Robert

-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com] 
Sent: Monday, April 29, 2013 11:25 AM
To: Maven Users List
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Perhaps Chris Graham might be able to help... given that from what I
understand IBM decided not to let him go!!! Of course that assumes he has
access to the toolchain!


On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:

> >   I still DO NOT have the release plug-in working with RTC build engine.
> ...
> > work as well, unfortunately I don't have access to RTC build engine...
>
> And this is exactly the reason why the release plugin does not work
> with RTC build engine.
>
> If you don't have access to RTC build engine, yet you are a customer
> of IBM's and use their tools etc, how can any random open source
> developer be granted the necessary access to these tools (Jazz, RTC,
> etc) so the release plugin can be adapted as needed to work along with
> it?
>
> This is why Maven plugins for proprietary tools will ALWAYS lag in
> functionality behind open source tools. For all intents, it
> practically requires the VENDOR to put in the effort to build/adapt
> the plugin for their products. If you have the ability to do so, I'd
> open a bug/ticket with IBM and ask them to support the Maven release
> plugin, otherwise I doubt this functionality will ever be added by
> anyone else.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Hi,
 Actually it was Chris who helped me... Thanks Chris.

 When I said NO access to RTC Build engine I meant for the physical server where the build runs.
 We have a support group that manages these servers which is why I don't have the direct access.
 (Yes that makes it more difficult to trouble shoot).

 I am working with the local person to trouble shoot the issue.

 The issue comes down to the scm -status command where on my laptop it works fine but on the RTC build engine it gives below error.

We have defined 
-DworkingDirectory = D:\temp\Maven (for the plugin working directory).
repository local directory = <localRepository>D:\data\mavenrepo\ei_itam_discovery</localRepository>
RTC load directory: load directory = ${BUILDWORKSPACE}\EI-Discovery2 

 
[INFO] --- maven-release-plugin:2.4.1:prepare (default-cli) @ uCMDB-PatternDev ---
[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-Discovery2\EI AS-ITAM uCMDB Pattern DEV
[ERROR] Error: Problem running 'status':
Current directory is not shared. Run from a shared directory.

Thanks,
Robert

-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com] 
Sent: Monday, April 29, 2013 11:25 AM
To: Maven Users List
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Perhaps Chris Graham might be able to help... given that from what I
understand IBM decided not to let him go!!! Of course that assumes he has
access to the toolchain!


On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:

> >   I still DO NOT have the release plug-in working with RTC build engine.
> ...
> > work as well, unfortunately I don't have access to RTC build engine...
>
> And this is exactly the reason why the release plugin does not work
> with RTC build engine.
>
> If you don't have access to RTC build engine, yet you are a customer
> of IBM's and use their tools etc, how can any random open source
> developer be granted the necessary access to these tools (Jazz, RTC,
> etc) so the release plugin can be adapted as needed to work along with
> it?
>
> This is why Maven plugins for proprietary tools will ALWAYS lag in
> functionality behind open source tools. For all intents, it
> practically requires the VENDOR to put in the effort to build/adapt
> the plugin for their products. If you have the ability to do so, I'd
> open a bug/ticket with IBM and ask them to support the Maven release
> plugin, otherwise I doubt this functionality will ever be added by
> anyone else.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Stephen Connolly <st...@gmail.com>.
Perhaps Chris Graham might be able to help... given that from what I
understand IBM decided not to let him go!!! Of course that assumes he has
access to the toolchain!


On 29 April 2013 16:07, Wayne Fay <wa...@gmail.com> wrote:

> >   I still DO NOT have the release plug-in working with RTC build engine.
> ...
> > work as well, unfortunately I don't have access to RTC build engine...
>
> And this is exactly the reason why the release plugin does not work
> with RTC build engine.
>
> If you don't have access to RTC build engine, yet you are a customer
> of IBM's and use their tools etc, how can any random open source
> developer be granted the necessary access to these tools (Jazz, RTC,
> etc) so the release plugin can be adapted as needed to work along with
> it?
>
> This is why Maven plugins for proprietary tools will ALWAYS lag in
> functionality behind open source tools. For all intents, it
> practically requires the VENDOR to put in the effort to build/adapt
> the plugin for their products. If you have the ability to do so, I'd
> open a bug/ticket with IBM and ask them to support the Maven release
> plugin, otherwise I doubt this functionality will ever be added by
> anyone else.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Wayne Fay <wa...@gmail.com>.
>   I still DO NOT have the release plug-in working with RTC build engine.
...
> work as well, unfortunately I don't have access to RTC build engine...

And this is exactly the reason why the release plugin does not work
with RTC build engine.

If you don't have access to RTC build engine, yet you are a customer
of IBM's and use their tools etc, how can any random open source
developer be granted the necessary access to these tools (Jazz, RTC,
etc) so the release plugin can be adapted as needed to work along with
it?

This is why Maven plugins for proprietary tools will ALWAYS lag in
functionality behind open source tools. For all intents, it
practically requires the VENDOR to put in the effort to build/adapt
the plugin for their products. If you have the ability to do so, I'd
open a bug/ticket with IBM and ask them to support the Maven release
plugin, otherwise I doubt this functionality will ever be added by
anyone else.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Update:
  I still DO NOT have the release plug-in working with RTC build engine.
  However I got an excellent help from the SCM integration developer and I have the release plug-in
  working from my desktop.
  Some lessons learned:
	use -DworkingDirectory switch to temp directory (to avoid sand-box issues).
	My build was creating temporary files that did not need to be part of the SCM.
	  - These files had to be on RTC (JazzIgnore list), otherwise plug-in warns of modified files the next time you do the build.
	
	I think creating a fresh workspace directory on RTC build engine (and no spaces in either directory name or workspace name) it will work as well, unfortunately I don't have access to RTC build engine...

Thanks,
Robert 

-----Original Message-----
From: Zanzerkia, Robert 
Sent: Friday, April 19, 2013 10:02 PM
To: Maven Users List
Subject: RE: Maven-release-plugin AND IBM RTC build engine...

Everyone,
 Thanks for suggestions.
 I will try without spaces and reduced length for working directory folder name...
 If I succeed I will post the update...
 It seems most people use release plug-in but not with RTC build engine...
 Or perhaps they don't use long folder names...

Thanks,
Robert 

-----Original Message-----
From: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com] 
Sent: Friday, April 19, 2013 9:26 PM
To: users@maven.apache.org
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Sorry, I cannot stop laughing because the statement is true, but so sad.

While most Windows APIs and UIs have been fixed to handle special 
characters, such as spaces, sadly there are still places in Windows that 
have not been fixed yet, and likely will never be fixed. Don't get me 
started on path lengths ;-)

However, Linux and OS X should not get off scott free either, as they 
both have problems with special characters too in some places, but maybe 
not in this case.

I have successfully used RTC on Windows with Maven and not had any 
problems with spaces yet, but I never got as far as trying to do a 
release, so I did not want to comment on that special case. For all we 
know this could be a problem with RTC, Maven, or any number of things. I 
look forward to hearing what the solution is.

Cheers, Eric

On 2013-04-19 5:21 PM, Martin Gainty wrote:
> the bane of all Windows Implementors are special characters such as spaces in folder names e.g.
> C:\Documents and Settings
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by "Zanzerkia, Robert" <Ro...@fmr.com>.
Everyone,
 Thanks for suggestions.
 I will try without spaces and reduced length for working directory folder name...
 If I succeed I will post the update...
 It seems most people use release plug-in but not with RTC build engine...
 Or perhaps they don't use long folder names...

Thanks,
Robert 

-----Original Message-----
From: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com] 
Sent: Friday, April 19, 2013 9:26 PM
To: users@maven.apache.org
Subject: Re: Maven-release-plugin AND IBM RTC build engine...

Sorry, I cannot stop laughing because the statement is true, but so sad.

While most Windows APIs and UIs have been fixed to handle special 
characters, such as spaces, sadly there are still places in Windows that 
have not been fixed yet, and likely will never be fixed. Don't get me 
started on path lengths ;-)

However, Linux and OS X should not get off scott free either, as they 
both have problems with special characters too in some places, but maybe 
not in this case.

I have successfully used RTC on Windows with Maven and not had any 
problems with spaces yet, but I never got as far as trying to do a 
release, so I did not want to comment on that special case. For all we 
know this could be a problem with RTC, Maven, or any number of things. I 
look forward to hearing what the solution is.

Cheers, Eric

On 2013-04-19 5:21 PM, Martin Gainty wrote:
> the bane of all Windows Implementors are special characters such as spaces in folder names e.g.
> C:\Documents and Settings
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Eric Kolotyluk <er...@gmail.com>.
Sorry, I cannot stop laughing because the statement is true, but so sad.

While most Windows APIs and UIs have been fixed to handle special 
characters, such as spaces, sadly there are still places in Windows that 
have not been fixed yet, and likely will never be fixed. Don't get me 
started on path lengths ;-)

However, Linux and OS X should not get off scott free either, as they 
both have problems with special characters too in some places, but maybe 
not in this case.

I have successfully used RTC on Windows with Maven and not had any 
problems with spaces yet, but I never got as far as trying to do a 
release, so I did not want to comment on that special case. For all we 
know this could be a problem with RTC, Maven, or any number of things. I 
look forward to hearing what the solution is.

Cheers, Eric

On 2013-04-19 5:21 PM, Martin Gainty wrote:
> the bane of all Windows Implementors are special characters such as spaces in folder names e.g.
> C:\Documents and Settings
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven-release-plugin AND IBM RTC build engine...

Posted by Martin Gainty <mg...@hotmail.com>.
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
> >
> >
> >
> >
 		 	   		  

Re: Maven-release-plugin AND IBM RTC build engine...

Posted by Benson Margulies <bi...@gmail.com>.
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\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
>
>
>
>