Hi,

I use maven for a few days and i try to generate more than one spring.xml

I want that sources in relation with DAO are merged in a spring-dao.xml file and
services in a spring-service.xml.

I was able to do this with ant, but don't know the maven way.

Here is the relevant part of my project.properties :

# SPRINGDOCLET/DAO
maven.xdoclet.springdoclet.destDir=${maven.gen.src}/springdoclet
maven.xdoclet.springdoclet.fileset.0=true
maven.xdoclet.springdoclet.fileset.0.include=**/dao/**/*.java
maven.xdoclet.springdoclet.springxml.0=true
maven.xdoclet.springdoclet.springxml.0.mergeDir=${basedir}/src/merge/springdoclet/dao

# SPRINGDOCLET/SERVICE
maven.xdoclet.springdoclet.destDir=${maven.gen.src}/springdoclet
maven.xdoclet.springdoclet.fileset.1=true
maven.xdoclet.springdoclet.fileset.1.include=**/service/**/*.java
maven.xdoclet.springdoclet.springxml.1=true
maven.xdoclet.springdoclet.springxml.1.mergeDir=${basedir}/src/merge/springdoclet/service

And my maven.xml

<preGoal name="java:compile">
   <attainGoal name="xdoclet:springdoclet"/>
</preGoal>

But that don't work, only the second spring.xml is done.

Thanks for any help

Steph


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to