[ http://jira.codehaus.org/browse/MOJO-187?page=all ]
Brett Porter updated MOJO-187:
------------------------------
Component: Plugin Submission
> New plugin which allows the addition of additional source directories to be
> defined
> -----------------------------------------------------------------------------------
>
> Key: MOJO-187
> URL: http://jira.codehaus.org/browse/MOJO-187
> Project: Mojo
> Type: New Feature
> Components: Plugin Submission
> Reporter: ruel loehr
> Assignee: Brett Porter
> Attachments: maven-addSources-plugin.zip
>
>
> I've noticed on the user list a couple of people have said they have written
> a plugin which allows a user to configure additional directories to be
> treated as source. I have had to do this as well, and think that it should
> be a plugin available to the masses so that work will not have to be
> duplicated.
> The plugin is very simple. It allows a user to specify a list of
> directories. The plugin then adds these as compile source roots.
> Usage is as follows:
> <plugin>
> <groupId>org.jboss.mojo.plugins.sources</groupId>
> <artifactId>maven-addSources-plugin</artifactId>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <configuration>
> <additionalDirs>
> <additionalDir>${basedir}/src/examples</additionalDir>
> </additionalDirs>
> </configuration>
> <goals>
> <goal>addsources</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> I'm more than happy to make any necessary changes to make this plugin
> conform, but this is my first contribution so I may need some direction.
--
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