incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo Castagna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-146) Maven is running the tests twice during builds
Date Mon, 30 Apr 2012 13:24:49 GMT

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

Paolo Castagna commented on GIRAPH-146:
---------------------------------------

Giraph is using cobertura-maven-plugin which needs to instrument the byte code before running
the unit tests for the second time. I've never managed to avoid this and some also argue that
it would be wrong to do so, for example see:

 - http://stackoverflow.com/questions/8485559/managing-report-plugins-in-maven-site
 - http://stackoverflow.com/questions/4521564/hudson-and-maven-tests-run-twice
 - http://stackoverflow.com/questions/3421582/how-to-avoid-double-compilation-and-testing-with-coberturacheck

One person suggested to run <code>mvn clean install -Dmaven.test.skip=true</code>
first and then <code>mvn cobertura:check</code>
                
> Maven is running the tests twice during builds
> ----------------------------------------------
>
>                 Key: GIRAPH-146
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-146
>             Project: Giraph
>          Issue Type: Bug
>          Components: build
>            Reporter: Jakob Homan
>
> I had a feeling the build time had jumped significantly... 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message