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

Tore.Larsen-W6DRc5fe/[email protected]
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
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?

Regards and thanks
Tore Larsen

The build part of my POM:

<build>
   <plugins>
          <plugin>
              <groupId>xdoclet</groupId>
              <artifactId>maven2-xdoclet2-plugin</artifactId>
        <version>2.0.5-SNAPSHOT</version>
              <executions>
                  <execution>
                      <id>xdoclet</id>
                      <phase>generate-sources</phase>
                      <goals>
                          <goal>xdoclet</goal>
                      </goals>
                  </execution>
              </executions>
              <configuration>
                  <configs>
                        <config>
 <plugin>org.xdoclet.plugin.hibernate.HibernateMappingPlugin</plugin>
                            <params>
                                <version>2.0</version>
 <destdir>./lokalvare/hibernateServlet/target/classes</destdir><!-- seems 
to be starting in überPOM directory -->
                                <!-- the source JavaBeans are located in 
./lokalvare/dvsEJB/src/java/... -->
                                <validate>false</validate>
                            </params>
                        </config>
                  </configs>
              </configuration>
              <dependencies>
                  <dependency>
                      <groupId>xdoclet-plugins</groupId>
                      <artifactId>xdoclet-plugin-hibernate</artifactId>
                      <version>1.0.4-SNAPSHOT</version>
                  </dependency>
                  <dependency>
                      <groupId>xdoclet-plugins</groupId>
                      <artifactId>xdoclet-plugin-qtags</artifactId>
                      <version>1.0.4-SNAPSHOT</version>
                  </dependency>
              </dependencies>
          </plugin>
      </plugins>
    </build>

-------------------------------------------------------------------------
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

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
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.