Hi All

I'm relatively new to Maven so excuse what may seem like silly questions.

At my work, I'm now working on a project that uses Maven. It has multiple
components, jars, ears, wars, etc. Up until now, it had only one EJB
project. It now has two EJB projects. Each project has its own POM file,
linked back to the Super POM. The problem I am having, is that the XDoclet
output from the "generate-sources" phase, for the two projects is ending up
in the same destination directory, even though the destDir attribute on the
ejbdoclet elements are different. It appears, that the second ejbdoclet
invocation ignores the destDir attribute. If I make the second destDir
attribute, rubbish it doesn't fail. If I swap the order of the EJB POMs in
the Super POM, the output is then switched.

Am I doing something obviously wrong? Or do I need to have two separate
Maven invocations.

Thanks in advance, for any assistance with this issue that I am having.

Regards
Pat Harms

Reply via email to