Changed pom.xml to exclude example code from jars

This commit is contained in:
GideonLeGrange 2013-12-23 12:09:42 +02:00
parent f242144496
commit bfa15fd03c
1 changed files with 21 additions and 0 deletions

21
pom.xml
View File

@ -38,6 +38,27 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<excludes>
<exclude>**/examples</exclude>
<exclude>**/examples/*</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>