[ https://issues.apache.org/jira/browse/NPANDAY-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991596#comment-13991596 ]
Greg Domjan commented on NPANDAY-542: ------------------------------------- Will this include support for using the build-helper to add additional sources? Might relate to NPANDAY-609 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.build.directory}/generated-sources/XSDObjectGen</source> </sources> </configuration> </execution> </executions> </plugin> > Support for multiple source dirs > -------------------------------- > > Key: NPANDAY-542 > URL: https://issues.apache.org/jira/browse/NPANDAY-542 > Project: NPanday > Issue Type: Improvement > Components: Maven Plugins > Affects Versions: 1.4-incubating > Reporter: Urs Keller > Assignee: Lars Corneliussen > Fix For: 1.5.0-incubating > > > If another maven plugin generates sources for other plugins to process this > is not picked up by NPanday. > Typically we have a plugin adding to the sources with the following code: > /** > * The source directories containing the sources to be compiled. > * > * @parameter expression="${project.compileSourceRoots}" > * @required > * @readonly > */ > private List<String> compileSourceRoots; > ... > compileSourceRoots.add(getTargetDir().getAbsolutePath()); -- This message was sent by Atlassian JIRA (v6.2#6252)