filed a ticket: http://jira.codehaus.org/browse/SUREFIRE-554


Stephen Connolly-2 wrote:
> 
> afaik, it is surefire that forks the jvm, so surefire is where I would  
> file the jira
> 
> if you roll your surefire version back to perhaps 2.3 you'd see the  
> system properties being passed through
> 
> Sent from my [rhymes with myPod] ;-)
> 
> On 24 Jun 2009, at 22:49, aldana <[email protected]> wrote:
> 
>>
>> I also think this would be a nice enhancement.
>>
>> You mentioned filing JIRA ticket against surefire-plugin, but isn't  
>> this
>> more related to the maven core handling of -D envs and is better  
>> placed in
>> maven2-JIRA?
>>
>>
>>
>> Stephen Connolly-2 wrote:
>>>
>>> what I think would be a good idea is allowing the specification of a
>>> list of regexs to match properties to pass through and a list of
>>> regexs to match properties to exclude... with exclude taking priority
>>> over include, and exclude having a default set to exclude the pain
>>> points that drove the properties not being passed through in the  
>>> first
>>> place
>>>
>>> perhaps you could file a JIRA for such an enhancement
>>>
>>> -Stephen
>>>
>>> P.S. file it against surefire... i'll be picking up all changes to
>>> maven-surefire-plugin and applying them to failsafe-maven-plugin when
>>> surefire next rolls a release
>>>
>>> 2009/6/24 aldana <[email protected]>:
>>>>
>>>> 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 <[email protected]>:
>>>>>>
>>>>>> 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: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>>
>>>>>
>>>>> --- 
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> -----
>>>> 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: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>>
>>
>> -----
>> 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-tp24188981p24193517.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 


-----
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-tp24188981p24220209.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to