I am trying to package my project. But, it automatically runs the tests previous do performing the packaging. The tests insert some content in the database. This is not what I want, I need to avoid running tests while package the application. Anybody knows how run the package with out test?
Java – Maven package/install without test (skip tests)
javamaven
Related Topic
- Java – Maven does not find JUnit tests to run
- Macos – Maven Install on Mac OS X
- Maven: How to skip test in some projects via command line options
- Java – Sharing src/test classes between modules in a multi-module maven project
- Maven – How to skip tests in maven install goal, while running them in maven test goal
- Maven skip tests
- Java – Running spock unit tests with Maven
Best Answer
Run maven with