mtitek
  • Cloud
  • Big Data
  • CI
  • Install
  • Samples
  • Java
  • Ubuntu
  • Maven
  • Archive
Maven | Create a site (FTP Server)
  1. References
  2. Generating the site
  3. Deploying the site (FTP Server)

  1. References
    See this page for more details about maven site:
    https://maven.apache.org/guides/mini/guide-site.html

    See this page for more details on how to install and configure:
    vsftpd (FTP server)
    Apache HTTP Server
  2. Generating the site
    Update the POM file and add the maven-site-plugin plugin:
    To generate the site:

    By default, the resulting site will be in "target/site/" folder:
  3. Deploying the site (FTP Server)
    First let create the folder "maven-sites" where the site will be created:

    Modify the "settings.xml" file to include the FTP server configuration:

    Modify the "pom.xml" file of your project to include the "site" configuration:

    Modify the "pom.xml" file of your project to include the "wagon-ftp" plugin configuration:

    Generating and deploying the Site:

    HTTP server: Creating a soft link to the site folder:

    You can use the browser: http://localhost/maven-sites/mtitek-svn-test-a/

    HTTP - Maven site

© 2020  mtitek