commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1089382 - /commons/proper/net/trunk/pom.xml
Date Wed, 06 Apr 2011 10:17:16 GMT
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>



Mime
View raw message