Skip to content

Commit

Permalink
Merge pull request #14 from tomjenkinson/licence-master
Browse files Browse the repository at this point in the history
Replace the licence in the built jar
  • Loading branch information
tomjenkinson committed Oct 7, 2018
2 parents da6f67e + 26395ce commit cae9f1d
Showing 1 changed file with 24 additions and 15 deletions.
39 changes: 24 additions & 15 deletions pom.xml
Expand Up @@ -191,21 +191,30 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.glassfish:legal:1.1</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-resource</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>.</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.md</include>
<include>NOTICE.md</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit cae9f1d

Please sign in to comment.