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
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
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
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:
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
---
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
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