I have a Maven2 multi-project build, configured at the parent POM to invoke a bunch of plugins to generate meta-data (some XDoclet2 based, others directly QDox based).  A couple of projects do not have any source code, but instead provide webapp source, config files etc.  When XDoclet2 is run on those projects, XDoclet fails with the following message:

[INFO] XDoclet plugin failed

Metadata was empty. Got metadata from [EMAIL PROTECTED]

Obviously, one solution is to place a dummy Java class, and that works.  Or, I could define the plugin in the individual project POMs and not in the parent POM, and only where it was needed.  But of the > 100 projects, only two do not need the plugin, all the others do, that is a lot of typing (and duplication of dependencies, due to an open Maven2 plugin dependency inheritance bug).

It would be nice if there was some "ignore failure" option in either XDoclet2 or the xdoclet2-maven2-plugin.

Should I open a JIRA issue for this? And, for the core or the plugin?

Thanks,
Shash

Reply via email to