Bill Havanki created ACCUMULO-2920:
--------------------------------------

             Summary: test-accumulo-maven-plugin profile should heed skipTests 
too
                 Key: ACCUMULO-2920
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2920
             Project: Accumulo
          Issue Type: Improvement
          Components: build, maven-plugin
    Affects Versions: 1.6.0
            Reporter: Bill Havanki
            Assignee: Christopher Tubbs
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to