Hello,
I'm trying to get a release with maven2 and svn and eclipse since about 1
week - that's when I started with Maven ...
Below you find the manual log tracked on my (long) way to a fatal error
while preparing a 'dry' release.
Thank you for helping me
Peter
my log:
1: mvn archetype:create -DgroupId=wfp -DartifactId=testApp
2: D:\Workspace>cd testApp
3: mvn eclipse:eclipse
4: go to Eclipse: File-New Project
Project Name: testApp
select Create New Project in Workspace
FINISH
5: Create Folder E:/SVN_Repos
Create new SVN Repository for folder
6: verify scm connection
D:\Workspace\testApp> mvn scm:changelog
-DconnectionUrl=scm:svn:file:///e://SVN_Repos 6.1: add the scm
statement to the pom
<scm>
<developerConnection>scm:svn:file:///e://SVN_Repos</developerConnection>
</scm>
7: from within Eclipse
Select project testApp
contect menu - team - share project
...
use existing repository location next
use project name as folder name
8: mvn release:prepare -DdryRun=true -X
and received a fatal error after some try
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "Maven Quick Start Archetype"? (wfp:testApp)
1.0: : 1.0
What is SCM release tag or label for "Maven Quick Start Archetype"?
(wfp:testApp) testApp-1.0: : testApp-1.0
What is the new development version for "Maven Quick Start Archetype"?
(wfp:testApp) 1.1-SNAPSHOT: : 1.1-SNAPSHOT
[INFO] Transforming 'Maven Quick Start Archetype'...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at java.util.Properties.setProperty(Properties.java:128)
at
org.apache.maven.plugins.release.config.PropertiesReleaseConfigurationStore.write(PropertiesReleaseConfigurationStore.jav
a:225)
at
org.apache.maven.plugins.release.config.PropertiesReleaseConfigurationStore.write(PropertiesReleaseConfigurationStore.jav
a:149)
at
org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:145)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Tue Aug 08 00:58:47 CEST 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/fatal-error-with-mvn-prepare%3Arelease--DdryRun%3Dtrue-tf2069535.html#a5697575
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]