Author: ngn
Date: Sat Nov  1 14:28:24 2008
New Revision: 709781

URL: http://svn.apache.org/viewvc?rev=709781&view=rev
Log:
Increase version for new development\nAttach commons-net-ftp JAR to the Maven 
lifecycle so that it gets deployed

Modified:
    commons/proper/net/branches/NET_2_0/pom.xml

Modified: commons/proper/net/branches/NET_2_0/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/pom.xml?rev=709781&r1=709780&r2=709781&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/pom.xml (original)
+++ commons/proper/net/branches/NET_2_0/pom.xml Sat Nov  1 14:28:24 2008
@@ -27,7 +27,7 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>commons-net</groupId>
        <artifactId>commons-net</artifactId>
-       <version>2.0</version>
+       <version>2.0.1-SNAPSHOT</version>
        <name>Commons Net</name>
        <description>
                A collection of network utilities and protocol implementations.
@@ -199,7 +199,31 @@
                                        </execution>
                                </executions>
                        </plugin>
-
+            <!--  Attaches the commons-net-ftp JAR to the Maven lifecycle
+                  to ensure that it will be signed a deployed as normal -->
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.2</version>
+                <executions>
+                    <execution>
+                        <id>attach-artifacts</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    
<file>target/commons-net-ftp-${version}.jar</file>
+                                    <type>jar</type>
+                                    <classifier>ftp</classifier>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
 
 
                </plugins>


Reply via email to