You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Fabian Christ (JIRA)" <ji...@apache.org> on 2013/01/02 14:16:12 UTC

[jira] [Resolved] (STANBOL-872) Make the execution of integration-test deactivateable

     [ https://issues.apache.org/jira/browse/STANBOL-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Christ resolved STANBOL-872.
-----------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?view=revision&revision=1427778
                
> Make the execution of integration-test deactivateable
> -----------------------------------------------------
>
>                 Key: STANBOL-872
>                 URL: https://issues.apache.org/jira/browse/STANBOL-872
>             Project: Stanbol
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: parent-1
>            Reporter: Fabian Christ
>            Assignee: Fabian Christ
>             Fix For: parent-2
>
>
> There is no easy way to deactivate the execution of the (long running) integration tests during a build. It should be possible to deactivate the integration-tests, e.g. for local user builds. By default all tests should be performed, e.g. on Jenkins.
> To be able to deactivate the integration-tests we should move their execution in the root POM into its own profile called "it" which is activated by default.
> To deactivate the integration-test users can deactivate the "it" profile using the Maven "-P !" syntax [1].
> mvn clean install -P !it
> or with escaping on Linux
> mvn clean install -P \!it
> [1] http://maven.apache.org/guides/introduction/introduction-to-profiles.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira