Hi,

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>eu.somatik.maven</groupId>
                                <artifactId>maven-services-plugin</artifactId>
                                <configuration>
                                    <services>
                                        <param>eu.somatik.Dictionary</param>
                                        <param>eu.somatik.Operation</param>
                                    </services>
                                 </configuration>
                        </plugin>
                </plugins>
        </build>

this will generate these files:
META-INF/services/eu.somatik.Dictionary
META-INF/services/eu.somatik.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

I am looking for a place to host the plugin. Is there any interest?
by the way the site has a spelling error:
http://mojo.codehaus.org/development/submitting-a-plugin.html
(interrest instead of interest)

Regards,

Francis

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to