Please, can anyone help me to understand how to deploy an app. I have built an application using spring framework and maven. I want to deploy it in a remote server using ftp. I was told that I can upload it in a sub domain given to me (like: www.yyyy.xxxx.com) and they gave me a username and password. I used the instruction in this link : enter link description here but instead of <repository> I used <site> . But it doesn't work. the following error is : Embended Error: Password not specified for repository ftp-repository. I don't know if I'm following the correct instructions or I should try to deploy with Apache ANT?
The pom.xml contains:
<!-- DISTRIBUTION FILE --> <distributionManagement> <site> <id>ftp-repository</id> <url>ftp://ftp.xxxx.com/app_name</url> </site> </distributionManagement> <build> <!-- FTP TRANSFER --> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav-jackrabbit</artifactId> <version>2.2</version> </extension> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ftp</artifactId> <version>2.2</version> </extension> And I placed the settings.xml file in the same directory with the pom.xml The error trace starts with: org.apache.maven.lifecycle.LifecycleExecutionExeption: Error uploading site I have used fileZilla to test the connection to the server, and I get connectet when I use host: ftp.xxxx.com