Paul Hammant <p...@hammant.org> writes:

> mvn clean install -DskipTests 
> -Dmaven.repo.local=/usr/local/var/MAVEN_CI_REPOSITORY

This would compile and test-compile for the first time...

> mvn surefire:test -Dmaven.repo.local=/usr/local/var/MAVEN_CI_REPOSITORY

Run compile and test-compile one more time, on the same sources, for
artifacts that had been just installed. Does it make sense to skip them
with '-Dmaven.main.skip=true -Dmaven.test.skip=true' [1]?

[1] 
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#skipMain

-- 
Mykola

Libre/Free Java Software Engineer
https://manandbytes.gitlab.io/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to