Greetings, On Fri, May 9, 2014 at 11:06 AM, Cristiano Gavião <cvgav...@gmail.com> wrote: > is there any way to put those templates into a "licenses" jar project and > share it between all other projects as dependency ?
http://mojo.codehaus.org/license-maven-plugin/update-file-header-mojo.html#licenseResolver <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <licenseName>acme-license</licenseName> <licenseResolver>classpath://com/acme/resources/licenses</licenseResolver> </configuration> <dependencies> <dependency> <groupId>com.acme.resources</groupId> <artifactId>licenses</artifactId> </dependency> </dependencies> </plugin> And in some other external to this project you'd have a project with coordinates com.acme.resources:licenses which is just a simple jar project and has src/main/resources/com/acme/resources/license/acme-license/* -- see the doc for license-m-p for more details how to create your own custom license. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email