Re: Variables in pom specified from external file
It can never work for project/version or for project/parent/version as they need to be defined even before the initialize phase On Thu, Jul 24, 2008 at 10:15 AM, Manuel EVENO <[EMAIL PROTECTED]> wrote: > I once use maven-property-plugin > http://arsenalist.com/2007/02/07/maven-properties-plugin-download/ > > but I don't if it works for project/version ... > > On Thu, Jul 24, 2008 at 10:47 AM, Stephen Connolly < > [EMAIL PROTECTED]> wrote: > > > Property expansion in ./project/version and /project/parent/version is > not > > supported by Maven 2 (and AFAIK will never be supported as it makes > builds > > irreproducible) > > > > Yes, I know that it currently kinda works if you remember to define the > > property in the command line or settings.xml... but it is not officially > > supported > > > > -Stephen > > > > On Thu, Jul 24, 2008 at 9:36 AM, Carlos Alonso <[EMAIL PROTECTED]> > > wrote: > > > > > Hi all. > > > > > > I've been searching along both google and mailing list archives without > > > answer and I'm thinking that there's no possibility to achieve what I > > want. > > > > > > The question is: can I define some property for my pom.xml as a > variable > > > i.e. ${version} and have it set up from an external > > > properties file? (neither profile nor settings.xml) > > > I already know that, by filtering resources there's a chance to perform > > > this whithin resource files, but I don't know if I can do it in the > pom. > > > > > > Thanks in advance. > > > Carlos. > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >
Re: Variables in pom specified from external file
I once use maven-property-plugin http://arsenalist.com/2007/02/07/maven-properties-plugin-download/ but I don't if it works for project/version ... On Thu, Jul 24, 2008 at 10:47 AM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > Property expansion in ./project/version and /project/parent/version is not > supported by Maven 2 (and AFAIK will never be supported as it makes builds > irreproducible) > > Yes, I know that it currently kinda works if you remember to define the > property in the command line or settings.xml... but it is not officially > supported > > -Stephen > > On Thu, Jul 24, 2008 at 9:36 AM, Carlos Alonso <[EMAIL PROTECTED]> > wrote: > > > Hi all. > > > > I've been searching along both google and mailing list archives without > > answer and I'm thinking that there's no possibility to achieve what I > want. > > > > The question is: can I define some property for my pom.xml as a variable > > i.e. ${version} and have it set up from an external > > properties file? (neither profile nor settings.xml) > > I already know that, by filtering resources there's a chance to perform > > this whithin resource files, but I don't know if I can do it in the pom. > > > > Thanks in advance. > > Carlos. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
Re: Variables in pom specified from external file
Property expansion in ./project/version and /project/parent/version is not supported by Maven 2 (and AFAIK will never be supported as it makes builds irreproducible) Yes, I know that it currently kinda works if you remember to define the property in the command line or settings.xml... but it is not officially supported -Stephen On Thu, Jul 24, 2008 at 9:36 AM, Carlos Alonso <[EMAIL PROTECTED]> wrote: > Hi all. > > I've been searching along both google and mailing list archives without > answer and I'm thinking that there's no possibility to achieve what I want. > > The question is: can I define some property for my pom.xml as a variable > i.e. ${version} and have it set up from an external > properties file? (neither profile nor settings.xml) > I already know that, by filtering resources there's a chance to perform > this whithin resource files, but I don't know if I can do it in the pom. > > Thanks in advance. > Carlos. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Variables in pom specified from external file
You can define properties in your POM. Why do you need to use an external file ? Jeff MAURY On 7/24/08, Carlos Alonso <[EMAIL PROTECTED]> wrote: > > Hi all. > > I've been searching along both google and mailing list archives without > answer and I'm thinking that there's no possibility to achieve what I want. > > The question is: can I define some property for my pom.xml as a variable > i.e. ${version} and have it set up from an external > properties file? (neither profile nor settings.xml) > I already know that, by filtering resources there's a chance to perform > this whithin resource files, but I don't know if I can do it in the pom. > > Thanks in advance. > Carlos. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal
Variables in pom specified from external file
Hi all. I've been searching along both google and mailing list archives without answer and I'm thinking that there's no possibility to achieve what I want. The question is: can I define some property for my pom.xml as a variable i.e. ${version} and have it set up from an external properties file? (neither profile nor settings.xml) I already know that, by filtering resources there's a chance to perform this whithin resource files, but I don't know if I can do it in the pom. Thanks in advance. Carlos. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
install:install - variables in POM are not replaced/filtered during installation in repository
Hi there, during installation of the POM in the local repository the variables in the POM are not replaced/filtered. Is this a bug or purpose? Or did I a make a mistake somewhere? We use a variable for setting the (needed for our CruiseControl build), and this variable isn't replaced by the actual value. It's also not possible to start a subproject in a multi-project build, there come's an error like this: org.apache.maven.reactor.MavenExecutionException: Cannot find parent: group:aaa for project: group.aaa:jars:pom:${buildVersion} Maven either doesn't checks the parent directory (where the pom is located), or it really checks for ${buildVersion} I really need some help here, if I don't find a solution in the next days we'll switch to Ant... Cheers, Frank Example: The POM ist copied 1:1 to the repo, without any filtering of variables. - http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 group aaa jar ${buildVersion} 1.2 ${versionNo}${point}${label} - Settings.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd";> setting_label - SNAPSHOT setting_label - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Variables in pom?
Good day to you, andreas, [1] shows a list (view my comment) about the list of properties I know so far. Kindly add the properties that you know that are not in the list. Furthermore, code-wise, you can use org.codehaus.plexus.util.introspection.ReflectionValueExtractor to access the getters of an object. basically, if you pased in "parent.parent.artifactId", and an object mavenProject of type MavenProject, it will return mavenProject.getParent().getParent().getArtifactId() Cheers, Franz andreas.ebbert-karroum wrote: > > Hi, > > where are the variables documented, that I can use inside the POM? I guess > there's something available like ${artifactId} and alike, but I couldn't > find a place, where they're all listed and described. > > Andreas Ebbert-Karroum > Software Design Engineer - Nokia Networks Services / Middleware > phone: +49-211-94123928, fax: +49-211-94123838 > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > > > > This message is confidential. If you have received this message in error, > please delete it from your system. You should not copy it for any purpose, > or disclose its contents to any other person. Internet communications are > not secure and therefore Nokia GmbH does not accept legal responsibility > for the contents of this message as it has been transmitted over a public > network. Thank you. > > Nokia GmbH, Nokia Networks is a German Company. Further information about > the Company is available from its principal offices at Heltorferstrasse 1, > D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ > ________ > > > > -- View this message in context: http://www.nabble.com/Variables-in-pom--tf1290889s177.html#a7275993 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties/Variables in pom?
Hi! AFAIK, this only works _within_ the POM itself (i.e. in the configuration section of plugins). I don´t know if it works for the file-filtering stuff. CU, Gunther Gareth Tilley schrieb: Hi All, Gunther Popp-2 wrote: - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). Has anyone actually been able to get this working? All of the filtering works fine for me, but the environment variable stuff does not. As a test I have a properties file that contains: ${env.JAVA_HOME} ${user.home} ${pom.version} After the process-resources phase (with filtering turn on in the pom), the file looks like this: ${env.JAVA_HOME} /home/build 1.2-SNAPSHOT JAVA_HOME is definitely set, is there something I am doing wrong, or does this just not work? Regards Gareth Hi Andreas! Take a look at the Getting Started Guide (http://maven.apache.org/guides/getting-started/index.html), section "How do I filter resource files?". It explains how to reference the elements of the pom.xml/settings.xml using property-names. I´m currently working on a book that covers Maven 2 as part of a pragmatic configuration management process and have done some "research" concerning the usage of properties. AFAIK, properties are resolved in the following order: - The (hard-coded) property ${basedir} (contains the path of the POM-file) - All Java System Properties defined by the JVM. - All properties defined in the properties-element of the POM. - All elements in pom.xml and settings.xml as stated above - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). I´m not 100% sure about the list and appreciate any additions/corrections. CU, Gunther - 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]
Re: Properties/Variables in pom?
Hi All, Gunther Popp-2 wrote: > > - All (platform-specific) Environment variables (Just add the prefix > env. For example ${env.M2_HOME} returns the Maven2 installation path). > Has anyone actually been able to get this working? All of the filtering works fine for me, but the environment variable stuff does not. As a test I have a properties file that contains: ${env.JAVA_HOME} ${user.home} ${pom.version} After the process-resources phase (with filtering turn on in the pom), the file looks like this: ${env.JAVA_HOME} /home/build 1.2-SNAPSHOT JAVA_HOME is definitely set, is there something I am doing wrong, or does this just not work? Regards Gareth Hi Andreas! Take a look at the Getting Started Guide (http://maven.apache.org/guides/getting-started/index.html), section "How do I filter resource files?". It explains how to reference the elements of the pom.xml/settings.xml using property-names. I´m currently working on a book that covers Maven 2 as part of a pragmatic configuration management process and have done some "research" concerning the usage of properties. AFAIK, properties are resolved in the following order: - The (hard-coded) property ${basedir} (contains the path of the POM-file) - All Java System Properties defined by the JVM. - All properties defined in the properties-element of the POM. - All elements in pom.xml and settings.xml as stated above - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). I´m not 100% sure about the list and appreciate any additions/corrections. CU, Gunther - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Variables-in-pom--tf1290889s177.html#a7235831 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Variables in pom?
andreas.ebbert-karroum wrote: > > where are the variables documented, that I can use inside the POM? I guess > there's something available like ${artifactId} and alike, but I couldn't > find a place, where they're all listed and described. > Hi Andreas, i found out, that most of the variables known in the pom have corresponding getters in the implementation classes. So the javadoc api of mave will give you a perfect description of the object hierarchy. Kind regards, Frank. -- Geld allein macht nicht glücklich. Es kommt auch auf die Menge an... -- View this message in context: http://www.nabble.com/Variables-in-pom--t1290889.html#a3498613 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Properties/Variables in pom?
Hi Gunther, >-Original Message- >From: ext Gunther Popp [mailto:[EMAIL PROTECTED] >Take a look at the Getting Started Guide >(http://maven.apache.org/guides/getting-started/index.html), >section "How do I filter resource files?". It explains how to >reference the elements of the pom.xml/settings.xml using >property-names. I've already read that section before, but I don't consider these two sentences explaining: First, it's mentioned at the wrong place (when I'm looking for available properties, I would go the the POM references, I think. But not where I filter resource files. Second: "To accomplish this in Maven, put a reference to the property that will contain the value into your resource file using the syntax ${}. The property can be one of the values defined in your pom.xml, a value defined in the user's settings.xml, a property defined in an external properties file, or a system property." Leaves a couple of questions: * What's the syntax of ? Apparently some dot-separated grammar. * Does that apply to all elements in the POM? If yes, how are multiple children with the same name addressed? >- The (hard-coded) property ${basedir} (contains the path of >the POM-file) >- All Java System Properties defined by the JVM. >- All properties defined in the properties-element of the POM. >- All elements in pom.xml and settings.xml as stated above >- All (platform-specific) Environment variables (Just add the >prefix env. For example ${env.M2_HOME} returns the Maven2 >installation path). > >I´m not 100% sure about the list and appreciate any >additions/corrections. A great list so far, thanks! _ ___ _ //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com `-` Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-9412-3838 Heltorfer Straße 1, 40472 Düsseldorf, Germany -- This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties/Variables in pom?
Hi Andreas! Take a look at the Getting Started Guide (http://maven.apache.org/guides/getting-started/index.html), section "How do I filter resource files?". It explains how to reference the elements of the pom.xml/settings.xml using property-names. I´m currently working on a book that covers Maven 2 as part of a pragmatic configuration management process and have done some "research" concerning the usage of properties. AFAIK, properties are resolved in the following order: - The (hard-coded) property ${basedir} (contains the path of the POM-file) - All Java System Properties defined by the JVM. - All properties defined in the properties-element of the POM. - All elements in pom.xml and settings.xml as stated above - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). I´m not 100% sure about the list and appreciate any additions/corrections. CU, Gunther - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties/Variables in pom?
I'll explain a bit more... you see how the pom.xml is laid out, right? {$basedir}target/classes ${basedir}target/test-classes there is a super-pom which is the parent of all the pom.xml that users create, in that super pom a mess of these things are defined as the defaults for the project, where the build output would go, where the test classes will go, etc. you can refer to a lot of these things like ${project.build.outputDirectory} in expressions in your poms and those are ironed out when the private variables are being injected. I don't know if there is a full listing of what these all are, but that is the 'how' and 'why' they exist if you want to know more, just ask jesse On 3/17/06, dan tran <[EMAIL PROTECTED]> wrote: > > Most of your pom's element can be referenced as ${project.x.y}, > > so ${project.build.directory} by default is path_to_your "target" dir. > > -D > > > On 3/17/06, [EMAIL PROTECTED] < > [EMAIL PROTECTED]> wrote: > > > > Hi Dan, > > > > >-Original Message- > > >From: ext dan tran [mailto:[EMAIL PROTECTED] > > >Sent: 17 March, 2006 20:03 > > > > >You can use the pom itself, ie ${project.build.directory} > > > > > >-D > > > > Sorry, I don't understand, what you're trying to tell me :-) Can you > > please add one or two sentences :-) Is ${project.build.directory} one > > variable or can I somehow look the others up by using that? > > > > _ ___ _ > > //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com > > `-` > > Andreas Ebbert-Karroum > > Software Design Engineer - Nokia Networks Services / Middleware > > phone: +49-211-94123928, fax: +49-211-9412-3838 > > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > > > -- > > This message is confidential. If you have received this message in > error, > > please delete it from your system. You should not copy it for any > purpose, > > or disclose its contents to any other person. Internet communications > are > > not secure and therefore Nokia GmbH does not accept legal responsibility > > for the contents of this message as it has been transmitted over a > public > > network. Thank you. > > Nokia GmbH, Nokia Networks is a German Company. Further information > > about the Company is available from its principal offices at > > Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the > > website at http://www.nokia.com/ > > -- > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- jesse mcconnell
Re: Properties/Variables in pom?
Most of your pom's element can be referenced as ${project.x.y}, so ${project.build.directory} by default is path_to_your "target" dir. -D On 3/17/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi Dan, > > >-Original Message- > >From: ext dan tran [mailto:[EMAIL PROTECTED] > >Sent: 17 March, 2006 20:03 > > >You can use the pom itself, ie ${project.build.directory} > > > >-D > > Sorry, I don't understand, what you're trying to tell me :-) Can you > please add one or two sentences :-) Is ${project.build.directory} one > variable or can I somehow look the others up by using that? > > _ ___ _ > //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com > `-` > Andreas Ebbert-Karroum > Software Design Engineer - Nokia Networks Services / Middleware > phone: +49-211-94123928, fax: +49-211-9412-3838 > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > -- > This message is confidential. If you have received this message in error, > please delete it from your system. You should not copy it for any purpose, > or disclose its contents to any other person. Internet communications are > not secure and therefore Nokia GmbH does not accept legal responsibility > for the contents of this message as it has been transmitted over a public > network. Thank you. > Nokia GmbH, Nokia Networks is a German Company. Further information > about the Company is available from its principal offices at > Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the > website at http://www.nokia.com/ > -- > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: Properties/Variables in pom?
Hi Dan, >-Original Message- >From: ext dan tran [mailto:[EMAIL PROTECTED] >Sent: 17 March, 2006 20:03 >You can use the pom itself, ie ${project.build.directory} > >-D Sorry, I don't understand, what you're trying to tell me :-) Can you please add one or two sentences :-) Is ${project.build.directory} one variable or can I somehow look the others up by using that? _ ___ _ //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com `-` Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-9412-3838 Heltorfer Straße 1, 40472 Düsseldorf, Germany -- This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Properties/Variables in pom?
Hi Wayne, >-Original Message- >From: ext Wayne Fay [mailto:[EMAIL PROTECTED] >Sent: 17 March, 2006 20:06 >Short answer: not anywhere that I've seen. > >If you do some research and get a list, feel free to respond >back to the mailing list, update the Wiki/Confluence, etc. ok I'll come back, when I found something :-) _ ___ _ //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com `-` Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-9412-3838 Heltorfer Straße 1, 40472 Düsseldorf, Germany -- This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties/Variables in pom?
> Are the default properties documented at all somewhere? Short answer: not anywhere that I've seen. If you do some research and get a list, feel free to respond back to the mailing list, update the Wiki/Confluence, etc. Wayne
Re: Properties/Variables in pom?
You can use the pom itself, ie ${project.build.directory} -D On 3/17/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi, > > Are the default properties documented at all somewhere? > > _ ___ _ > //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com > `-` > Andreas Ebbert-Karroum > Software Design Engineer - Nokia Networks Services / Middleware > phone: +49-211-94123928, fax: +49-211-9412-3838 > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > -- > This message is confidential. If you have received this message in error, > please delete it from your system. You should not copy it for any purpose, > or disclose its contents to any other person. Internet communications are > not secure and therefore Nokia GmbH does not accept legal responsibility > for the contents of this message as it has been transmitted over a public > network. Thank you. > Nokia GmbH, Nokia Networks is a German Company. Further information > about the Company is available from its principal offices at > Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the > website at http://www.nokia.com/ > -- > > >-Original Message- > >From: ext > >[EMAIL PROTECTED] > >e.org > >[mailto:[EMAIL PROTECTED] > >en.apache.org] > >Sent: 16 March, 2006 12:40 > >To: users@maven.apache.org > >Subject: Variables in pom? > > > >Hi, > > > >where are the variables documented, that I can use inside the > >POM? I guess there's something available like ${artifactId} > >and alike, but I couldn't find a place, where they're all > >listed and described. > > > >Andreas Ebbert-Karroum > > Software Design Engineer - Nokia Networks Services / Middleware > > phone: +49-211-94123928, fax: +49-211-94123838 > > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > > > > > > > > >This message is confidential. If you have received this > >message in error, please delete it from your system. You > >should not copy it for any purpose, or disclose its contents > >to any other person. Internet communications are not secure > >and therefore Nokia GmbH does not accept legal responsibility > >for the contents of this message as it has been transmitted > >over a public network. Thank you. > > > >Nokia GmbH, Nokia Networks is a German Company. Further > >information about the Company is available from its principal > >offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany > >and from the website at http://www.nokia.com/ > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: Properties/Variables in pom?
Hi, Are the default properties documented at all somewhere? _ ___ _ //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com `-` Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-9412-3838 Heltorfer Straße 1, 40472 Düsseldorf, Germany -- This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ -- >-Original Message- >From: ext >[EMAIL PROTECTED] >e.org >[mailto:[EMAIL PROTECTED] >en.apache.org] >Sent: 16 March, 2006 12:40 >To: users@maven.apache.org >Subject: Variables in pom? > >Hi, > >where are the variables documented, that I can use inside the >POM? I guess there's something available like ${artifactId} >and alike, but I couldn't find a place, where they're all >listed and described. > >Andreas Ebbert-Karroum > Software Design Engineer - Nokia Networks Services / Middleware > phone: +49-211-94123928, fax: +49-211-94123838 > Heltorfer Straße 1, 40472 Düsseldorf, Germany > > > > >This message is confidential. If you have received this >message in error, please delete it from your system. You >should not copy it for any purpose, or disclose its contents >to any other person. Internet communications are not secure >and therefore Nokia GmbH does not accept legal responsibility >for the contents of this message as it has been transmitted >over a public network. Thank you. > >Nokia GmbH, Nokia Networks is a German Company. Further >information about the Company is available from its principal >offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany >and from the website at http://www.nokia.com/ > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Variables in pom?
have you tried ${pom.parent.PROPERTY} ? I don't know if it works... Raphaël 2006/3/16, Rik Bosman <[EMAIL PROTECTED]>: > > How can the properties in the parent pom, for a multi project situation, > be > referenced in child poms? > >
Re: Variables in pom?
How can the properties in the parent pom, for a multi project situation, be referenced in child poms?
Re: Variables in pom?
all properties are ${pom.*} with * equals to a tag in pom like ${pom.artifactId} for artifactId or ${pom.scm.connection} for scm connection url Emmanuel [EMAIL PROTECTED] a écrit : Hi, where are the variables documented, that I can use inside the POM? I guess there's something available like ${artifactId} and alike, but I couldn't find a place, where they're all listed and described. Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-94123838 Heltorfer Straße 1, 40472 Düsseldorf, Germany This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Variables in pom?
Hi, where are the variables documented, that I can use inside the POM? I guess there's something available like ${artifactId} and alike, but I couldn't find a place, where they're all listed and described. Andreas Ebbert-Karroum Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-94123838 Heltorfer Straße 1, 40472 Düsseldorf, Germany This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/