Skip to content

Instantly share code, notes, and snippets.

@aajisaka
Created April 25, 2016 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aajisaka/24da69329365f7473221aad163a87b48 to your computer and use it in GitHub Desktop.
Save aajisaka/24da69329365f7473221aad163a87b48 to your computer and use it in GitHub Desktop.
Patch used for aggregating licenses by license-maven-plugin
diff --git a/pom.xml b/pom.xml
index e4623b6..823b4c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -285,6 +285,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>1.8</version>
+ </plugin>
</plugins>
</build>
@aajisaka
Copy link
Author

Apply the patch and then execute mvn license:aggregate-add-third-party.
http://www.mojohaus.org/license-maven-plugin/aggregate-add-third-party-mojo.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment