Apache JAR (.txt) Resource Bundle

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

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-remote-resources-plugin</artifactId>
        <version>1.7.0</version>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <resourceBundles>
                <resourceBundle>org.apache.apache.resources:apache-jar-txt-resource-bundle:1.5</resourceBundle>
              </resourceBundles>
            </configuration>
          </execution>
        </executions>
      </plugin>

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