Maven cannot share properties with other tools (e.g. ant)
---------------------------------------------------------
Key: MNG-2711
URL: http://jira.codehaus.org/browse/MNG-2711
Project: Maven 2
Issue Type: Improvement
Components: POM, Profiles, Settings
Affects Versions: 2.0.4
Reporter: Aaron Digulla
I have a project which is built with Ant *and* Maven. It installs/deploys a set
of third party JARs to our inhouse repository.
Basically, I'm using Ant to invoke Maven several times to install each JAR.
In Ant, I can export the properties to a file but maven can't do this.
Therefore, I have to define all properties at least twice.
I suggest to add a new element "propertyFiles" to the POM, Profiles and
settings.xml where you can specify a list of files to be read.
If a property is defined twice, the latest definition should win (unlike Ant),
so you can control the properties using profiles.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira