Hi,

Nguyen Huy Quang wrote on Tuesday, July 11, 2006 7:24 AM:

[snip]

> This config is the same in two poms.
> 
> When I compile the projects from the root directory of
> parent0, the mapping files are generated. But the
> problem is:
> 
> All the generated mapping files of the project child2
> are put in the directory src/main/resources of the
> child1, not in child2. It seems to me that the pom of
> child2 is not used to generate the mapping files. And
> it is overriden by the pom of child1.
> 
> Could you give me a help?

Known problem, see MOJO-265 caused by Bug in XDoclet 1.2.3

You must explicitly add the destdir attribute to all subtasks:

<hibernatedoclet
                destdir="THIS VALUE IS IGNORED NOW"
                excludedtags="@version,@author,@todo,@see"
                verbose="true">

        <fileset dir="src/main/java/">
                <include name="**/*.java" />
        </fileset>

        <!-- Every subtask must have the destdir to work with Xdoclet 1.2.3 -->
        <hibernate version="3.0" destdir="src/main/resources" />
</hibernatedoclet>

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to