diff --git a/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt b/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt index bc788d9b60..47cafe5b62 100644 --- a/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt +++ b/maven-site/src/site/apt/guides/mini/guide-deploy-ftp.apt @@ -7,3 +7,87 @@ ------ Guide to deploying with FTP + + In order to deploy artifacts using FTP you must first specify the use of an FTP server in the + <> element of your POM as well as specifying an <> in your + <> element which will pull in the FTP artifacts required to deploy with FTP: + ++----+ + + + + com.stchome + mavenFull + 1.0 + + 4.0.0 + com.mycompany + my-app + jar + 1.1-SNAPSHOT + Maven Quick Start Archetype + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + + + ftp-repository + ftp://repository.mycompany.com + + + + + + + org.apache.maven.wagon + wagon-ftp + 1.0-alpha-3 + + + + + + ++----+ + + Your <<>> would contain a <<>> element where the <> of that element matches <> of the + FTP repository specified in the POM above: + ++----+ + + + + ... + + + + ftp-repository + user + pass + + + + + ... + + + ++----+ + + You should, of course, make sure that you can login into the specified FTP server by hand before attempting the + deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts + using Maven: + ++----+ + +m2 deploy + ++----+ \ No newline at end of file