Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-85

command line cannot overwrite pom properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              tdiesler Thomas Diesler
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: