Skip to content

Commit 5174d94

Browse files
committed
[BAEL-10840] - Moved FTP related code back to libraries module
1 parent ea25895 commit 5174d94

7 files changed

Lines changed: 15 additions & 9 deletions

File tree

‎libraries-apache-commons/README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@
1717
- [Apache Commons Collections BidiMap](http://www.baeldung.com/commons-collections-bidi-map)
1818
- [Apache Commons Collections MapUtils](http://www.baeldung.com/apache-commons-map-utils)
1919
- [Histograms with Apache Commons Frequency](http://www.baeldung.com/apache-commons-frequency)
20-
- [An Introduction to Apache Commons Lang 3](https://www.baeldung.com/java-commons-lang-3)
21-
- [Implementing a FTP-Client in Java](http://www.baeldung.com/java-ftp-client)
20+
- [An Introduction to Apache Commons Lang 3](https://www.baeldung.com/java-commons-lang-3)

‎libraries-apache-commons/pom.xml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@
8383
<version>${org.hamcrest.java-hamcrest.version}</version>
8484
<scope>test</scope>
8585
</dependency>
86-
<dependency>
87-
<groupId>org.mockftpserver</groupId>
88-
<artifactId>MockFtpServer</artifactId>
89-
<version>${mockftpserver.version}</version>
90-
<scope>test</scope>
91-
</dependency>
9286

9387
</dependencies>
9488

@@ -110,7 +104,6 @@
110104
<commons-net.version>3.6</commons-net.version>
111105
<hamcrest-all.version>1.3</hamcrest-all.version>
112106
<common-math3.version>3.6.1</common-math3.version>
113-
<mockftpserver.version>2.7.1</mockftpserver.version>
114107
</properties>
115108

116109
</project>

‎libraries/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
- [Guide to JMapper](http://www.baeldung.com/jmapper)
6666
- [Exactly Once Processing in Kafka](https://www.baeldung.com/kafka-exactly-once)
6767
- [An Introduction to SuanShu](https://www.baeldung.com/suanshu)
68+
- [Implementing a FTP-Client in Java](http://www.baeldung.com/java-ftp-client)
6869

6970
The libraries module contains examples related to small libraries that are relatively easy to use and does not require any separate module of its own.
7071

‎libraries/pom.xml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
<artifactId>commons-lang3</artifactId>
5656
<version>${commons-lang.version}</version>
5757
</dependency>
58+
<dependency>
59+
<groupId>commons-net</groupId>
60+
<artifactId>commons-net</artifactId>
61+
<version>${commons-net.version}</version>
62+
</dependency>
5863
<dependency>
5964
<groupId>tec.units</groupId>
6065
<artifactId>unit-ri</artifactId>
@@ -664,6 +669,12 @@
664669
<version>${derive4j.version}</version>
665670
<optional>true</optional>
666671
</dependency>
672+
<dependency>
673+
<groupId>org.mockftpserver</groupId>
674+
<artifactId>MockFtpServer</artifactId>
675+
<version>${mockftpserver.version}</version>
676+
<scope>test</scope>
677+
</dependency>
667678
</dependencies>
668679

669680
<repositories>
@@ -888,6 +899,8 @@
888899
<maven-bundle-plugin.version>3.3.0</maven-bundle-plugin.version>
889900
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
890901
<derive4j.version>1.1.0</derive4j.version>
902+
<mockftpserver.version>2.7.1</mockftpserver.version>
903+
<commons-net.version>3.6</commons-net.version>
891904
</properties>
892905

893906
</project>

libraries-apache-commons/src/main/java/com/baeldung/ftp/FtpClient.java renamed to libraries/src/main/java/com/baeldung/ftp/FtpClient.java

File renamed without changes.

libraries-apache-commons/src/test/java/com/baeldung/ftp/FtpClientIntegrationTest.java renamed to libraries/src/test/java/com/baeldung/ftp/FtpClientIntegrationTest.java

File renamed without changes.

libraries-apache-commons/src/test/java/com/baeldung/ftp/JdkFtpClientIntegrationTest.java renamed to libraries/src/test/java/com/baeldung/ftp/JdkFtpClientIntegrationTest.java

File renamed without changes.

0 commit comments

Comments
 (0)