Apache JAR Resource Bundle

To generate META-INF/DEPENDENCIES, META-INF/LICENSE and META-INF/NOTICE content in your jar, configure maven-remote-resources-plugin:

  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-remote-resources-plugin</artifactId>
  4. <version>1.7.0</version>
  5. <executions>
  6. <execution>
  7. <goals>
  8. <goal>process</goal>
  9. </goals>
  10. <configuration>
  11. <resourceBundles>
  12. <resourceBundle>org.apache.apache.resources:apache-jar-resource-bundle:1.7</resourceBundle>
  13. </resourceBundles>
  14. </configuration>
  15. </execution>
  16. </executions>
  17. </plugin>

Content is generated from your project dependencies with following Velocity templates: