commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1297289 - /commons/proper/net/trunk/pom.xml
Date Mon, 05 Mar 2012 23:46:45 GMT
Author: sebb
Date: Mon Mar  5 23:46:45 2012
New Revision: 1297289

URL: http://svn.apache.org/viewvc?rev=1297289&view=rev
Log:
Simplify running examples by allowing use with java -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=1297289&r1=1297288&r2=1297289&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Mon Mar  5 23:46:45 2012
@@ -223,6 +223,10 @@ Supported protocols include: Echo, Finge
                                         <attribute name="Implementation-Build" value="${implementation.build}"/>
                                         <attribute name="X-Compile-Source-JDK" value="${maven.compile.source}"
/>
                                         <attribute name="X-Compile-Target-JDK" value="${maven.compile.target}"
/>
+                                        <!-- Helper application -->
+                                        <attribute name="Main-Class" value="examples/Main"
/>
+                                        <!-- Allow java -jar examples.jar to work -->
+                                        <attribute name="Class-Path" value="commons-net-${project.version}.jar"
/>
                                     </manifest>
                                     <fileset dir="target/classes" includes="examples/**"
/>
                                 </jar>



Mime
View raw message