On 14 Jun 07, at 12:48 AM 14 Jun 07, Julien HENRY wrote:
IMHO it should be fixed before 2.0.7. If not, the
release process will be broken (the scm tag will be
done even if something goes wrong during the build).
You tried with these:
http://people.apache.org/~jvanzyl/maven-2.0.7/
And you've tried the 2.0-beta-4 version of the release plugin?
--- Brett Porter <[EMAIL PROTECTED]> a écrit :
It's possibly a problem in the windows batch file in
2.0.7 - I think
it was changed and it may no longer be correctly
propogating the
error code.
- Brett
On 14/06/2007, at 1:07 AM, Jason van Zyl wrote:
Is this not a release plugin problem?
If this error halted your build, was this with an
older version of
the release plugin?
On 13 Jun 07, at 8:01 AM 13 Jun 07, Julien HENRY
wrote:
(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)
=== message truncated ===
______________________________________________________________________
_____
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
questions !
Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]