0 votes
1 view
in Java by (2.6k points)

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?

1 Answer

0 votes
by (46.1k points)

try maven with:

mvn -Dmaven.test.skip=true package

Related questions

0 votes
1 answer
asked Jul 14, 2019 in Java by Krishna (2.6k points)
0 votes
1 answer
asked Nov 20, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...