summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrismair <chrismair@531de8e6-9941-0410-b38b-9a92acbe0330>2014-05-11 13:17:15 +0000
committerchrismair <chrismair@531de8e6-9941-0410-b38b-9a92acbe0330>2014-05-11 13:17:15 +0000
commit0ef70e71163dc2b7870b23282663ac09dbc98a52 (patch)
treef8ea227444ebf6555bce81fc0b9e464e92289c40
parenta1b5d03efe2c93aec60e2446282a55e75e31254a (diff)
downloadmockftpserver-0ef70e71163dc2b7870b23282663ac09dbc98a52.tar.gz
Update for OSSRH deployment
git-svn-id: svn://svn.code.sf.net/p/mockftpserver/code@273 531de8e6-9941-0410-b38b-9a92acbe0330
-rw-r--r--MockFtpServer/pom.xml67
-rw-r--r--MockFtpServer/src/main/resources/ReplyText.properties2
2 files changed, 64 insertions, 5 deletions
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.