maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-3546) command line cannot overwrite pom properties
Date Thu, 04 Sep 2008 06:27:48 GMT

    [ http://jira.codehaus.org/browse/MNG-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146949#action_146949
] 

Thomas Diesler commented on MNG-3546:
-------------------------------------

Also, a property defined in profiles.xml does not override a property defined in a module
profile




> 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
>             Fix For: 2.0.x
>
>
> 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

        

Mime
View raw message