You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Hirn, Joseph" <Jo...@cmegroup.com> on 2007/10/05 21:18:15 UTC

Maven Release --> Unable to enable editing on the POM - clearcase ucm

Hello. 

I'm having a problem with the release:prepare goal in Linux environment.
It works fine in Windows. It is giving the following error:

 <<<<<<<<<START CONSOLE OUTPUT>>>>>>>>>>>>>>>
[INFO] Checking out file: /view/jhirnYADA/cc/ETS_YADA/YADAYADA/pom.xml

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to enable editing on the POM
Provider message:
The cleartool command failed.
Command output:
<<<<<<<<<END CONSOLE OUTPUT>>>>>>>>>>>>>>>

About my environment: Maven 2.0.7 - Clearcase-UCM, running Linux as
non-root. The source code is in a dynamic view and I'm ok with it
creating a snapshot view. I have clearcase-settings.xml defined in
$MAVEN_HOME/conf to be of UCM type and the viewstore doesn't come into
play until release:perform. 

`mvn scm:validate` let's me know all is well with the SCM URL, unless
there are issues with / vs \ . The scm url in the pom is defined as
such:

<scm>
<connection>scm:clearcase:load
/ETS_YADA:\ETS_YADA:jhirn_YADA</connection>
</scm>


After I run release:prepare, the POM file is checked out and editable to
the user which maven runs as, but I still get this error. Again, I get
past this just fine in my windows environment. 

Running with -e gives me nothing interesting. 

Help meh, help meh... I've been trying for a week on my own and can't
figure out what's going on. Thanks to anyone who is able to help me. 

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


RE: Maven Release --> Unable to enable editing on the POM - clearcase ucm

Posted by "fernando.ney" <fe...@gmail.com>.
I  having the same problem, any solution?

-- 
View this message in context: http://www.nabble.com/exec-maven-plugin-tp13051745p22442784.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


RE: Maven Release --> Unable to enable editing on the POM - clearcase ucm

Posted by "Hirn, Joseph" <Jo...@cmegroup.com>.
Yes as I stated below, I get nothing interesting with -e:

[INFO] viewName = 'gfadm-qa1091c-maven' ; configSpec = 'load
/ETS_YADA_SOURCE/YADA' ; vobName = '\ETS_GFIXCCM_PROJECT' ; streamName =
'jhirn_ETS_YADA6.0'
[INFO] Updating yada-war to 6.0.7
[INFO] Ignoring artifact version update for expression:
${project.version}
[INFO] Updating yada-jar to 6.0.7
[INFO] Ignoring artifact version update for expression:
${project.version}
[INFO] Checking out file:
/view/jhirn_ETS_YADA6.0/cc/ETS_YADA_SOURCE/YADA/pom.xml

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to enable editing on the POM
Provider message:
The cleartool command failed.
Command output:

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to enable editing on the
POM
Provider message:
The cleartool command failed.
Command output:

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:560)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
enable editing on the POM
Provider message:
The cleartool command failed.
Command output:

        at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRelea
seMojo.java:135)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Oct 09 10:47:40 CDT 2007
[INFO] Final Memory: 5M/81M
[INFO]
------------------------------------------------------------------------

-----Original Message-----
From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com] 
Sent: Tuesday, October 09, 2007 1:05 AM
To: Maven Users List
Subject: Re: Maven Release --> Unable to enable editing on the POM -
clearcase ucm

did you try with -e?

2007/10/8, Hirn, Joseph <Jo...@cmegroup.com>:
>
> It is not... All of the console output is included below. The command
> output is blank. The next line maven logs is "for more information,
> run.. -e switch"
>
> -----Original Message-----
> From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com]
> Sent: Saturday, October 06, 2007 1:24 PM
> To: Maven Users List
> Subject: Re: Maven Release --> Unable to enable editing on the POM -
> clearcase ucm
>
> Is the cleartool command printed that is used?
>
> 2007/10/5, Hirn, Joseph <Jo...@cmegroup.com>:
> >
> > Hello.
> >
> > I'm having a problem with the release:prepare goal in Linux
> environment.
> > It works fine in Windows. It is giving the following error:
> >
> > <<<<<<<<<START CONSOLE OUTPUT>>>>>>>>>>>>>>>
> > [INFO] Checking out file:
/view/jhirnYADA/cc/ETS_YADA/YADAYADA/pom.xml
> >
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] Unable to enable editing on the POM
> > Provider message:
> > The cleartool command failed.
> > Command output:
> > <<<<<<<<<END CONSOLE OUTPUT>>>>>>>>>>>>>>>
> >
> > About my environment: Maven 2.0.7 - Clearcase-UCM, running Linux as
> > non-root. The source code is in a dynamic view and I'm ok with it
> > creating a snapshot view. I have clearcase-settings.xml defined in
> > $MAVEN_HOME/conf to be of UCM type and the viewstore doesn't come
into
> > play until release:perform.
> >
> > `mvn scm:validate` let's me know all is well with the SCM URL,
unless
> > there are issues with / vs \ . The scm url in the pom is defined as
> > such:
> >
> > <scm>
> > <connection>scm:clearcase:load
> > /ETS_YADA:\ETS_YADA:jhirn_YADA</connection>
> > </scm>
> >
> >
> > After I run release:prepare, the POM file is checked out and
editable
> to
> > the user which maven runs as, but I still get this error. Again, I
get
> > past this just fine in my windows environment.
> >
> > Running with -e gives me nothing interesting.
> >
> > Help meh, help meh... I've been trying for a week on my own and
can't
> > figure out what's going on. Thanks to anyone who is able to help me.
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Vigilog - an open source log file viewer:
http://vigilog.sourceforge.net
> Blog: http://www.jroller.com/page/Fester
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester

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


Re: Maven Release --> Unable to enable editing on the POM - clearcase ucm

Posted by Wim Deblauwe <wi...@gmail.com>.
did you try with -e?

2007/10/8, Hirn, Joseph <Jo...@cmegroup.com>:
>
> It is not... All of the console output is included below. The command
> output is blank. The next line maven logs is "for more information,
> run.. -e switch"
>
> -----Original Message-----
> From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com]
> Sent: Saturday, October 06, 2007 1:24 PM
> To: Maven Users List
> Subject: Re: Maven Release --> Unable to enable editing on the POM -
> clearcase ucm
>
> Is the cleartool command printed that is used?
>
> 2007/10/5, Hirn, Joseph <Jo...@cmegroup.com>:
> >
> > Hello.
> >
> > I'm having a problem with the release:prepare goal in Linux
> environment.
> > It works fine in Windows. It is giving the following error:
> >
> > <<<<<<<<<START CONSOLE OUTPUT>>>>>>>>>>>>>>>
> > [INFO] Checking out file: /view/jhirnYADA/cc/ETS_YADA/YADAYADA/pom.xml
> >
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Unable to enable editing on the POM
> > Provider message:
> > The cleartool command failed.
> > Command output:
> > <<<<<<<<<END CONSOLE OUTPUT>>>>>>>>>>>>>>>
> >
> > About my environment: Maven 2.0.7 - Clearcase-UCM, running Linux as
> > non-root. The source code is in a dynamic view and I'm ok with it
> > creating a snapshot view. I have clearcase-settings.xml defined in
> > $MAVEN_HOME/conf to be of UCM type and the viewstore doesn't come into
> > play until release:perform.
> >
> > `mvn scm:validate` let's me know all is well with the SCM URL, unless
> > there are issues with / vs \ . The scm url in the pom is defined as
> > such:
> >
> > <scm>
> > <connection>scm:clearcase:load
> > /ETS_YADA:\ETS_YADA:jhirn_YADA</connection>
> > </scm>
> >
> >
> > After I run release:prepare, the POM file is checked out and editable
> to
> > the user which maven runs as, but I still get this error. Again, I get
> > past this just fine in my windows environment.
> >
> > Running with -e gives me nothing interesting.
> >
> > Help meh, help meh... I've been trying for a week on my own and can't
> > figure out what's going on. Thanks to anyone who is able to help me.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
> Blog: http://www.jroller.com/page/Fester
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester

RE: Maven Release --> Unable to enable editing on the POM - clearcase ucm

Posted by "Hirn, Joseph" <Jo...@cmegroup.com>.
It is not... All of the console output is included below. The command
output is blank. The next line maven logs is "for more information,
run.. -e switch"

-----Original Message-----
From: Wim Deblauwe [mailto:wim.deblauwe@gmail.com] 
Sent: Saturday, October 06, 2007 1:24 PM
To: Maven Users List
Subject: Re: Maven Release --> Unable to enable editing on the POM -
clearcase ucm

Is the cleartool command printed that is used?

2007/10/5, Hirn, Joseph <Jo...@cmegroup.com>:
>
> Hello.
>
> I'm having a problem with the release:prepare goal in Linux
environment.
> It works fine in Windows. It is giving the following error:
>
> <<<<<<<<<START CONSOLE OUTPUT>>>>>>>>>>>>>>>
> [INFO] Checking out file: /view/jhirnYADA/cc/ETS_YADA/YADAYADA/pom.xml
>
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Unable to enable editing on the POM
> Provider message:
> The cleartool command failed.
> Command output:
> <<<<<<<<<END CONSOLE OUTPUT>>>>>>>>>>>>>>>
>
> About my environment: Maven 2.0.7 - Clearcase-UCM, running Linux as
> non-root. The source code is in a dynamic view and I'm ok with it
> creating a snapshot view. I have clearcase-settings.xml defined in
> $MAVEN_HOME/conf to be of UCM type and the viewstore doesn't come into
> play until release:perform.
>
> `mvn scm:validate` let's me know all is well with the SCM URL, unless
> there are issues with / vs \ . The scm url in the pom is defined as
> such:
>
> <scm>
> <connection>scm:clearcase:load
> /ETS_YADA:\ETS_YADA:jhirn_YADA</connection>
> </scm>
>
>
> After I run release:prepare, the POM file is checked out and editable
to
> the user which maven runs as, but I still get this error. Again, I get
> past this just fine in my windows environment.
>
> Running with -e gives me nothing interesting.
>
> Help meh, help meh... I've been trying for a week on my own and can't
> figure out what's going on. Thanks to anyone who is able to help me.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester

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


Re: Maven Release --> Unable to enable editing on the POM - clearcase ucm

Posted by Wim Deblauwe <wi...@gmail.com>.
Is the cleartool command printed that is used?

2007/10/5, Hirn, Joseph <Jo...@cmegroup.com>:
>
> Hello.
>
> I'm having a problem with the release:prepare goal in Linux environment.
> It works fine in Windows. It is giving the following error:
>
> <<<<<<<<<START CONSOLE OUTPUT>>>>>>>>>>>>>>>
> [INFO] Checking out file: /view/jhirnYADA/cc/ETS_YADA/YADAYADA/pom.xml
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to enable editing on the POM
> Provider message:
> The cleartool command failed.
> Command output:
> <<<<<<<<<END CONSOLE OUTPUT>>>>>>>>>>>>>>>
>
> About my environment: Maven 2.0.7 - Clearcase-UCM, running Linux as
> non-root. The source code is in a dynamic view and I'm ok with it
> creating a snapshot view. I have clearcase-settings.xml defined in
> $MAVEN_HOME/conf to be of UCM type and the viewstore doesn't come into
> play until release:perform.
>
> `mvn scm:validate` let's me know all is well with the SCM URL, unless
> there are issues with / vs \ . The scm url in the pom is defined as
> such:
>
> <scm>
> <connection>scm:clearcase:load
> /ETS_YADA:\ETS_YADA:jhirn_YADA</connection>
> </scm>
>
>
> After I run release:prepare, the POM file is checked out and editable to
> the user which maven runs as, but I still get this error. Again, I get
> past this just fine in my windows environment.
>
> Running with -e gives me nothing interesting.
>
> Help meh, help meh... I've been trying for a week on my own and can't
> figure out what's going on. Thanks to anyone who is able to help me.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester