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

Reply via email to