0 Replies Latest reply on Jan 9, 2017 9:18 PM by Derek Foster

    Maven properties from multi-module project needed in deployment

    Derek Foster Newbie

      I have a project that has multiple modules, with parent poms that go few layers up. There are properties that I need from these pom files for my arquillian tests (in order to build up an ear file).

       

      How do I get the value of my maven property to deploy onto the container along with my test so that it can be accessed? The property is in the parent pom, and referenced in property files and other xml files in the child module.

       

      Example of parent pom properties:

      <properties>
           <first>property</first>
      <properties>
      

       

      I've read things about using the maven surefire plugin and arquillian.xml, but nothing has worked.