Skip to content

Commit

Permalink
[JBEE-86] Add license to jar
Browse files Browse the repository at this point in the history
  • Loading branch information
pgier committed Mar 18, 2012
1 parent d2cfc60 commit 9e6b9fe
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>8</version>
<version>9</version>
</parent>

<groupId>org.jboss.spec.javax.xml.bind</groupId>
Expand All @@ -16,7 +16,7 @@
<packaging>jar</packaging>

<name>Java Architecture for XML Binding 2.2</name>
<description>Java Architecture for XML Binding Version 2.2 classes</description>
<description>JSR-000222 Java(TM) Architecture for XML Binding (JAXB) 2.2 </description>

<licenses>
<license>
Expand All @@ -32,4 +32,35 @@
<url>https://github.com/jboss/jboss-jaxb-api_spec</url>
</scm>

<build>
<plugins>
<!-- Include LICENSE.txt in the META-INF directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${basedir}</directory>
<includes>
<include>LICENSE</include>
<include>README</include>
</includes>
</resource>
</resources>
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 9e6b9fe

Please sign in to comment.