My project version is *E1B-1.0-SNAPSHOT*

Now I tried to just prepare each of my modules by themselves, and here is
what I get:



[INFO]
----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Resuming release from phase 'check-dependency-snapshots'
[INFO] Checking dependencies and plugins for snapshots ...
There are still some remaining snapshot dependencies.: Do you want to
resolve them now? (yes/no) no: : yes
Dependency type to resolve,: specify the selection number ( 0:All 1:Project
Dependencies 2:Plugins 3:Reports 4:Extensions ): (0/1/2/3) 1: : 1
Resolve Project Dependency Snapshots.: [INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to parse the version string: "*E1B-1.0-SNAPSHOT*"

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Dec 28 09:04:05 PST 2007
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------





On Dec 27, 2007 11:07 AM, Mick Knutson <[EMAIL PROTECTED]> wrote:

> I am trying to just prepare a clearcase release. But I am using several
> snapshot plugins.
>
> I also have all my modules as snapshots. How do I get maven to ignore the
> plugin snapshots?
>
>
>
>
> [INFO] [release:prepare]
> [INFO] Resuming release from phase 'check-dependency-snapshots'
> [INFO] Checking dependencies and plugins for snapshots ...
> There are still some remaining snapshot dependencies.: Do you want to
> resolve them now? (yes/no) no: : yes
> Dependency type to resolve,: specify the selection number ( 0:All
> 1:Project Dependencies 2:Plugins 3:Reports 4:Extensions ): (0/1/2/3) 1: : 4
>
> specify the selection number ( 0:All 1:Project Dependencies 2:Plugins
> 3:Reports 4:Extensions ): (0/1/2/3) 1: : 3
> Resolve Report Dependency Snapshots.: [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>
> org.codehaus.mojo:dashboard-maven-plugin:maven-plugin:1.0-SNAPSHOT:runtime
> in project 'Delta Dental ESP DAP Master Project Object Model (POM)' (
> org.delta.esp:dap:pom:E1B-1.0-SNAPSHOT)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Can't release project due to non
> released dependencies :
>
> org.codehaus.mojo:dashboard-maven-plugin:maven-plugin:1.0-SNAPSHOT:runtime
> in project 'Delta Dental ESP DAP Master Project Object Model (POM)' (
> org.delta.esp:dap:pom:E1B-1.0-SNAPSHOT)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
> DefaultLifecycleExecutor.java:560)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:493)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
> DefaultLifecycleExecutor.java:224)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.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.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.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: Can't release
> project due to non released dependencies :
>
> org.codehaus.mojo:dashboard-maven-plugin:maven-plugin:1.0-SNAPSHOT:runtime
> *
> in project 'Delta Dental ESP DAP Master Project Object Model (POM)' (
> org.delta.esp:dap:pom:E1B-1.0-SNAPSHOT)
>         at org.apache.maven.plugins.release.PrepareReleaseMojo.execute (
> PrepareReleaseMojo.java:144)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java :539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 23 seconds
> [INFO] Finished at: Thu Dec 27 11:05:14 PST 2007
> [INFO] Final Memory: 14M/29M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---




-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Reply via email to