Created
January 15, 2015 17:56
-
-
Save tdonohue/28989d4d73d27265a8b8 to your computer and use it in GitHub Desktop.
Third party licenses Profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run by doing: "mvn clean verify -Dthird.party.licenses=true" | |
<!-- Generate a list of all THIRD PARTY licenses which are in use by DSpace --> | |
<profile> | |
<id>third-party-licenses</id> | |
<activation> | |
<activeByDefault>false</activeByDefault> | |
<!-- This profile should ONLY be active when user specifies | |
-Dthird.party.licenses=true on command-line. --> | |
<property> | |
<name>third.party.licenses</name> | |
</property> | |
</activation> | |
<modules> | |
</modules> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>license-maven-plugin</artifactId> | |
<version>1.8</version> | |
<executions> | |
<execution> | |
<phase>verify</phase> | |
<goals> | |
<goal>aggregate-add-third-party</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${root.basedir}</outputDirectory> | |
<thirdPartyFileName>LICENSES_THIRD_PARTY.txt</thirdPartyFileName> | |
<excludedGroups>org\.dspace.*</excludedGroups> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment