Re: Is there a way to use a property as the version of a parent pom?

2008-07-29 Thread Aaron Digulla
Quoting Ralph Goers [EMAIL PROTECTED]: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a repository as it would require that the property be specified even if the

Re: Is there a way to use a property as the version of a parent pom?

2008-07-29 Thread Aaron Digulla
Quoting Stephen Connolly [EMAIL PROTECTED]: you can use -DparentVersion=[1.3.4] to force a specific version and it rewrites the pom without changing any formatting or comments That sounds very promising! In fact, I've just downloaded the patch and found it's a complete plugin. Here are a

Re: Is there a way to use a property as the version of a parent pom?

2008-07-29 Thread Stephen Connolly
On Tue, Jul 29, 2008 at 9:29 AM, Aaron Digulla [EMAIL PROTECTED] wrote: Quoting Stephen Connolly [EMAIL PROTECTED]: you can use -DparentVersion=[1.3.4] to force a specific version and it rewrites the pom without changing any formatting or comments That sounds very promising! In fact,

Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Hi, This may sound silly but I can't get this to work: parent groupIdch.globus/groupId artifactIdglobus-parent-pom/artifactId version${version.globus-parent-pom}/version /parent I tried to define the property via settings.xml,

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Ralph Goers
It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a repository as it would require that the property be specified even if the artifact was a transitive dependency.

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Quoting Ralph Goers [EMAIL PROTECTED]: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a repository as it would require that the property be specified even if the

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Stephen Connolly
On Mon, Jul 28, 2008 at 2:23 PM, Aaron Digulla [EMAIL PROTECTED] wrote: Quoting Ralph Goers [EMAIL PROTECTED]: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Quoting Stephen Connolly [EMAIL PROTECTED]: What is the most simple way to include common dependencies, plugin configs and properties in many POMs? [...] please vote for http://jira.codehaus.org/browse/MOJO-1178 This has a goal called update-parent that will update the parent version in the

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Stephen Connolly
you can use -DparentVersion=[1.3.4] to force a specific version and it rewrites the pom without changing any formatting or comments Sent from my iPod On 28 Jul 2008, at 16:51, Aaron Digulla [EMAIL PROTECTED] wrote: Quoting Stephen Connolly [EMAIL PROTECTED]: What is the most simple way

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Ralph Goers
Sorry for not answering sooner. I was travelling today. Comments are below. Aaron Digulla wrote: Quoting Ralph Goers [EMAIL PROTECTED]: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was