← Back to team overview

dhis2-devs team mailing list archive

Maven dev profile

 

Hi devs,

I've added a new profile to maven. It's called 'dev' and will disable tests
and war artifact compression when invoked on a build. It will also be a
natural place to put any further build optimizations which should not be
used for production builds.

The dev profile must be invoked explicitly using the dev property like so:
mvn -Pdev

A test-less and speedy build can be done with:
mvn install -Pdev

I've also updated the build-nocompr.sh build script to use the new profile
instead of setting the parameters explicitly.

Regards,
Halvdan