Eli,

you need to specify them as extra arguments. Like
this:

mvn release:prepare -Darguments="-P myProfiles"
mvn release:perform -Darguments="-P myProfiles"

You need to specify it both for prepare and perform.

Attila

> > From: Elid OR <[EMAIL PROTECTED]>
> To: users@maven.apache.org
> Subject: [m2] profiles are not used while using
> maven 2 release plugin
> Date: Mon, 15 Jan 2007 16:56:04 +0100
> 
> Hi all,
> 
> I would like to specifiy a profile when releasing
> but it seems that when I 
> add "-P myProfiles" it does not used it.
> 
> Any Idea ?
> 
> Elid OR.



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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

Reply via email to