maven: Deploying .jar to remote Maven repository by ftp

<build> <plugins> <!– other plugins, skipped –> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> </plugins>   <extensions> <!– Enabling the use of FTP –> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ftp</artifactId> <version>1.0-beta-6</version> </extension> </extensions> </build>   <distributionManagement> <repository> <id>repo-server</id> <url>ftp://192.168.1.253/var/maven</url> </repository> </distributionManagement> <build> <plugins> <!– other plugins, skipped –> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> </plugins> <extensions> <!– Enabling the use of Read more about maven: Deploying .jar to remote Maven repository by ftp[…]