[ http://jira.codehaus.org/browse/MNG-583?page=comments#action_42817 ]
John Fallows commented on MNG-583: ---------------------------------- It is possible to workaround the missing project.addResourceRoot(String) with the following code. String resourceRoot = ...; List resources = project.getBuild().getResources(); Resource resource = new Resource(); resource.setDirectory(resourceRoot); resources.add(resource); > Allow plugins to add dynamic resource roots and test resource roots > ------------------------------------------------------------------- > > Key: MNG-583 > URL: http://jira.codehaus.org/browse/MNG-583 > Project: Maven 2 > Type: Improvement > Components: maven-project > Versions: 2.0-alpha-3 > Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02 > Reporter: John Fallows > > > Please add something equivalent to MavenProject.addResourceRoot(String) and > MavenProject.addTestResourceRoot(String) to allow plugins to dynamically > include generated resources that can be filtered in the same way as version > controlled resources in src/main/resources or src/test/resources. > This functionality is equivalent to MavenProject.addCompileSourceRoot(String) > and MavenProject.addTestCompileSourceRoot(String). -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]