Re: xdoclet maven plugin: Ambiguous subtask definition exception

2007-09-06 Thread Marco Mistroni
Hello,
 i had.. long time ago while i was trying to do exactly the same thing.
Resorted to use xdoclet in one project, and to call xdocket from maven
antrun plugin in the other

not elegant, but was theonly solution i found

hth
 marco

On 9/6/07, Brian Smith [EMAIL PROTECTED] wrote:

 I'm getting an error (Ambiguous subtask definition exception) while trying
 to run Maven from the top directory of a multi-module project that
 contains
 both EJBs and web apps.  I've seen that this has been reported before and
 that a bug was created and has been closed (
 http://jira.codehaus.org/browse/MOJO-223).  Supposedly this is an xdoclet
 issue.

 Has anyone ran into this lately and found a way to work around this?  The
 solution on the bug report won't work because it says the plugin doesn't
 exist.  Also, are other developers not relying on a tool (xdoclet or
 ejbgen
 or ??) to create descriptors?

 Thanks,
 Brian



Re: xdoclet maven plugin: Ambiguous subtask definition exception

2007-09-06 Thread Brian Smith
I'll give that a try.  I finally figured out my issue with the getting the
correct version of the plugin but I'm still getting the same error.

On 9/6/07, Marco Mistroni [EMAIL PROTECTED] wrote:

 Hello,
 i had.. long time ago while i was trying to do exactly the same thing.
 Resorted to use xdoclet in one project, and to call xdocket from maven
 antrun plugin in the other

 not elegant, but was theonly solution i found

 hth
 marco

 On 9/6/07, Brian Smith [EMAIL PROTECTED] wrote:
 
  I'm getting an error (Ambiguous subtask definition exception) while
 trying
  to run Maven from the top directory of a multi-module project that
  contains
  both EJBs and web apps.  I've seen that this has been reported before
 and
  that a bug was created and has been closed (
  http://jira.codehaus.org/browse/MOJO-223).  Supposedly this is an
 xdoclet
  issue.
 
  Has anyone ran into this lately and found a way to work around
 this?  The
  solution on the bug report won't work because it says the plugin doesn't
  exist.  Also, are other developers not relying on a tool (xdoclet or
  ejbgen
  or ??) to create descriptors?
 
  Thanks,
  Brian