You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/04/06 12:17:16 UTC
svn commit: r1089382 - /commons/proper/net/trunk/pom.xml
Author: sebb
Date: Wed Apr 6 10:17:16 2011
New Revision: 1089382
URL: http://svn.apache.org/viewvc?rev=1089382&view=rev
Log:
Compile examples, but exclude from binary jar
Modified:
commons/proper/net/trunk/pom.xml
Modified: commons/proper/net/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/pom.xml?rev=1089382&r1=1089381&r2=1089382&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Wed Apr 6 10:17:16 2011
@@ -134,12 +134,13 @@ Supported protocols include: Echo, Finge
<build>
<plugins>
+ <!-- Exclude examples from binary jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
+ <artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
- <exclude>**/examples/**/*.java</exclude>
+ <exclude>examples/**</exclude>
</excludes>
</configuration>
</plugin>