« Return to Thread: Overriding properties in a dependency's pom.xml
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 <dependencyManagement> feature? If it's not possible, is it possible to write a plugin to do this or is everything locked down in Maven's core?
This feature is essential to the AppFuse project if we want to allow multiple persistent frameworks for users. Requiring folks to use a -D parameter (or modifying MAVEN_OPTS) is quite unmaintainable.
Thanks,
Mattmraible wrote: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,
MattLarry Meadors-2 wrote:On 1/4/07, mraible <matt@raibledesigns.com> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
« Return to Thread: Overriding properties in a dependency's pom.xml
| Free embeddable forum powered by Nabble | Forum Help |