You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Ryan H." <wa...@gmail.com> on 2008/01/25 00:24:44 UTC

How to tell maven not to generate an empty jar if "src" directory is not existing?

Hello,

By default, maven still generates an "empty" jar if there is no "src"
directory for the project. I have a test project which only has source under
"test" directory, I want maven to compile all the test sources but don't
want maven to generate such "empty" jar after normal build life cycle. Is
there a way to do it?

Thanks
Ryan