Gabriel, Andreas a écrit :
Hi!




I somehow don't manage to get the maven-release-plugin running with CVS.
When I run the mvn release:prepare target, the plugin complains
"password is required" when verifying that no local changes were made. I
found out, that the plugin is ignoring the "-D
project.scm.developerConnection" and uses the connection specified in
the pom.xml file (should'nt it be possible to override this with the -D
option?). Anyway updating the release.properties file after executing
the command once solves this problem.

Why don't you want use developerConnection defined in your pom?


After that I ran into the next problem: My project needs a plugin that
is still in development and therefore includes a SNAPSHOT version in the
build section (build-helper-maven-plugin). The release plugin complains
"Can't release project due to non released dependencies -
org.codehaus.mojo:build-helper-maven-plugin:maven-plugin:1.0-SNAPSHOT".
I understand that the plugin does not allow SNAPSHOT dependencies, but
why doesn't it allow SNAPSHOT build plugins? Is there any possibility to
ignore some dependencies?


Snaphot versions aren't allowed because it's possible that the build won't be 
reproductible.
If you want to use this version, try this :
- Remove the plugin version from your pom, (this version will be use if it install locally and it's the more recent)
- remove your release.properties
- restart the release process




My configuration is the following: WinXP, JDK 1.5.0_6, Maven 2.0.2,
maven-release-plugin 2.0-beta-3 and 2.0-beta-4-SNAPSHOT, CVSNT.




Regards,

 Andreas



***************************************************************************************************
The information in this email is confidential and may be legally privileged.  
Access to this email by anyone other than the intended addressee is 
unauthorized.  If you are not the intended recipient of this message, any 
review, disclosure, copying, distribution, retention, or any action taken or 
omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you are not the intended recipient, please reply to or forward a copy of this 
message to the sender and delete the message, any attachments, and any copies 
thereof from your system.
***************************************************************************************************


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

Reply via email to