Hi there, This is correct the release:prepare goal requires the project.scm.developerConnection parameter to be supplied on the commandline or defined within the project pom.xml file. The value of the element would be an appropriate SCM URL from the following SCM project page:
http://maven.apache.org/scm/scm-url-format.html The maven-release plugin makes use of the providers defined within the SCM maven subproject. For local subversion SCM access the following value would be appropriate: scm:svn:file:///D:/subversion-1.2.0_data/repositories/my_repo/my-app-example/trunk The SCM prefix, (scm:svn:....) allows the components to determine the SCM provider to use during execution. Currently I beleive there is still an issue with the tagBase parameter for the plugin. You can define the tagBase element within the plugin configuration element. In the case of the SCM URL above the SCM prefix should be dropped for this parameter value. So the following would be appropriate: file:///D:/subversion-1.2.0_data/repositories/my_repo/my-app-example/tags Hope this helps Trent On 14/11/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > There are two connections under the SCM tag (check the project model > documentation for more details): > > -- "connection" is a read-only connection for getting the source updates > > -- "developerConnection" is a read-write connection for making updates > > > I suspect you need to replicate the connection as the developer > connection. > > -----Original Message----- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: Monday, November 14, 2005 10:12 > To: Maven Users List > Subject: [m2] releasing a version > > > Hi, > > I'm trying mvn release:prepare but I get the following error: > > [INFO] > ------------------------------------------------------------------------ > ---- > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > ---- > [INFO] One or more required plugin parameters are invalid/missing for > 'release:prepare' > > [0] on the command line, specify: > '-Dproject.scm.developerConnection=VALUE' > > > What am I doing wrong? What is that VALUE I need? I specified this in my > pom.xml: > > <scm> > <connection>scm|local|Z:\modules\utils|utils-logging-jar</connection> > </scm> > > regards, > > Wim > > --------------------------------------------------------------------- > 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]
