[ http://jira.codehaus.org/browse/MNG-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137197#action_137197 ]
Mikolaj Radwan commented on MNG-3546: ------------------------------------- > Why is it not ok for system properties to take preference over pom ones? They definitely should, they always did (at least as long as I've been using maven). This is a horrible bug. If someone has a patch for it I'd be really grateful for posting it. > command line cannot overwrite pom properties > -------------------------------------------- > > Key: MNG-3546 > URL: http://jira.codehaus.org/browse/MNG-3546 > Project: Maven 2 > Issue Type: Bug > Components: Command Line > Affects Versions: 2.0.9 > Reporter: Thomas Diesler > > With a pom like this > <properties> > <jboss.bind.address>localhost</jboss.bind.address> > </properties> > and a command line like this > mvn -Pjboss422 -Djboss.bind.address=foo clean test-compilecxf.xml > I get a filtered resource like this > <jaxws:endpoint id='TestService' > address='http://localhost:8080/jaxws-cxf-descriptor' > > implementor='org.jboss.test.ws.jaxws.cxf.descriptor.DescriptorEndpointImpl'> > > <jaxws:invoker> > <bean class='org.jboss.wsf.stack.cxf.InvokerJSE'/> > </jaxws:invoker> > > </jaxws:endpoint> > Note, the bind address is localhost -- 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