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 19, 2012
1 parent 11a5248 commit 93661ec
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pom.xml
Expand Up @@ -36,6 +36,37 @@
<url>https://github.com/jboss/jboss-ejb-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>

<dependencies>
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
Expand Down

0 comments on commit 93661ec

Please sign in to comment.