Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2920

test-accumulo-maven-plugin profile should heed skipTests too

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.6.0
    • None
    • build, maven-plugin

    Description

      The POM for the maven-plugin module provides a "test-accumulo-maven-plugin" profile for running integration tests on the plugin. The profile activates only when the skipITs property, the same property referenced by the failsafe plugin, is not set.

      It should also require that the skipTests property be unset. The skipTests property already controls whether tests are run by the surefire or failsafe plugins, and having the same behavior here would be beneficial. Today, to run mvn install without any tests, you must say mvn -DskipTests -DskipITs install. It should be enough to say mvn -DskipTests install.

      The problem is that it doesn't appear that Maven supports this level of logic in its profile activation syntax, at least not in any straightforward manner.

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              bhavanki Bill Havanki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: