It seems the current version of the project you are trying to release
is already a release, ie the version does not end in SNAPSHOT.

Cheers,
Brett

2008/10/8  <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm having some problems on running mvn release:prepare in a multi-module
> project. Can anyone help?
>
> Error message:
>
> D:\matheus\workspace2\TesteMaven>mvn -e release:prepare
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   TesteMaven
> [INFO]   Blah
> [INFO] Searching repository for plugin with prefix: 'release'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building TesteMaven
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [release:prepare]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] You don't have a SNAPSHOT project in the reactor projects list.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: You don't have a SNAPSHOT project
> in the reactor projects list.
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>        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: You don't have a
> SNAPSHOT project in the reactor projects list.
>        at
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:144)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>        ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Oct 07 18:21:16 BRT 2008
> [INFO] Final Memory: 4M/9M
> [INFO]
> ------------------------------------------------------------------------
>
>
> -------------------------------------------------------------------------------
>
> Matheus Cabral
> PETROBRAS
> TIC/TIC-E&P/SNEP - Soluções de Negócios do E&P
> NArT - Núcleo de Arquitetura e Tecnologia
> Fone: 814-2364 (interno), 3224-2364 (externo)
> -------------------------------------------------------------------------------
>
>
>
> "O emitente desta mensagem é responsável por seu conteúdo e endereçamento. 
> Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida 
> autorização, a divulgação, a reprodução, a distribuição ou qualquer outra 
> ação em desconformidade com as normas internas do Sistema Petrobras são 
> proibidas e passíveis de sanção disciplinar, cível e criminal."
>
> "The sender of this message is responsible for its content and addressing. 
> The receiver shall take proper care of it. Without due authorization, the 
> publication, reproduction, distribution or the performance of  any other 
> action not conforming to Petrobras System internal policies and procedures is 
> forbidden and liable to disciplinary, civil or criminal sanctions."
>
> "El emisor de este mensaje es responsable por su contenido y 
> direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin la 
> debida autorización, su divulgación, reproducción, distribución o cualquier 
> otra acción no conforme a las normas internas del Sistema Petrobras están 
> prohibidas y serán pasibles de sanción disciplinaria, civil y penal."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to