vks vks - 1 year ago 198
Java Question

Maven packaging without test (skip tests)

I am new to Maven. I am trying to package my project. But, it automatically runs the tests. 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?

Answer Source

Run maven with -Dmaven.test.skip=true

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download