Update for OSSRH deployment

git-svn-id: svn://svn.code.sf.net/p/mockftpserver/code@273 531de8e6-9941-0410-b38b-9a92acbe0330
diff --git a/MockFtpServer/pom.xml b/MockFtpServer/pom.xml
index 0423cb8..d13fe08 100644
--- a/MockFtpServer/pom.xml
+++ b/MockFtpServer/pom.xml
@@ -90,10 +90,13 @@
     </dependencies>

 

     <distributionManagement>

+        <snapshotRepository>

+            <id>ossrh</id>

+            <url>https://oss.sonatype.org/content/repositories/snapshots</url>

+        </snapshotRepository>

         <repository>

-            <id>sourceforge</id>

-            <!-- <url>scp://shell.sourceforge.net/home/groups/m/mo/mockftpserver/htdocs/m2repo</url> -->

-            <url>sftp://web.sourceforge.net/home/groups/m/mo/mockftpserver/htdocs/m2repo</url>

+            <id>ossrh</id>

+            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>

         </repository>

     </distributionManagement>

 

@@ -175,13 +178,40 @@
                 </configuration>

             </plugin>

 

+            <!--<plugin>-->

+                <!--<groupId>org.apache.maven.plugins</groupId>-->

+                <!--<artifactId>maven-source-plugin</artifactId>-->

+                <!--<executions>-->

+                    <!--<execution>-->

+                        <!--<id>attach-sources</id>-->

+                        <!--<phase>package</phase>-->

+                        <!--<goals>-->

+                            <!--<goal>jar</goal>-->

+                        <!--</goals>-->

+                    <!--</execution>-->

+                <!--</executions>-->

+            <!--</plugin>-->

+

             <plugin>

                 <groupId>org.apache.maven.plugins</groupId>

                 <artifactId>maven-source-plugin</artifactId>

+                <version>2.2.1</version>

                 <executions>

                     <execution>

                         <id>attach-sources</id>

-                        <phase>package</phase>

+                        <goals>

+                            <goal>jar-no-fork</goal>

+                        </goals>

+                    </execution>

+                </executions>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.maven.plugins</groupId>

+                <artifactId>maven-javadoc-plugin</artifactId>

+                <version>2.9.1</version>

+                <executions>

+                    <execution>

+                        <id>attach-javadocs</id>

                         <goals>

                             <goal>jar</goal>

                         </goals>

@@ -189,6 +219,7 @@
                 </executions>

             </plugin>

 

+

             <plugin>

                 <artifactId>maven-assembly-plugin</artifactId>

                 <configuration>

@@ -212,6 +243,21 @@
               <version>2.1</version>

             </plugin>

 

+            <plugin>

+                <groupId>org.apache.maven.plugins</groupId>

+                <artifactId>maven-gpg-plugin</artifactId>

+                <version>1.5</version>

+                <executions>

+                    <execution>

+                        <id>sign-artifacts</id>

+                        <phase>verify</phase>

+                        <goals>

+                            <goal>sign</goal>

+                        </goals>

+                    </execution>

+                </executions>

+            </plugin>

+

         </plugins>

     </build>

 

@@ -255,6 +301,19 @@
         </plugins>

     </reporting>

 

+    <developers>

+        <developer>

+            <id>chrismair</id>

+            <name>Chris Mair</name>

+            <email>chrismair@users.sourceforge.net</email>

+            <url>https://sourceforge.net/users/chrismair</url>

+            <roles>

+                <role>developer</role>

+            </roles>

+            <timezone>-4</timezone>

+        </developer>

+    </developers>

+

     <licenses>

         <license>

             <name>Apache 2</name>

diff --git a/MockFtpServer/src/main/resources/ReplyText.properties b/MockFtpServer/src/main/resources/ReplyText.properties
index 8146fbe..505543d 100644
--- a/MockFtpServer/src/main/resources/ReplyText.properties
+++ b/MockFtpServer/src/main/resources/ReplyText.properties
@@ -26,7 +26,7 @@
 213={0}.

 214={0}.

 215={0} system type.

-220=Service ready for new user. (MockFtpServer 2.4; see http://mockftpserver.sourceforge.net)

+220=Service ready for new user. (MockFtpServer 2.5; see http://mockftpserver.sourceforge.net)

 221=Service closing control connection.

 225=Data connection open; no transfer in progress.

 226=Closing data connection. Requested file action successful.