I set that variable via the configuration section of the compiler
plugin of my pom.xml but the result of help:evaluate of that variable
returns null! My question is: how can I retrieve the default values of
the parameters of a certain plugin version?if I look at the plugin
site I can see that its default value is 1.5. But this is valid for
the current version..if I want to know its default value for an older
version what am I supposed to do??

2010/7/12, Anders Hammar <[email protected]>:
> This does work for me:
>
> mvn help:evaluate -Dmaven.compiler.source=1.5
> -Dexpression=maven.compiler.source
>
> I'm setting the maven.compiler.source property here on command line instead
> of specifying it in the project, which should work the same.
>
> /Anders
>
> On Mon, Jul 12, 2010 at 23:27, Justin Edelson
> <[email protected]>wrote:
>
>> From a shell, help:evaluate should be the right thing to do.
>>
>> Could it be that maven.compiler.source is, in fact, null?
>>
>> On 7/12/10 5:23 PM, Flavio Pompermaier wrote:
>> > I mean,how can I display their value?
>> >
>> > 2010/7/12, Justin Edelson <[email protected]>:
>> >> what do you mean by inspect?
>> >>
>> >> On 7/12/10 1:13 PM, Flavio Pompermaier wrote:
>> >>> Hi to all,
>> >>> is there a way to inspect maven.* variables (such as
>> >>> ${maven.compiler.source})?
>> >>> I tried to use the help:evaluate tool but it tells me "null object or
>> >>> invalid expression".
>> >>>
>> >>> Any idea??
>> >>>
>> >>> Best regards,
>> >>> Flavio
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> 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]
>> >>
>> >>
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

-- 
Inviato dal mio dispositivo mobile

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

Reply via email to