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

Christopher Tubbs commented on ACCUMULO-1537:
---------------------------------------------

[~elserj] and [~supermallen]. I think you mean "mvn verify". "mvn package" 
should be used to build artifacts, and run through the tests. "mvn verify" 
should be used to run tests, build artifacts, and then do integration tests 
over the artifacts that have been built. "mvn install" should only be used as a 
precursor to deployment, or as a substitution for deployment if you need it in 
your local repo as a dependency for something else that you are concurrently 
developing.

As [~ecn] says, the intention is to make them faster. You can skip them if you 
really want to go all the way through the build lifecycle, through the 
integration test phases, by adding the -DskipTests flag to your build command.

For reference: 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference
                
> convert auto tests to integration tests, where possible for continuous 
> integration
> ----------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-1537
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1537
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>             Fix For: 1.6.0
>
>
> It would be good to run the functional tests on the build server.  Now that 
> we have MiniAccumuloCluster, most of these tests can be convert to simple 
> java Integration Tests.

--
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

Reply via email to