• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • maven-plugin
    • Jenkins v2.18, Windows 7, Google Chrome, jdk-1.8

      I was able to build the code through command line and Anypoint Studio, although through Jenkins, I am facing a build issue.

      My child project has two parent projects which are specified in th pom inside dependency tags as such
      <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>parent1</artifactId>
      <version>${parent1.version}</version>
      </dependency>
      <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>parent2</artifactId>
      <version>${parent2.version}</version>
      </dependency>
      <dependency>

      If I run the child project with -DskipTests it builds fine in Jenkins.

      MUnit is unable to load parameters from the property file of parent projects, resulting in build failure in Jenkins. The property files are imported through 2 different mule projects, packaging of these parent projects is 'jar' and that of child is 'mule' inside their respective pom's.

      The application builds successfully in Studio and command line along with MUnit.

      The following command is used.

      clean install -Denv=dev

      Please find attached zip of the project and screenshot of error in jenkins.

            Unassigned Unassigned
            tadsouza Tanya Dsouza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: