[ http://jira.codehaus.org/browse/MNG-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-2711. ----------------------------- Assignee: Brett Porter Resolution: Won't Fix Fix Version/s: (was: Reviewed Pending Version Assignment) Maven requires the properties in the POM so that it is self-contained in the repository. I suggest using the Maven ant tasks to load the POM and retrieve the properties from there, making it your central storage. > 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 > Assignee: Brett Porter > > 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