I've been working with the release plugin for the first time and encountering build failures that I've gradually been able to resolve to the point where I'm prompted for the desired release version, next development version, etc. (in this initial test dry run I called it 2.5.0.a). My second to last failure involved a custom property variable ${sakai.version} used in certain Sakai dependency declarations that the release plugin was unable to update . I believe we have resolved this <version> issue by updating ${sakai.version} to SNAPSHOT.

However, when I issue the following release command

mvn -e release:clean release:prepare -DdryRun=true

I encounter another build failure due to a non-existent base-2.5.0.a.pom that Maven is attempting to locate. None of my poms in the multi-project build reference 2.5.0.a nor is there a release.properties file. The poms <version> are all SNAPSHOT.

How do I get the release plugin to stop trying to locate base-2.5.0.a.pom and instead commence the release process anew?

Any suggestions would be appreciated,

Cheers,

Anthony Whyte
University of Michigan



arwhyte$ mvn -e release:clean release:prepare -DdryRun=true
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/sakaiproject/base/2.5.0.a/base-2.5.0.a.pom [INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.sakaiproject
ArtifactId: base
Version: 2.5.0.a

Reason: Unable to download the artifact from any repository

 org.sakaiproject:base:pom:2.5.0.a

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.sakaiproject:base for project: org.sakaiproject:component-base:pom:null for project org.sakaiproject:component-base:pom:null
. . . .



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

Reply via email to