The following issue has been updated: Updater: David Eric Pugh (mailto:[EMAIL PROTECTED]) Date: Fri, 2 Jul 2004 3:48 AM Comment: I got an email back from JvZ (extract below) that I am going to use as a my approach to get this done. This affects me as well when doing work with XDoclet generated mapping files for Hibernate as well.
Extract from JvZ: In all of the m2 code I have been using: $pom.build.directory/generated-sources which defaults to $basedir/target/generated-sources Now, undoubtedly, some folks will want to perform some actions on generated sources. Something like generating javadoc from generated sources, or running xdoclet on generated sources. So this could be expanded on on a per-plugin basis but we might want to keep all the generated sources in the same directory to perform a common action, like a javadoc sweep or something like that. So maybe something like: $basedir/target/generated-sources/xdoclet might be prudent. This way each plugin that might produce generated sources can have a distinct sink but with a common root directory common operations like javadoc can be performed on the generated sources. Changes: assignee changed to David Eric Pugh environment changed to Fix Version changed to 1.8 --------------------------------------------------------------------- For a full history of the issue, see: http://jira.codehaus.org/browse/MPECLIPSE-5?page=history --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPECLIPSE-5 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPECLIPSE-5 Summary: Generated source support Type: Improvement Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-eclipse-plugin Fix Fors: 1.8 Assignee: David Eric Pugh Reporter: Archimedes Trajano Created: Fri, 31 Oct 2003 5:16 AM Updated: Fri, 2 Jul 2004 3:48 AM Description: Maven already provides the tag maven.build.src which contains the directory for generated sources Can you add the following snippet into the classpath.jelly file? <j:set defaultValue="false" var="hasGenSrc" value="${maven.eclipse.has.generated.src}"/> <j:if test="${hasGenSrc}"> <maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${maven.build.src}"/> <classpathentry kind="src" path="${srcDir}"/> </j:if> Thanks --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]