Re: Build DAG traversal.

2019-02-14 Thread Paul Hammant
Yeah, maybe that makes sense. On Thu, Feb 14, 2019 at 1:45 PM Mykola Nikishov wrote: > Paul Hammant 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

Re: Build DAG traversal.

2019-02-14 Thread Mykola Nikishov
Paul Hammant 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

Build DAG traversal.

2019-02-13 Thread Paul Hammant
The depth first DAG traversal of Maven modules in a build is a great and under appreciated thing, but sometimes I wish for a different way of working. Particularly for CI, I'd want to compile everything first, *then* run tests. Two DAG traversals, if you like. This is possible, like so: mvn clean