Add license aggregation to build

This commit is contained in:
Dave Syer
2016-03-24 16:09:11 +00:00
parent f3a62b625c
commit 03f09a3463

23
pom.xml
View File

@@ -632,5 +632,28 @@ limitations under the License.
</dependency>
</dependencies>
</profile>
<profile>
<id>license</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>aggregate-licenses</id>
<goals>
<goal>license:aggregate-add-third-party</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>