RE: Overriding properties in a dependency's pom.xml

2007-06-13 Thread Jörg Schaible
Hi Dan, mojavelinux wrote on Thursday, June 14, 2007 2:11 AM: > Damn, I just bumped in to this problem only to find that there is > still no solution. I am trying to do a very similar thing. When one > of my libraries depends on hibernate, for example, I am using > properties in the deployed po

Re: Overriding properties in a dependency's pom.xml

2007-06-13 Thread mojavelinux
Damn, I just bumped in to this problem only to find that there is still no solution. I am trying to do a very similar thing. When one of my libraries depends on hibernate, for example, I am using properties in the deployed pom file to specify which version should be used by default if a person w

Re: Overriding properties in a dependency's pom.xml

2007-03-14 Thread mraible
Bump. I'd really, really like the ability to override the property of a dependency in a project's pom.xml. Can anyone answer if this is currently possible - for example using the feature? If it's not possible, is it possible to write a plugin to do this or is everything locked down in Maven's

Re: Overriding properties in a dependency's pom.xml

2007-01-28 Thread mraible
I've entered an enhancement request for this at: http://jira.codehaus.org/browse/MNG-2757 Maven Developers: how hard would it be to allow property overriding? It seems like a natural thing to want to do. Thanks, Matt Larry Meadors-2 wrote: > > On 1/4/07, mraible <[EMAIL PROTECTED]> wrote:

Re: Overriding properties in a dependency's pom.xml

2007-01-05 Thread Larry Meadors
On 1/4/07, mraible <[EMAIL PROTECTED]> wrote: Is Maven like Ant in that properties are immutable? If so, can I hook into the lifecycle sooner and set this dao.framework property from the local pom.xml? I was thinking the same thing - it sure is acting like that is the case, no? Larry ---

Re: Overriding properties in a dependency's pom.xml

2007-01-04 Thread mraible
I tried setting the dao.framework property in settings.xml, but that didn't work either. It seems there's only two ways to set a DAO Framework with AppFuse/Maven. 1. Pass it in from the command-line: mvn jetty:run-war -Ddao.framework=jpa-hibernate 2. Set it in your MAVEN_OPTS environment variabl

Overriding properties in a dependency's pom.xml

2007-01-04 Thread mraible
I have a project that has hibernate defined as a property in the root pom.xml. In a "service" project, that property is used as follows: ${pom.groupId} appfuse-${dao.framework} ${pom.version} In turn, the service dependency is used in WAR pro