We just output to target/classes:

        <build>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>xdoclet-maven-plugin</artifactId>
          <executions>
            <execution>
              <phase>test-compile</phase>
              <goals>
                <goal>xdoclet</goal>
              </goals>
              <configuration>
                <tasks>
                  <hibernatedoclet
destdir="${project.build.outputDirectory}"
excludedtags="@version,@author,@todo,@see,@desc" verbose="true">
                          <fileset
dir="${project.build.sourceDirectory}">
                      <include name="**/domain/*.java" />
                    </fileset>
                    <hibernate version="3.0"
destdir="${project.build.outputDirectory}" />
                  </hibernatedoclet>
                </tasks>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
  </build>

> -----Original Message-----
> From: Sean McNamara [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 20, 2006 11:54 AM
> To: users@maven.apache.org
> Subject: Adding hibernate generated resources to JAR?
> 
> Can someone point me in the right direction here:
> 
> I'm building  a jar that makes use of hibernate.  The 
> hibernate class descriptors are created in /target/resources, 
> but are not included in the jar.
> 
> I'm guessing I need to add a configuration for the 
> maven-resources-plugin to add /target/resources as a resource 
> patch, but I'm not finding the docs for that plugin (they 
> appear to be empty on the maven plugins doc site.)
> 
> Any tips appreciated.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to