[issue 535] Moved LICENSE.txt to META-INF in the resource bundle

This commit is contained in:
Andrew Phillips 2011-04-19 15:23:26 -04:00
parent 83bed07d79
commit 2f01afb3cc
1 changed files with 6 additions and 3 deletions

View File

@ -36,6 +36,7 @@
<build> <build>
<resources> <resources>
<resource> <resource>
<targetPath>META-INF</targetPath>
<directory>${project.basedir}</directory> <directory>${project.basedir}</directory>
<includes> <includes>
<include>LICENSE.txt</include> <include>LICENSE.txt</include>
@ -46,16 +47,18 @@
<plugin> <plugin>
<artifactId>maven-remote-resources-plugin</artifactId> <artifactId>maven-remote-resources-plugin</artifactId>
<version>1.2</version> <version>1.2</version>
<executions> <executions>
<execution> <execution>
<id>bundle-remote-resources</id> <id>bundle-remote-resources</id>
<goals> <goals>
<goal>bundle</goal> <goal>bundle</goal>
</goals> </goals>
<!-- run *after* copying resources to the output directory -->
<phase>process-resources</phase>
<configuration> <configuration>
<resourcesDirectory>${project.basedir}</resourcesDirectory> <resourcesDirectory>${project.build.outputDirectory}</resourcesDirectory>
<includes> <includes>
<include>LICENSE.txt</include> <include>META-INF/LICENSE.txt</include>
</includes> </includes>
</configuration> </configuration>
</execution> </execution>