Hi,
I've found the reason why release:prepare fails for my project (it's
an issue from Chas Douglass' post).
The scm section of my pom.xml was like this:
<scm>
<developerConnection>scm:svn:file:///usr/local/svnrep/xxx/trunk</
developerConnection>
</scm>
I downloaded the release plugin sources and checked the write method
in the PropertiesReleaseConfigurationStore.java class (this is where
the process fails).
And I've found, that the method assumes that a <connection> tag is
mandatory inside the scm section.
So the (temporary?) solution to this problem is to include both, the
<connection> and <developerConnection> in the scm section, eg:
<scm>
<connection>scm:svn:file:///usr/local/svnrep/xxx/trunk</connection>
<developerConnection>scm:svn:file:///usr/local/svnrep/xxx/trunk</
developerConnection>
</scm>
I think that this is a bug. The <developerConnection> should be
mandatory, but <connection> should be optional, because the
<developerConnection> is needed to perform
the release:perform. Or at least the process should stop and an
apropriate message should send to console.
If it's a bug, I will file a JIRA issue and send a patch.
What do you think?
Regards,
Jakub
On May 25, 2006, at 7:56 AM, Jakub Pawlowicz wrote:
Hi Andrew,
I'm using the latest version available on ibiblio - ie 2.0-beta-4.
I'll try to use beta-3 and beta-5-SNAPSHOT, and post some feedback
here.
Regards,
Jakub
On Wed, 24 May 2006 16:21:27 -0700, Andrew Kreps wrote
What version of the release plugin are you using? I found that I had
less trouble when specifying the 2.0-beta-4 version rather than
2.0-beta-5-SNAPSHOT.
On 5/24/06, Jakub Pawlowicz <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm facing the same problem with my project.
Have anybody solved this problem by now?
---------------------------------------------------------------------
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]