Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1273

Adding plugin inside Maven profile breaks mvn:build on project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.19.1
    • None
    • Maven Surefire Plugin
    • Windows 10 x64 Professional version 6.3
      Netbeans 8.1 Release
      Maven v3.0.5
      OracleJDKx64 v1.8.0_11

    Description

      ##Conditions which led to the issue

      Prior to the issue occurring, jacoco-maven-plugin OR maven-surefire-plugin failed to work consistently when using docker-maven-plugin, this is an issue which is to be followed up next.

      ##Maven configuration

      After:

      1. Opening a project POM which hasn't yet been migrated to docker
      2. Disabling jacoco-maven-plugin
      3. Moving maven-surefire-plugin to a "test" profile
      4. Setting plugin version to 2.19.1 in POM
      5. Switching to "test" profile
      6. Run mvn:build from Netbeans

      ##Outcome

      maven-surefire-plugin fails during a normal build command - see attachments

      Attachments

        1. surefire-profiles-error.log
          212 kB
          Jodi
        2. surefire-plugin-success-jacoco.log
          524 kB
          Jodi
        3. pom-with-profile-working.xml
          9 kB
          Jodi
        4. pom-jacoco.xml
          10 kB
          Jodi
        5. pom.xml
          10 kB
          Jodi

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              jodi.curtis@gmail.com Jodi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: