THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
With maven2
If you changed the code and the build fails with checkstyle errors then you can prevent the build from executing the validation with:
Code Block |
---|
mvn -Pnochecks install |
If you also want to avoid running the jUnit tests the you can use:
Code Block |
---|
mvn -Pfastinstall install |
Attention: this does not work for all modules. Some of them still execute the jUnit tests. So it is better for now to use -Dmaven.test.skip=true -Pnochecks instead.