This is an automated email from the ASF dual-hosted git repository.
johnnyv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-ftpserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9f04231 FTPSERVER-500 - updates log4j; adds missing gitignore;
generates new RSA keys because the DSA keys are no longer valid; removes
duplicate namespace in XML doc
9f04231 is described below
commit 9f04231cdd7c7cedc8d466f02ad79c3644042b7b
Author: Jonathan Valliere <[email protected]>
AuthorDate: Thu Feb 25 20:46:40 2021 -0500
FTPSERVER-500 - updates log4j; adds missing gitignore; generates new RSA
keys because the DSA keys are no longer valid; removes duplicate
namespace in XML doc
---
.gitignore | 4 +
core/pom.xml | 429 +++++----
.../org/apache/ftpserver/ssl/SSLTestTemplate.java | 2 +-
core/src/test/resources/client.jks | Bin 1960 -> 0 bytes
core/src/test/resources/ftpclient.jks | Bin 0 -> 1644 bytes
core/src/test/resources/ftpserver.jks | Bin 1961 -> 1643 bytes
distribution/pom.xml | 331 ++++---
examples/ftpserver-example-spring-war/pom.xml | 162 ++--
.../src/main/webapp/WEB-INF/web.xml | 60 +-
pom.xml | 998 ++++++++++-----------
10 files changed, 985 insertions(+), 1001 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e9ca771
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+target/
+.project
+.settings
+.classpath
\ No newline at end of file
diff --git a/core/pom.xml b/core/pom.xml
index ee94a7f..2d7a386 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -1,225 +1,224 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to you under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>ftpserver-parent</artifactId>
- <groupId>org.apache.ftpserver</groupId>
- <version>1.1.2-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>ftpserver-core</artifactId>
- <name>Apache FtpServer Core</name>
- <version>1.1.2-SNAPSHOT</version>
- <packaging>bundle</packaging>
- <scm>
- <connection>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+ license agreements. See the NOTICE file distributed with this work for
additional
+ information regarding copyright ownership. The ASF licenses this file
to
+ you under the Apache License, Version 2.0 (the "License"); you may not
use
+ this file except in compliance with the License. You may obtain a copy
of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
+ by applicable law or agreed to in writing, software distributed under
the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the
specific
+ language governing permissions and limitations under the License. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>ftpserver-parent</artifactId>
+ <groupId>org.apache.ftpserver</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>ftpserver-core</artifactId>
+ <name>Apache FtpServer Core</name>
+ <version>1.1.2-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <scm>
+ <connection>
scm:svn:http://svn.apache.org/repos/asf/mina/ftpserver/trunk/core
</connection>
- <developerConnection>
+ <developerConnection>
scm:svn:https://svn.apache.org/repos/asf/mina/ftpserver/trunk/core
</developerConnection>
- <url> http://svn.apache.org/viewvc/mina/ftpserver/trunk/core</url>
- <tag>HEAD</tag>
- </scm>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.handlers</include>
- <include>**/*.schemas</include>
- <include>**/*.xsd</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </testResource>
- </testResources>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.5.3</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName> ${project.artifactId}</Bundle-SymbolicName>
- <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
- <Export-Package> org.apache.ftpserver;version=${project.version},
- org.apache.ftpserver.command;version=${project.version},
- org.apache.ftpserver.config.spring;version=${project.version},
-
org.apache.ftpserver.filesystem.nativefs;version=${project.version},
- org.apache.ftpserver.ftpletcontainer;version=${project.version},
- org.apache.ftpserver.ipfilter;version=${project.version},
- org.apache.ftpserver.listener;version=${project.version},
- org.apache.ftpserver.main;version=${project.version},
- org.apache.ftpserver.message;version=${project.version},
- org.apache.ftpserver.ssl;version=${project.version},
- org.apache.ftpserver.usermanager;version=${project.version}
- </Export-Package>
- <Import-Package>
-
org.springframework.beans.factory.config;resolution:=optional;version="2.5",
-
org.springframework.beans.factory.support;resolution:=optional;version="2.5",
-
org.springframework.beans.factory.xml;resolution:=optional;version="2.5",
-
org.springframework.context.support;resolution:=optional;version="2.5",
- org.springframework.util;resolution:=optional;version="2.5",
- org.springframework.util.xml;resolution:=optional;version="2.5",
- *</Import-Package>
- </instructions>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0-alpha-2</version>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>write-project-properties</goal>
- </goals>
- <configuration>
-
<outputFile>${project.build.outputDirectory}/org/apache/ftpserver/ftpserver.properties</outputFile>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <url>
http://svn.apache.org/viewvc/mina/ftpserver/trunk/core</url>
+ <tag>HEAD</tag>
+ </scm>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>**/*.handlers</include>
+ <include>**/*.schemas</include>
+ <include>**/*.xsd</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.5.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>
${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Vendor>The Apache
Software Foundation</Bundle-Vendor>
+ <Export-Package>
org.apache.ftpserver;version=${project.version},
+
org.apache.ftpserver.command;version=${project.version},
+
org.apache.ftpserver.config.spring;version=${project.version},
+
org.apache.ftpserver.filesystem.nativefs;version=${project.version},
+
org.apache.ftpserver.ftpletcontainer;version=${project.version},
+
org.apache.ftpserver.ipfilter;version=${project.version},
+
org.apache.ftpserver.listener;version=${project.version},
+
org.apache.ftpserver.main;version=${project.version},
+
org.apache.ftpserver.message;version=${project.version},
+
org.apache.ftpserver.ssl;version=${project.version},
+
org.apache.ftpserver.usermanager;version=${project.version}
+ </Export-Package>
+ <Import-Package>
+
org.springframework.beans.factory.config;resolution:=optional;version="2.5",
+
org.springframework.beans.factory.support;resolution:=optional;version="2.5",
+
org.springframework.beans.factory.xml;resolution:=optional;version="2.5",
+
org.springframework.context.support;resolution:=optional;version="2.5",
+
org.springframework.util;resolution:=optional;version="2.5",
+
org.springframework.util.xml;resolution:=optional;version="2.5",
+ *</Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rat-maven-plugin</artifactId>
- <version>1.0-alpha-3</version>
- <configuration>
- <excludes>
- <exclude>res/user.gen</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
-
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>
- org.codehaus.mojo
- </groupId>
- <artifactId>
- properties-maven-plugin
- </artifactId>
- <versionRange>
- [1.0-alpha-1,)
- </versionRange>
- <goals>
- <goal>
- write-project-properties
- </goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>ftplet-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.mina</groupId>
- <artifactId>mina-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <optional>true</optional>
- </dependency>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+
<phase>generate-resources</phase>
+ <goals>
+
<goal>write-project-properties</goal>
+ </goals>
+ <configuration>
+
<outputFile>${project.build.outputDirectory}/org/apache/ftpserver/ftpserver.properties</outputFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
- <!-- Use as Spring uses JCL -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <optional>true</optional>
- </dependency>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <excludes>
+ <exclude>res/user.gen</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to
store Eclipse m2e settings
+ only. It has no influence on the Maven
build itself. -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+
<artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+
<pluginExecution>
+
<pluginExecutionFilter>
+
<groupId>
+
org.codehaus.mojo
+
</groupId>
+
<artifactId>
+
properties-maven-plugin
+
</artifactId>
+
<versionRange>
+
[1.0-alpha-1,)
+
</versionRange>
+
<goals>
+
<goal>
+
write-project-properties
+
</goal>
+
</goals>
+
</pluginExecutionFilter>
+ <action>
+
<ignore />
+
</action>
+
</pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
- <!-- Test dependencies -->
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>ftplet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.mina</groupId>
+ <artifactId>mina-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <!-- Use as Spring uses JCL -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/core/src/test/java/org/apache/ftpserver/ssl/SSLTestTemplate.java
b/core/src/test/java/org/apache/ftpserver/ssl/SSLTestTemplate.java
index 3034439..49dea04 100644
--- a/core/src/test/java/org/apache/ftpserver/ssl/SSLTestTemplate.java
+++ b/core/src/test/java/org/apache/ftpserver/ssl/SSLTestTemplate.java
@@ -45,7 +45,7 @@ import org.apache.ftpserver.util.IoUtils;
public abstract class SSLTestTemplate extends ClientTestTemplate {
protected static final File FTPCLIENT_KEYSTORE = new File(TestUtil
- .getBaseDir(), "src/test/resources/client.jks");
+ .getBaseDir(), "src/test/resources/ftpclient.jks");
protected static final String KEYSTORE_PASSWORD = "password";
diff --git a/core/src/test/resources/client.jks
b/core/src/test/resources/client.jks
deleted file mode 100644
index cf3228b..0000000
Binary files a/core/src/test/resources/client.jks and /dev/null differ
diff --git a/core/src/test/resources/ftpclient.jks
b/core/src/test/resources/ftpclient.jks
new file mode 100644
index 0000000..1b23e09
Binary files /dev/null and b/core/src/test/resources/ftpclient.jks differ
diff --git a/core/src/test/resources/ftpserver.jks
b/core/src/test/resources/ftpserver.jks
index 28f294b..ce416d2 100644
Binary files a/core/src/test/resources/ftpserver.jks and
b/core/src/test/resources/ftpserver.jks differ
diff --git a/distribution/pom.xml b/distribution/pom.xml
index df313fc..b48f6cd 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -1,172 +1,171 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License. -->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+ license agreements. See the NOTICE file distributed with this work for
additional
+ information regarding copyright ownership. The ASF licenses this file
to
+ you under the Apache License, Version 2.0 (the "License"); you may not
use
+ this file except in compliance with the License. You may obtain a copy
of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
+ by applicable law or agreed to in writing, software distributed under
the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the
specific
+ language governing permissions and limitations under the License. -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>ftpserver-parent</artifactId>
- <groupId>org.apache.ftpserver</groupId>
- <version>1.1.2-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.ftpserver</groupId>
- <artifactId>ftpserver</artifactId>
- <packaging>pom</packaging>
- <name>Apache FtpServer</name>
- <version>1.1.2-SNAPSHOT</version>
-
- <scm>
-
<connection>scm:svn:http://svn.apache.org/repos/asf/mina/ftpserver/trunk/distribution</connection>
-
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/mina/ftpserver/trunk/distribution</developerConnection>
- <url>http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution</url>
- <tag>HEAD</tag>
- </scm>
-
- <build>
- <finalName>apache-${project.artifactId}-${project.version}</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
- <executions>
- <execution>
- <id>bin</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assemblies/bin.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </execution>
- <execution>
- <id>src</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assemblies/src.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rat-maven-plugin</artifactId>
- <version>1.0-alpha-3</version>
- <configuration>
- <excludes>
- <exclude>LICENSE.slf4j.txt</exclude>
- <exclude>LICENSE.springframework.txt</exclude>
- </excludes>
- </configuration>
- </plugin>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>ftpserver-parent</artifactId>
+ <groupId>org.apache.ftpserver</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.ftpserver</groupId>
+ <artifactId>ftpserver</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache FtpServer</name>
+ <version>1.1.2-SNAPSHOT</version>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.ftpserver</groupId>
- <artifactId>ftplet-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ftpserver</groupId>
- <artifactId>ftpserver-core</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
-
- <!-- Use as Spring uses JCL -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <id>download-docs</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>Downloading Manual</echo>
- <mkdir dir="${project.build.directory}/site" />
- <get
src="http://people.apache.org/~ngn/ftpserver/docs/ftpserver.zip"
dest="${project.build.directory}/${project.artifactId}-docs.zip" />
- <unzip
src="${project.build.directory}/${project.artifactId}-docs.zip"
dest="${project.build.directory}/docs" />
- </tasks>
- </configuration>
- </execution>
-
- <execution>
- <id>copy-javadocs-docs</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>Copying Javadocs</echo>
- <mkdir dir="${project.build.directory}/api" />
- <copy todir="${project.build.directory}/api">
- <fileset dir="../target/site/apidocs" />
- </copy>
- </tasks>
- </configuration>
- </execution>
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/mina/ftpserver/trunk/distribution</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/mina/ftpserver/trunk/distribution</developerConnection>
+
<url>http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution</url>
+ <tag>HEAD</tag>
+ </scm>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <build>
+
<finalName>apache-${project.artifactId}-${project.version}</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <executions>
+ <execution>
+ <id>bin</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+
<descriptor>src/main/assemblies/bin.xml</descriptor>
+ </descriptors>
+
<tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ <execution>
+ <id>src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+
<descriptor>src/main/assemblies/src.xml</descriptor>
+ </descriptors>
+
<tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <excludes>
+
<exclude>LICENSE.slf4j.txt</exclude>
+
<exclude>LICENSE.springframework.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ftpserver</groupId>
+ <artifactId>ftplet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ftpserver</groupId>
+ <artifactId>ftpserver-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </dependency>
+
+ <!-- Use as Spring uses JCL -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+
<id>download-docs</id>
+
<phase>process-resources</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<echo>Downloading Manual</echo>
+
<mkdir dir="${project.build.directory}/site" />
+
<get
+
src="http://people.apache.org/~ngn/ftpserver/docs/ftpserver.zip"
+
dest="${project.build.directory}/${project.artifactId}-docs.zip" />
+
<unzip
+
src="${project.build.directory}/${project.artifactId}-docs.zip"
+
dest="${project.build.directory}/docs" />
+ </tasks>
+ </configuration>
+ </execution>
+
+ <execution>
+
<id>copy-javadocs-docs</id>
+
<phase>process-resources</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<echo>Copying Javadocs</echo>
+
<mkdir dir="${project.build.directory}/api" />
+
<copy todir="${project.build.directory}/api">
+
<fileset dir="../target/site/apidocs" />
+
</copy>
+ </tasks>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/examples/ftpserver-example-spring-war/pom.xml
b/examples/ftpserver-example-spring-war/pom.xml
index 2619cdc..a5d29f8 100644
--- a/examples/ftpserver-example-spring-war/pom.xml
+++ b/examples/ftpserver-example-spring-war/pom.xml
@@ -1,85 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to you under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>ftpserver-parent</artifactId>
- <groupId>org.apache.ftpserver</groupId>
- <version>1.1.2-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+ license agreements. See the NOTICE file distributed with this work for
additional
+ information regarding copyright ownership. The ASF licenses this file
to
+ you under the Apache License, Version 2.0 (the "License"); you may not
use
+ this file except in compliance with the License. You may obtain a copy
of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
+ by applicable law or agreed to in writing, software distributed under
the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the
specific
+ language governing permissions and limitations under the License. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>ftpserver-parent</artifactId>
+ <groupId>org.apache.ftpserver</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.ftpserver.examples</groupId>
- <artifactId>ftpserver-spring-war</artifactId>
- <name>FtpServer Spring web project example</name>
- <packaging>war</packaging>
- <version>1.1.2-SNAPSHOT</version>
-
- <dependencies>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>2.5.5</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ftpserver</groupId>
- <artifactId>ftpserver-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>ftpserver-spring-war</finalName>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.8</version>
- <configuration>
- <contextPath>/</contextPath>
- <scanIntervalSeconds>5</scanIntervalSeconds>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.7</source>
- <target>1.7</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.ftpserver.examples</groupId>
+ <artifactId>ftpserver-spring-war</artifactId>
+ <name>FtpServer Spring web project example</name>
+ <packaging>war</packaging>
+ <version>1.1.2-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>2.5.5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ftpserver</groupId>
+ <artifactId>ftpserver-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>ftpserver-spring-war</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.8</version>
+ <configuration>
+ <contextPath>/</contextPath>
+
<scanIntervalSeconds>5</scanIntervalSeconds>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git
a/examples/ftpserver-example-spring-war/src/main/webapp/WEB-INF/web.xml
b/examples/ftpserver-example-spring-war/src/main/webapp/WEB-INF/web.xml
index e8ce138..601fb6e 100644
--- a/examples/ftpserver-example-spring-war/src/main/webapp/WEB-INF/web.xml
+++ b/examples/ftpserver-example-spring-war/src/main/webapp/WEB-INF/web.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
+<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
@@ -13,39 +13,27 @@
the specific language governing permissions and limitations under the
License.
-->
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- id="WebApp_ID" version="2.5">
-
- <display-name>ftpserver-spring-war</display-name>
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
-
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value> /WEB-INF/applicationContext.xml </param-value>
- </context-param>
-
-
- <listener>
-
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
-
- <listener>
-
<listener-class>org.apache.ftpserver.example.springwar.FtpServerListener</listener-class>
- </listener>
-
- <servlet>
- <servlet-name>status</servlet-name>
-
<servlet-class>org.apache.ftpserver.example.springwar.FtpServerServlet</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>status</servlet-name>
- <url-pattern>/</url-pattern>
- </servlet-mapping>
-
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
+ <display-name>ftpserver-example-spring-war</display-name>
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value> /WEB-INF/applicationContext.xml </param-value>
+ </context-param>
+ <listener>
+
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+ <listener>
+
<listener-class>org.apache.ftpserver.example.springwar.FtpServerListener</listener-class>
+ </listener>
+ <servlet>
+ <servlet-name>status</servlet-name>
+
<servlet-class>org.apache.ftpserver.example.springwar.FtpServerServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>status</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
</web-app>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index a217dbb..4cb933e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,503 +1,499 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License. -->
-
- <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>apache</artifactId>
- <groupId>org.apache</groupId>
- <version>18</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.ftpserver</groupId>
- <artifactId>ftpserver-parent</artifactId>
- <packaging>pom</packaging>
- <name>Apache FtpServer Parent</name>
- <version>1.1.2-SNAPSHOT</version>
- <url>https://mina.apache.org/ftpserver</url>
- <issueManagement>
- <system>Jira</system>
- <url>https://issues.apache.org/jira/browse/FTPSERVER</url>
- </issueManagement>
- <inceptionYear>2003</inceptionYear>
-
- <licenses>
- <license>
- <name>Apache 2.0 License</name>
- <url>https://www.apache.org/licenses/LICENSE-2.0</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
-
- <mailingLists>
- <mailingList>
- <name>FtpServer Users mailing list</name>
- <subscribe>[email protected]</subscribe>
- <unsubscribe>[email protected]</unsubscribe>
- <post>[email protected]</post>
-
<archive>https://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/</archive>
- </mailingList>
- <mailingList>
- <name>MINA Development mailing list</name>
- <subscribe>[email protected]</subscribe>
- <unsubscribe>[email protected]</unsubscribe>
- <post>[email protected]</post>
- <archive>https://mail-archives.apache.org/mod_mbox/mina-dev/</archive>
- <otherArchives>
-
<otherArchive>http://www.nabble.com/Apache-MINA-f16868.html</otherArchive>
- </otherArchives>
- </mailingList>
- <mailingList>
- <name>MINA Commit mailing list</name>
- <subscribe>[email protected]</subscribe>
- <unsubscribe>[email protected]</unsubscribe>
-
<archive>https://mail-archives.apache.org/mod_mbox/mina-commits/</archive>
- </mailingList>
- </mailingLists>
-
- <developers>
- <developer>
- <id>ngn</id>
- <name>Niklas Gustavsson</name>
- <email>[email protected]</email>
- </developer>
- <developer>
- <id>rana_b</id>
- <name>Rana Battacharyya</name>
- <email>rana_b.{aT}.yahoo.{d0T}.com</email>
- </developer>
- <developer>
- <id>hammant</id>
- <name>Paul Hammant</name>
- <email>paul.{aT}.hammant.{d0T}.org</email>
- </developer>
- <developer>
- <id>sergey</id>
- <name>Sergey M Vladimirov</name>
- <email>vlsergey.{aT}.gmail.{d0T}.com</email>
- <organization>Netcracker corp.</organization>
- </developer>
- </developers>
-
- <contributors>
- <contributor>
- <name>Birkir A. Barkarson</name>
- </contributor>
- <contributor>
- <name>David H. DeWolf</name>
- <email>ddewolf.{aT}.apache.{d0T}.org</email>
- <organization>Vivare, INC</organization>
- </contributor>
- <contributor>
- <name>Luis Sanabria</name>
- </contributor>
- <contributor>
- <name>Daniel Hagen</name>
- </contributor>
- <contributor>
- <name>KwangYul Seo</name>
- </contributor>
- <contributor>
- <name>Dave Roberts</name>
- <organization>SAA Consultants Ltd</organization>
- </contributor>
- <contributor>
- <name>Nick Vincent</name>
- </contributor>
- <contributor>
- <name>Andrea Francia</name>
- <url>http://andreafrancia.blogspot.com</url>
- </contributor>
- </contributors>
-
- <scm>
-
<connection>scm:git:https://gitbox.apache.org/repos/asf/mina-ftpserver.git</connection>
-
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/mina-ftpserver.git</developerConnection>
- <url>https://github.com/apache/mina-ftpserver/tree/${project.scm.tag}</url>
- <tag>master</tag>
- </scm>
-
- <properties>
- <!-- Disbale the JAVA 8 Javadoc Lint -->
- <additionalparam>-Xdoclint:none</additionalparam>
-
- <!-- Set versions for depending jars -->
- <commons.codec.version>1.10</commons.codec.version>
- <commons.net.version>3.5</commons.net.version>
- <hsqldb.version>1.8.0.10</hsqldb.version>
- <jcl.over.slf4j.version>1.7.21</jcl.over.slf4j.version>
- <junit.version>4.12</junit.version>
- <log4j.version>1.2.17</log4j.version>
- <mina.core.version>2.0.21</mina.core.version>
- <slf4j.api.version>1.7.21</slf4j.api.version>
- <slf4j.log4j12.version>1.7.21</slf4j.log4j12.version>
- <spring.context.version>2.5.5</spring.context.version>
-
- <maven.compile.source>1.7</maven.compile.source>
- <maven.compile.target>1.7</maven.compile.target>
- <ftpserver.version>${project.version}</ftpserver.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <!-- Submodules -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>ftplet-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>ftpserver-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.mina</groupId>
- <artifactId>mina-core</artifactId>
- <version>${mina.core.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring.context.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- Logging -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.api.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${jcl.over.slf4j.version}</version>
- </dependency>
-
- <!-- Test dependencies -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
-
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <version>${commons.net.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.log4j12.version}</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${commons.codec.version}</version>
- </dependency>
-
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>${hsqldb.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.12</version>
- <inherited>true</inherited>
- <configuration>
- <excludeSubProjects>false</excludeSubProjects>
- <excludes>
- <!-- MAVEN_DEFAULT_EXCLUDES -->
- <exclude>**/target/**/*</exclude>
- <exclude>**/cobertura.ser</exclude>
-
- <!-- ECLIPSE_DEFAULT_EXCLUDES -->
- <exclude>**/.classpath</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/.settings/**/*</exclude>
-
- <!-- IDEA_DEFAULT_EXCLUDES -->
- <exclude>**/*.iml</exclude>
- <exclude>**/*.ipr</exclude>
- <exclude>**/*.iws</exclude>
-
- <!-- MANIFEST_MF_EXCLUDES -->
- <exclude>**/MANIFEST.MF</exclude>
-
- <!-- 3RD_PARTY_LICENSES -->
- <exclude>**/LICENSE*</exclude>
-
- <!-- Missing license header in dependency reduced pom, see
http://jira.codehaus.org/browse/MSHADE-48 -->
- <exclude>**/dependency-reduced-pom.xml</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.3</version>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.0.1</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.5.2</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.3.1</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <!-- Allow only Maven 2.0.5 and >2.0.7 -->
- <requireMavenVersion>
- <version>[2.0.5],[2.0.7,]</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- </plugin>
-
- <plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.9</version>
- <configuration>
- <downloadSources>true</downloadSources>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
-
<tagBase>https://svn.apache.org/repos/asf/mina/ftpserver/tags/</tagBase>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <resourceBundles>
-
<resourceBundle>org.apache:apache-jar-resource-bundle:1.1</resourceBundle>
- </resourceBundles>
- <properties>
- <addLicense>true</addLicense>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <source>${maven.compile.source}</source>
- <target>${maven.compile.target}</target>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <id>create-source-jar</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-idea-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <jdkLevel>${maven.compile.source}</jdkLevel>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.5</version>
- </plugin>
-
- <plugin><groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>check-apache-license-header</id>
- <phase>validate</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>apache-release</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.1</version>
- <executions>
- <execution>
- <id>create-javadoc-jar</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <source>${maven.compile.source}</source>
- <excludePackageNames>
-
*.impl:org.apache.ftpserver.example.*:org.apache.ftpserver.config.spring:org.apache.ftpserver.command.impl.listing:org.apache.ftpserver.listener.nio:org.apache.ftpserver.util
- </excludePackageNames>
- </configuration>
- </execution>
-
- <execution>
- <id>create-site-javadoc</id>
- <phase>process-resources</phase>
- <goals>
- <goal>aggregate</goal>
- </goals>
- <configuration>
- <doctitle>Apache FtpServer ${project.version} Public
API</doctitle>
- <windowtitle>Apache FtpServer ${project.version} Public
API</windowtitle>
- <source>${maven.compile.source}</source>
- <excludePackageNames>
-
*.impl:org.apache.ftpserver.example.*:org.apache.ftpserver.config.spring:org.apache.ftpserver.command.impl.listing:org.apache.ftpserver.listener.nio:org.apache.ftpserver.util
- </excludePackageNames>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <modules>
- <module>ftplet-api</module>
- <module>core</module>
- <module>distribution</module>
- <module>examples</module>
- </modules>
- </profile>
- </profiles>
-
- <modules>
- <module>ftplet-api</module>
- <module>core</module>
- <module>examples</module>
- </modules>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+ license agreements. See the NOTICE file distributed with this work for
additional
+ information regarding copyright ownership. The ASF licenses this file
to
+ you under the Apache License, Version 2.0 (the "License"); you may not
use
+ this file except in compliance with the License. You may obtain a copy
of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required
+ by applicable law or agreed to in writing, software distributed under
the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the
specific
+ language governing permissions and limitations under the License. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>apache</artifactId>
+ <groupId>org.apache</groupId>
+ <version>18</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.ftpserver</groupId>
+ <artifactId>ftpserver-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache FtpServer Parent</name>
+ <version>1.1.2-SNAPSHOT</version>
+ <url>https://mina.apache.org/ftpserver</url>
+ <issueManagement>
+ <system>Jira</system>
+ <url>https://issues.apache.org/jira/browse/FTPSERVER</url>
+ </issueManagement>
+ <inceptionYear>2003</inceptionYear>
+
+ <licenses>
+ <license>
+ <name>Apache 2.0 License</name>
+ <url>https://www.apache.org/licenses/LICENSE-2.0</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+
+ <mailingLists>
+ <mailingList>
+ <name>FtpServer Users mailing list</name>
+
<subscribe>[email protected]</subscribe>
+
<unsubscribe>[email protected]</unsubscribe>
+ <post>[email protected]</post>
+
<archive>https://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/</archive>
+ </mailingList>
+ <mailingList>
+ <name>MINA Development mailing list</name>
+ <subscribe>[email protected]</subscribe>
+
<unsubscribe>[email protected]</unsubscribe>
+ <post>[email protected]</post>
+
<archive>https://mail-archives.apache.org/mod_mbox/mina-dev/</archive>
+ <otherArchives>
+
<otherArchive>http://www.nabble.com/Apache-MINA-f16868.html</otherArchive>
+ </otherArchives>
+ </mailingList>
+ <mailingList>
+ <name>MINA Commit mailing list</name>
+ <subscribe>[email protected]</subscribe>
+
<unsubscribe>[email protected]</unsubscribe>
+
<archive>https://mail-archives.apache.org/mod_mbox/mina-commits/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <developers>
+ <developer>
+ <id>ngn</id>
+ <name>Niklas Gustavsson</name>
+ <email>[email protected]</email>
+ </developer>
+ <developer>
+ <id>rana_b</id>
+ <name>Rana Battacharyya</name>
+ <email>rana_b.{aT}.yahoo.{d0T}.com</email>
+ </developer>
+ <developer>
+ <id>hammant</id>
+ <name>Paul Hammant</name>
+ <email>paul.{aT}.hammant.{d0T}.org</email>
+ </developer>
+ <developer>
+ <id>sergey</id>
+ <name>Sergey M Vladimirov</name>
+ <email>vlsergey.{aT}.gmail.{d0T}.com</email>
+ <organization>Netcracker corp.</organization>
+ </developer>
+ </developers>
+
+ <contributors>
+ <contributor>
+ <name>Birkir A. Barkarson</name>
+ </contributor>
+ <contributor>
+ <name>David H. DeWolf</name>
+ <email>ddewolf.{aT}.apache.{d0T}.org</email>
+ <organization>Vivare, INC</organization>
+ </contributor>
+ <contributor>
+ <name>Luis Sanabria</name>
+ </contributor>
+ <contributor>
+ <name>Daniel Hagen</name>
+ </contributor>
+ <contributor>
+ <name>KwangYul Seo</name>
+ </contributor>
+ <contributor>
+ <name>Dave Roberts</name>
+ <organization>SAA Consultants Ltd</organization>
+ </contributor>
+ <contributor>
+ <name>Nick Vincent</name>
+ </contributor>
+ <contributor>
+ <name>Andrea Francia</name>
+ <url>http://andreafrancia.blogspot.com</url>
+ </contributor>
+ </contributors>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/mina-ftpserver.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/mina-ftpserver.git</developerConnection>
+
<url>https://github.com/apache/mina-ftpserver/tree/${project.scm.tag}</url>
+ <tag>master</tag>
+ </scm>
+
+ <properties>
+ <!-- Disbale the JAVA 8 Javadoc Lint -->
+ <additionalparam>-Xdoclint:none</additionalparam>
+
+ <!-- Set versions for depending jars -->
+ <commons.codec.version>1.10</commons.codec.version>
+ <commons.net.version>3.5</commons.net.version>
+ <hsqldb.version>1.8.0.10</hsqldb.version>
+ <jcl.over.slf4j.version>1.7.21</jcl.over.slf4j.version>
+ <junit.version>4.12</junit.version>
+ <log4j.version>2.14.0</log4j.version>
+ <mina.core.version>2.1.2</mina.core.version>
+ <slf4j.api.version>1.7.21</slf4j.api.version>
+ <slf4j.log4j12.version>1.7.21</slf4j.log4j12.version>
+ <spring.context.version>2.5.5</spring.context.version>
+
+ <maven.compile.source>1.7</maven.compile.source>
+ <maven.compile.target>1.7</maven.compile.target>
+ <ftpserver.version>${project.version}</ftpserver.version>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <!-- Submodules -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>ftplet-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>ftpserver-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.mina</groupId>
+ <artifactId>mina-core</artifactId>
+ <version>${mina.core.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${spring.context.version}</version>
+ <exclusions>
+ <exclusion>
+
<groupId>commons-logging</groupId>
+
<artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <!-- Logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.api.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>${jcl.over.slf4j.version}</version>
+ </dependency>
+
+ <!-- Test dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ <version>${commons.net.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j.log4j12.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>${commons.codec.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+
<artifactId>apache-rat-plugin</artifactId>
+ <version>0.13</version>
+ <inherited>true</inherited>
+ <configuration>
+
<excludeSubProjects>false</excludeSubProjects>
+ <excludes>
+ <!--
MAVEN_DEFAULT_EXCLUDES -->
+
<exclude>**/target/**/*</exclude>
+
<exclude>**/cobertura.ser</exclude>
+
+ <!--
ECLIPSE_DEFAULT_EXCLUDES -->
+
<exclude>**/.classpath</exclude>
+
<exclude>**/.project</exclude>
+
<exclude>**/.settings/**/*</exclude>
+
+ <!--
IDEA_DEFAULT_EXCLUDES -->
+
<exclude>**/*.iml</exclude>
+
<exclude>**/*.ipr</exclude>
+
<exclude>**/*.iws</exclude>
+
+ <!--
MANIFEST_MF_EXCLUDES -->
+
<exclude>**/MANIFEST.MF</exclude>
+
+ <!-- 3RD_PARTY_LICENSES
-->
+
<exclude>**/LICENSE*</exclude>
+
+ <!-- Missing license
header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48
-->
+
<exclude>**/dependency-reduced-pom.xml</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+
<goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-release-plugin</artifactId>
+ <version>2.5.3</version>
+ <configuration>
+
<autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-source-plugin</artifactId>
+ <version>3.0.1</version>
+ </plugin>
+
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-install-plugin</artifactId>
+ <version>2.5.2</version>
+ </plugin>
+
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.3.1</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <!-- Allow only
Maven 2.0.5 and >2.0.7 -->
+
<requireMavenVersion>
+
<version>[2.0.5],[2.0.7,]</version>
+
</requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.18.1</version>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+
<tagBase>https://svn.apache.org/repos/asf/mina/ftpserver/tags/</tagBase>
+ </configuration>
+ </plugin>
+
+ <plugin>
+
<artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+
<resourceBundle>org.apache:apache-jar-resource-bundle:1.1</resourceBundle>
+ </resourceBundles>
+ <properties>
+
<addLicense>true</addLicense>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.5.1</version>
+ <configuration>
+ <source>${maven.compile.source}</source>
+ <target>${maven.compile.target}</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>create-source-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-idea-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+
<jdkLevel>${maven.compile.source}</jdkLevel>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <archive>
+
<addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+
<id>check-apache-license-header</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.1</version>
+ <executions>
+ <execution>
+
<id>create-javadoc-jar</id>
+ <goals>
+
<goal>jar</goal>
+ </goals>
+ <configuration>
+
<source>${maven.compile.source}</source>
+
<excludePackageNames>
+
*.impl:org.apache.ftpserver.example.*:org.apache.ftpserver.config.spring:org.apache.ftpserver.command.impl.listing:org.apache.ftpserver.listener.nio:org.apache.ftpserver.util
+
</excludePackageNames>
+ </configuration>
+ </execution>
+
+ <execution>
+
<id>create-site-javadoc</id>
+
<phase>process-resources</phase>
+ <goals>
+
<goal>aggregate</goal>
+ </goals>
+ <configuration>
+
<doctitle>Apache FtpServer ${project.version} Public API</doctitle>
+
<windowtitle>Apache FtpServer ${project.version} Public API</windowtitle>
+
<source>${maven.compile.source}</source>
+
<excludePackageNames>
+
*.impl:org.apache.ftpserver.example.*:org.apache.ftpserver.config.spring:org.apache.ftpserver.command.impl.listing:org.apache.ftpserver.listener.nio:org.apache.ftpserver.util
+
</excludePackageNames>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <modules>
+ <module>ftplet-api</module>
+ <module>core</module>
+ <module>distribution</module>
+ <module>examples</module>
+ </modules>
+ </profile>
+ </profiles>
+
+ <modules>
+ <module>ftplet-api</module>
+ <module>core</module>
+ <module>examples</module>
+ </modules>
</project>