[
http://jira.codehaus.org/browse/MOJO-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Schöneck updated MOJO-1272:
-----------------------------------
Attachment: patch.zip
Patch to get the plugin work under Windows as well.
Reamrk: Please excuse me for being quite new to creating patches on the console
without having a version controlling system.
> serviceloader-maven-plugin (for java6 ServiceLoader)
> ----------------------------------------------------
>
> Key: MOJO-1272
> URL: http://jira.codehaus.org/browse/MOJO-1272
> Project: Mojo
> Issue Type: New Feature
> Components: _Plugin Submission
> Environment: any
> Reporter: Francis De Brabandere
> Attachments: patch.zip, serviceloader-maven-plugin.zip
>
>
> I wrote a plugin that generates services files for the ServiceLoader
> introduced in Java 6 :
> http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
> for example:
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
>
> <artifactId>serviceloader-maven-plugin</artifactId>
> <configuration>
> <services>
> <param>com.foo.Dictionary</param>
> <param>com.foo.Operation</param>
> </services>
> </configuration>
> </plugin>
> </plugins>
> </build>
> this will generate these files:
> META-INF/services/com.foo.Dictionary
> META-INF/services/com.foo.Operation
> by scanning the generated classes and finding all
> non-abstract/non-interface implementations of the service interfaces.
> The plugin itself has no Java 6 dependency
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email