Re: maven2-xdoclet2-plugin/xdoclet-plugin-hibernate: Source path to anothermaven module?

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>

--- Tore.Larsen-W6DRc5fe/[email protected] wrote:

> Hei,
> I want to generate Hibernate mapping files from
> xdoclet annotated 
> JavaBeans. I'm using
> maven2-xdoclet2-plugin-2.0.5-SNAPSHOT.jar and 
> xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar for
> that. It works fine for 
> annotated JavaBeans in the same maven2 module.
> 
> But, the source JavaBeans are really maintained in
> another module, and I 
> can't find a way to supply the path to them.
> 
> How can this be done?

Well, this problem is more maven as xdoclet
( and I'm not that savvy in maven2 despite 
rewriting xdoclet 2 plugin yet ) 

You may generate mappings for the beans in 
project containing them though.

Alternative would be to depend to put sources somehow
on classpath so xdoclet can access them.

This is possible in m1 though.

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.