Re: Maven variables

2011-06-23 Thread Kaizer Sogiawala
: 2.0 >> >>>>>>>>>>>>   * Required: No >> >>>>>>>>>>>>   * Expression: ${maven.compiler.source} >> >>>>>>>>>>>> >> >>>>>>>>>>> Th

Re: Maven variables

2010-08-04 Thread Anders Hammar
iler.source} > >>>>>>>>>>>> > >>>>>>>>>>> This means that if the property maven.compiler.source is > >> defined, > >>>>> use > >>>>>>>> that > >>>>>>>>>>

Re: Maven variables

2010-08-04 Thread Justin Edelson
>>>>>>>>>> >>>>>>>>>>>> How can I get that value? If it is not evaluable as an >> expression, >>>>> how >>>>>>>>>>>> can I know how it will be evaluated by the plugi

Re: Maven variables

2010-08-04 Thread Anders Hammar
gt;> >>>> 2010/7/13 Anders Hammar : > >>> >>> >>>>> No, you're not configuring the property that way. You're > >>> configuring > >>> >>> the > >>> >>> >>>>> plugi

Re: Maven variables

2010-08-04 Thread Justin Edelson
t configuring the property that way. You're >>> configuring >>> >>> the >>> >>> >>>>> plugin, but you're not setting the property. >>> >>> >>>>> A property is set in hte propertie

Re: Maven variables

2010-08-04 Thread Flavio Pompermaier
t; >>>>> /Anders >> >>> >>>>> >> >>> >>>>> On Tue, Jul 13, 2010 at 00:34, Flavio Pompermaier < >> fla8...@gmail.com >> >>> > >> >>> >>>> wrote: >> >>> >>>>

Re: Maven variables

2010-08-03 Thread Anders Hammar
le 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 > v

Re: Maven variables

2010-08-03 Thread Anders Hammar
le 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 > v

Re: Maven variables

2010-08-03 Thread Flavio Pompermaier
;>> >>>>>> 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.

Re: Maven variables

2010-08-03 Thread Flavio Pompermaier
>>>>>> 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?? >> >>&

Re: Maven variables

2010-08-03 Thread Anders Hammar
> >>>>>> 2010/7/12, Anders Hammar : > >>>>>>> This does work for me: > >>>>>>> > >>>>>>> mvn help:evaluate -Dmaven.compiler.source=1.5 > >>>>>>> -Dexpression=maven.compiler.source > >

Re: Maven variables

2010-08-03 Thread Flavio Pompermaier
gt;>>>> 2010/7/12, Anders Hammar : >>>>>>> This does work for me: >>>>>>> >>>>>>> mvn help:evaluate -Dmaven.compiler.source=1.5 >>>>>>> -Dexpression=maven.compiler.source >>>>>>> >&

Re: Maven variables

2010-08-03 Thread Justin Edelson
er.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. >>>>>> >>>>>> /An

Re: Maven variables

2010-08-03 Thread Flavio Pompermaier
erty 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 >&

Re: Maven variables

2010-07-13 Thread Stephen Connolly
. > >> >> > >> >> 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? > >> >> &

Re: Maven variables

2010-07-12 Thread Flavio Pompermaier
t;> On 7/12/10 5:23 PM, Flavio Pompermaier wrote: >> >> > I mean,how can I display their value? >> >> > >> >> > 2010/7/12, Justin Edelson : >> >> >> what do you mean by inspect? >> >> >> >

Re: Maven variables

2010-07-12 Thread Anders Hammar
their value? > >> > > >> > 2010/7/12, Justin Edelson : > >> >> what do you mean by inspect? > >> >> > >> >> On 7/12/10 1:13 PM, Flavio Pompermaier wrote: > >> >>> Hi to all, > >>

Re: Maven variables

2010-07-12 Thread Manfred Moser
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 : >>&g

Re: Maven variables

2010-07-12 Thread Flavio Pompermaier
ean 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

Re: Maven variables

2010-07-12 Thread Anders Hammar
son : > >> 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 tr

Re: Maven variables

2010-07-12 Thread Justin Edelson
t; >> 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 >&

Re: Maven variables

2010-07-12 Thread Flavio Pompermaier
I mean,how can I display their value? 2010/7/12, Justin Edelson : > 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

Re: Maven variables

2010-07-12 Thread Justin Edelson
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".

Maven variables

2010-07-12 Thread Flavio Pompermaier
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 --

Maven variables

2010-07-12 Thread Flavio Pompermaier
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 --

Re: Passing maven variables as system properties

2008-04-04 Thread alex941021
rc gets compiled to) to the >> unit tests as a system property? >> >> Thanks, >> >> Simon >> >> On Fri, 2006-03-10 at 11:47 +0100, [EMAIL PROTECTED] wrote: >> > Hi >> > >> > Try project.build.directory >> > >> &g

RE: Maven variables?

2008-02-26 Thread Bart Reader
Guide M- - Original Message - Wrom: TLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRN To: Sent: Monday, February 25, 2008 10:24 AM Subject: Maven variables? > Is there any list of maven variables and their definition? > I mean the properties that are not custom set like ${basedir}. > > Thanks, > Bart >

Re: Maven variables?

2008-02-25 Thread mgainty
the closest explanation I've seen to date is here http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide M- - Original Message - Wrom: TLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRN To: Sent: Monday, February 25, 2008 10:24 AM Subject: Maven variables? > Is there any list

Maven variables?

2008-02-25 Thread Bart Reader
Is there any list of maven variables and their definition? I mean the properties that are not custom set like ${basedir}. Thanks, Bart

Re: Passing maven variables

2007-05-07 Thread Wayne Fay
I'd be more inclined to set it in profiles.xml, but sure, you can set it in settings.xml if you want. Read this for more details on profiles: http://maven.apache.org/guides/introduction/introduction-to-profiles.html Wayne On 5/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We are currently

Passing maven variables

2007-05-07 Thread DavidWilliams
We are currently passing the -Dserver= on the mvn command line. This variable is referenced in the pom in the following manor. src/main/${server}/resources true Is it possible to set this variable in the settings.xml file and pas

Re: Expansion of maven variables

2006-07-25 Thread Simon Kitching
Hi Gilles, Thanks for your comments. On Mon, 2006-07-24 at 23:48 -0700, Gilles Scokart wrote: > ${project.classpathElements} can be used when your parameter is a List . > Here you want to place it in a String. True, and maybe that's the problem. The things that are working are all of type Strin

Re: Expansion of maven variables

2006-07-24 Thread Gilles Scokart
://www.nabble.com/Expansion-of-maven-variables-tf1996470.html#a5480707 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Expansion of maven variables

2006-07-24 Thread Simon Kitching
Hi, I'm confused by the availability of maven variables, in particular ${project.testClasspathElements}. In a surefire config section, I've got this: **/DumpProps.java test.finalName ${project.build

Re: Passing maven variables as system properties

2006-03-11 Thread Marco Mistroni
rty? > > Thanks, > > Simon > > On Fri, 2006-03-10 at 11:47 +0100, [EMAIL PROTECTED] wrote: > > Hi > > > > Try project.build.directory > > > > Hermod > > > > -Original Message- > > From: Simon Kitching [mailto:[EMAIL PROTECTED]

RE: Passing maven variables as system properties

2006-03-10 Thread Simon Kitching
rote: > Hi > > Try project.build.directory > > Hermod > > -Original Message- > From: Simon Kitching [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 3:53 AM > To: users@maven.apache.org > Subject: Passing maven variables as system properties >

RE: Passing maven variables as system properties

2006-03-10 Thread hermod.opstvedt
Hi Try project.build.directory Hermod -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 3:53 AM To: users@maven.apache.org Subject: Passing maven variables as system properties Hi, I'm trying to store some maven vars into system prope

Passing maven variables as system properties

2006-03-09 Thread Simon Kitching
Hi, I'm trying to store some maven vars into system properties so I can access them from unit test code: org.apache.maven.plugins maven-surefire-plugin core-static ${project.build.outputDirectory}/