Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3524

Profile to be activated when file is missing is always activated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • None
    • Profiles
    • None

    Description

      When I run "mvn integration-test" with the attached pom.xml, the antrun:run goal is always executed, even when the ${project.build.directory}/built file is present.

      I would expect that the <missing> element would ensure that the profile containing the antrun:run goal would only be activated when that file is missing.

      Attachments

        1. pom.xml
          1 kB

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              ahempel@atlassian.com Adrian Hempel
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: