Ok found the issue. Got onto the Nabble public archive, which is fantastic
and found a couple of earlier issues which identified it has been a bug in
XDocllet 1.2.3 see  http://jira.codehaus.org/browse/MOJO-265 XDoclet 1.2.3
Bug - MOJO-265 .

The solution is to add explict destDir attributes to each of the subtasks.


Pat Harms wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-newbie-question%2C-problem-with-XDoclet-destination-directory-tf3183998s177.html#a8838761
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to