accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2920) test-accumulo-maven-plugin profile should heed skipTests too
Date Tue, 17 Jun 2014 18:17:04 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034152#comment-14034152
] 

Christopher Tubbs commented on ACCUMULO-2920:
---------------------------------------------

We can make the maven plugin do something to respect both properties, but that is a separate
issue than configuring the invoker plugin which runs our ITs in a profile during our build.

> 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
>              Labels: maven
>
> 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)

Mime
View raw message