Uploaded image for project: 'Maven Antrun Plugin'
  1. Maven Antrun Plugin
  2. MANTRUN-44

No way to skip antrun when -Dmaven.test.skip is set

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2
    • None

    Description

      I can't figure out a way to not have the ant-run plugin execute when in the generate-test-resources phase and -Dmaven.test.skip is set.

      I think we need something like:
      <configuration>
      <tasks unless="${maven.test.skip}>
      ...
      </tasks>
      </configuration>

      Kenney on IRC suggested that it might work with the current Ant plugin, but my attempts were unsuccessful.

      Attachments

        Activity

          People

            siveton Siveton Vincent
            dandiep Daniel Diephouse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: