maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aldana <ald...@gmx.de>
Subject Re: passing through -D params from CLI to other plugins
Date Wed, 24 Jun 2009 17:34:13 GMT

I see.... 

but at least I won't forget this, it took me a while to find out why passing
-D params on the CLI did not have any effect on my plugin-setting.



Stephen Connolly-2 wrote:
> 
> none that I know... the passthrough that used to happen previously was
> AFAIK considered a bug...
> 
> also consider that you need to purge certain properties from
> passthrough, e.g. java debugger port to bind to
> 
> -Stephen
> 
> 2009/6/24 aldana <aldana@gmx.de>:
>>
>> when doing a:
>> mvn verify -DanyParam=true
>>
>> anyParam property is available inside pom.xml, but not passed through to
>> my
>> running test-suite in surefire or failsafe plugin, which is very annoying
>> because I have to manuall pass through these vars (by defining custom
>> properties in pom and referring it with ${xxx}).
>>
>> Is there a way in maven to tell plugins to pass through all -D parameters
>> to
>> other fork processes (like test runnings)? Or is there a special surefire
>> plugin setting for this?
>>
>> thanks.
>>
>> -----
>> manuel aldana
>> aldana((at))gmx.de
>> software-engineering blog: http://www.aldana-online.de
>> --
>> View this message in context:
>> http://www.nabble.com/passing-through--D-params-from-CLI-to-other-plugins-tp24188981p24188981.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 


-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: http://www.nabble.com/passing-through--D-params-from-CLI-to-other-plugins-tp24188981p24189359.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message