You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sean McNamara <ta...@yahoo.com> on 2006/04/21 21:53:36 UTC

xdoclet-maven-plugin configuration question.

I'm finding the documentation for the xdoclet plugin
for M2 to be a little sparse and am hoping someone
here can point me in the right direction.

Can anyone point me to a list of valid configuration
parameters for the plugin?

I'm trying to change the package definitions for
generated classes.  I was able to do this under M1,
but I'm not seeing a clear way to do this in the M2
POM format.

If someone can point me to docs, or if anyone knows of
how to map M1 property settings into M2 XML in a
generic way, that would help a lot!

Thanks,
-Sean

P.S. No takers on my previous site generation
question? :-)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: xdoclet-maven-plugin configuration question.

Posted by Sean McNamara <ta...@yahoo.com>.
In re-reading my message, I wasn't really clear on
what I'm trying to do.

I'm building some EJBs using xdoclet.

My bean with XDoclet tags lives at: 

com.foo.bar.ejb.MyBean

When I generate the bean files via XDoclet, they get
put by default in:

com.foo.bar.ejb.MyBean
com.foo.bar.ejb.MyBeanHome

I need to do a couple things here:

1. Get it to generate the MyBeanUtil file.
2. Have the generated interfaces put in the
com.foo.bar.interfaces package.
3. Keep the generated bean file in com.foo.bar.ejb

This is done under M1 using the following settings:

maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.packageSubstitution.0=true
maven.xdoclet.ejbdoclet.packageSubstitution.0.packages=ejb
maven.xdoclet.ejbdoclet.packageSubstitution.0.substituteWith=interfaces

I'm not sure why it doesn't generate the Util class
since it used to, but perhaps the defaults have
changed.

Thanks for any pointers.

--- Sean McNamara <ta...@yahoo.com> wrote:

> I'm finding the documentation for the xdoclet plugin
> for M2 to be a little sparse and am hoping someone
> here can point me in the right direction.
> 
> Can anyone point me to a list of valid configuration
> parameters for the plugin?
> 
> I'm trying to change the package definitions for
> generated classes.  I was able to do this under M1,
> but I'm not seeing a clear way to do this in the M2
> POM format.
> 
> If someone can point me to docs, or if anyone knows
> of
> how to map M1 property settings into M2 XML in a
> generic way, that would help a lot!
> 
> Thanks,
> -Sean
> 
> P.S. No takers on my previous site generation
> question? :-)
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org