Another use case as described in the issue is that if you script your call to maven with a -P parameter, and then you want to pass an additional profile in when calling the script, using multiple -P makes things simpler.

Jesse McConnell wrote:
well, configuration on something like the release plugin can specify
-Papache-release and then the user might have a profile being activated from
the commandline of the release like -Pall-modules which results in whatever
is munging these things together has to find the different instances and to
do the right thing whereas if multiple -P options its simpler and less error
prone..

off the top of my head at least

jesse

On Fri, Apr 25, 2008 at 11:26 AM, Jason van Zyl <[EMAIL PROTECTED]> wrote:

Why do you need multiple -P when you can specify -Pone,two,three ?


On 25-Apr-08, at 8:08 AM, Paul Gier wrote:

Hi Everyone,

Currently maven only handles a single -P option to activate profiles.  I
created a small patch for this issue (
http://jira.codehaus.org/browse/MNG-3268) that allows -P to be specified
multiple times on the command line.  Before I apply it, is this something
that can go into maven 2.0.x?  Or should this go only into 2.1?

Thanks!

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


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

-- Thoreau




---------------------------------------------------------------------
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]

Reply via email to