On Dec 13, 2007 11:23 PM, James Levinson <[EMAIL PROTECTED]> wrote:
> I have been able to use profiles with the standard "mvn deploy", but when I
> try to run mvn release:perform (after prepare) I get the error below. My
> distributionManagement is inside my profile in my pom, but the plugin can't
> seem to find it. Perhaps, I am not understanding the plugin properly. Does
> anybody have this working ? Thanks.
...
> 1) mvn deploy -P prod --this works
>
> 2) mvn release:perform -P prod --fails
> [INFO] Executing: mvn deploy --no-plugin-updates -P prod
> -DperformRelease=true
> looks right but still fails with same error

I think it forks executions and does not pass the original parameters through.

Try (something like) -Darguments="-P prod"

http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html

-- 
Wendy

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

Reply via email to