Skip to content

Commit

Permalink
Ensure aggregate jar contains the right license and notice. RAT-38 ht…
Browse files Browse the repository at this point in the history
  • Loading branch information
itstechupnorth committed Feb 27, 2009
1 parent dda11d1 commit e10e540
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion apache-rat/pom.xml
Expand Up @@ -65,24 +65,48 @@
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
</resourceBundles>
<properties>
<addLicense>true</addLicense>
</properties>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<phase>process</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeScope>runtime</includeScope>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<overWriteIfNewer>false</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/LICENSE.txt</exclude>
<exclude>**/NOTICE.txt</exclude>
</excludes>
<archive>
<manifestEntries>
<Main-Class>org.apache.rat.Report</Main-Class>
Expand Down

0 comments on commit e10e540

Please sign in to comment.