java - using maven pom while creating jar:test-jar some times it says JAR will be empty - no content was marked for inclusion -
With test classes There is no test class in test-jar, but sometimes the correct test jar is made with all test classes. To test the test module without exam classes, I need to mention in my pom (compiled only) This can happen when classes are not compiled in their output directory. For example, if you select / code> you will get a jar with test classes, but if you type jar: celebration: testing-jar sometimes during jar It says:
"post- Text "itemprop =" text ">
mvn install (whichever
compile triggers the phase) and then
mvn jar: test-jar
Run mvn clean and then
mvn jar: test-jar will get a message about empty jar and the generated jar will be empty.
Comments
Post a Comment