Is is possible to have Maven run Xdoclet against the source of the base project but compile against the jar of the base?
_Sean --- Konstantin Priblouda <[EMAIL PROTECTED]> wrote: > > --- Sean Muse <[EMAIL PROTECTED]> wrote: > > > Please help! I am trying to use Maven for a new > > (inherited) project I am working on. > > > > The client has a base project that they always > use. > > This source code base has numerous classes in it, > > including a base PersistableObject class. This > > PersistableObject class has XDoclet markings for > > Hibernate. For example, it has the mappings for > the > > id field. All of the objects that need to be > > persisted in the new project should extend this > > class. > > > > How do I do this? > > This would be tricky, since both XDoclet 1 & 2 will > require source of base class. But if you use > subproject, and source for parent is available you > can > > add them to sourceset. > > > Maven can generate the mappings for the base > > project. > > That works perfectly; however, when I want it to > > build > > the base project and generate mappings for the > > subproject, it no longer includes all the mappings > > embedded in the source. > > I put together a demo which is built via maven, uses > > sitemesh, hibernate, webwork, velocity , nano and > picocontainer ( not to forget full text serach via > velocity ), and this demo i savailable in > picocontainerr source repository ( jobdemo subdir) > > Picocontainer can be found under: > http://www.picocontainer.org/ > > have fun. > > regards, > > ===== > ----[ Konstantin Pribluda ( ko5tik ) > ]---------------- > Plugins for xdoclet-2 are released. check it out at: > http://www.sourceforge.net/projects/xdoclet-plugins/ > ----[ http://www.pribluda.de > ]------------------------ > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
