(non-binding) -1
I just tried to prepare a release in a multi-module
project. Usually, the release:prepare failed (because
Maven does not find released dependent artifact). An
easy fix was to run
mvn install
and then
mvn release:prepare
again.
The problem I have with maven-2.0.7 is release
preparation was not stopped (build is successful). The
exception was ignored, and the release is not safe
(what happend when it is a serious error?)
Here is the log :
[INFO] [release:prepare]
[INFO] Verifying that there are no local
modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: XXXXXXXX
[INFO] Checking dependencies and plugins for snapshots
...
What is the release version for "XXXXXXX"? (XXXXXXXXX)
3.0.11: :
What is the release version for "YYYYYYYY"?
(YYYYYYYYYYYY) 3.0.11: :
...
What is SCM release tag or label for "XXXXXXXXX"?
(XXXXXXXXX) xxxxxx-3.0.11: :
What is the new development version for "XXXXXXXXXXX"?
(XXXXXXXXX) 3.0.12-SNAPSHOT: :
What is the new development version for
"YYYYYYYYYYYY"? (YYYYYYYYYYYYYYYYYY) 3.0.12-SNAPSHOT:
:
...
[INFO] Transforming 'XXXXXXXXXXX'...
[INFO] Transforming 'YYYYYYYYYYY'...
...
[INFO] Executing preparation goals 'clean
integration-test'...
[INFO] Executing: mvn clean integration-test
--no-plugin-updates
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] XXXXXXXXXXXXX
[INFO] YYYYYYYYYYYYY
[INFO] ...
[INFO]
---------------------------------------------------------------------
-------
[INFO] Building XXXXXXXXXXXX
[INFO] task-segment: [clean, integration-test]
[INFO]
---------------------------------------------------------------------
-------
[INFO] [clean:clean]
....
[INFO]
---------------------------------------------------------------------
-------
[INFO] Building YYYYYYYYYYYYYYY
[INFO] task-segment: [clean, integration-test]
[INFO]
---------------------------------------------------------------------
-------
[INFO] [clean:clean]
...
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered
resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp YYYYYYYYYYY in
D:\Projets\xxxxxxxxxxxxxxxxxxx\target\YYYYYYYYYYYYYYYYYY-3.0.11
[INFO] Copy webapp webResources to
D:\Projets\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\target
\YYYYYYYYYYYYYYYYYYYYYYYYYY-3.0.11
[INFO]
---------------------------------------------------------------------
---
[ERROR] FATAL ERROR
[INFO]
---------------------------------------------------------------------
---
[INFO] basedir C:\Documents and
Settings\jhenry\.m2\repository\xxxxxxxxxxxxxxxxxxx
\YYYYYYYYYYYYYYYYYY\3.0.11
does not exist
[INFO]
---------------------------------------------------------------------
---
[INFO] Trace
java.lang.IllegalStateException: basedir
C:\Documents and
Settings\jhenry\.m2\repository\xxxxxxxxxxxxxxxxx\YYYYYYYYYYYYYYYYY
\3.0.11
does not
exist
at
org.codehaus.plexus.util.DirectoryScanner.scan
(DirectoryScanner.java:542)
at
org.apache.maven.plugin.war.AbstractWarMojo.getWarFiles
(AbstractWarMojo.java:824)
at
org.apache.maven.plugin.war.AbstractWarMojo.copyResources
(AbstractWarMojo.java:408)
at
org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp
(AbstractWarMojo.java:518)
at
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp
(AbstractWarMojo.java:347)
at
org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:
164)
at
org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:130)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
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:324)
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)
[INFO]
---------------------------------------------------------------------
---
[INFO] Total time: 23 seconds
[INFO] Finished at: Wed Jun 13 16:35:37 CEST 2007
[INFO] Final Memory: 9M/17M
[INFO]
---------------------------------------------------------------------
---
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
C:\DOCUME~1\jhenry\LOCALS~1\Temp\maven-scm-317401446.commit
xxxxxxxxxxxxxxxxxxxxxxxxx
[INFO] Working directory:
D:\Projets\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[INFO] Unknown line: 'Envoi
YYYYYYYYYYYYYYYY\pom.xml'
....
[INFO] Unknown line: 'Envoi pom.xml'
[INFO] Unknown line: 'Transmission des données
..............'
[INFO] Unknown line: 'Révision 1489 propagée.'
[INFO] Tagging release with the label
XXXXXXXXXX-3.0.11...
[INFO] Executing: svn --non-interactive copy --file
C:\DOCUME~1\jhenry\LOCALS~1\Temp\maven-scm-836421135.commit
. http://xxxxxxxxxxx/tags/xxxxxx-3.0.11
[INFO] Working directory: xxxxxxxxxxxxxxxxxxxxxxxx
[INFO] Transforming 'XXXXXXXXXXXXXXXXXXx...
[INFO] Transforming 'YYYYYYYYYYYYYYYYYY'...
...
[INFO] Removing release POMs...
[INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file
C:\DOCUME~1\jhenry\LOCALS~1\Temp\maven-scm-1268889289.commit
xxxxxxxxxx
[INFO] Working directory: XXXXXXXXXXXXXXXXXXXXXXX
[INFO] Unknown line: 'Envoi
xxxxxxxxxxxxxxx\pom.xml'
[INFO] Unknown line: 'Envoi pom.xml'
......
[INFO] Unknown line: 'Transmission des données
..............'
[INFO] Unknown line: 'Révision 1491 propagée.'
[INFO] Release preparation complete.
[INFO]
[INFO]
[INFO]
---------------------------------------------------------------------
---
[INFO] Reactor Summary:
[INFO]
---------------------------------------------------------------------
---
[INFO] XXXXXXXXXXXXXXXX
...................................... SUCCESS
[1:29.861s]
[INFO] YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
................ SUCCESS [4.688s]
.....
[INFO]
---------------------------------------------------------------------
---
[INFO]
---------------------------------------------------------------------
---
[INFO] BUILD SUCCESSFUL
[INFO]
---------------------------------------------------------------------
---
[INFO] Total time: 2 minutes 23 seconds
[INFO] Finished at: Wed Jun 13 16:35:56 CEST 2007
[INFO] Final Memory: 9M/18M
[INFO]
---------------------------------------------------------------------
---
--- Tom Huybrechts <[EMAIL PROTECTED]> a écrit
:
(non-binding) +1
On 6/13/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
Hi,
The release notes are here:
http://jira.codehaus.org/secure/ReleaseNote.jspa?
projectId=10500&styleName=Html&version=13138
The tag is here:
http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.7/
Staging repository:
http://people.apache.org/~jvanzyl/maven-2.0.7-staging-repository/
And the distros you are interested in are here:
http://people.apache.org/~jvanzyl/maven-2.0.7/
Thanks,
Jason.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
_____________________________________________________________________
________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
Yahoo! Mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]