Search code examples
apachemaventomcathttpservermaven-site-plugin

Using Web Server for Maven Site


We are currently moving from Nexus 2 to Artifactory.

While Nexus 2 had dedicated support for Maven Sites, Artifactory has not.

I guess that I could deploy Maven Sites to an Apache HTTP Server, a Tomcat or anything similar, but I am not sure.

What are the prerequisites for using a server as a "Maven Site server"?


Solution

  • The following seems to work:

    • Install a Apache httpd on a Linux system. Configure the www directory.
    • Use scp to deploy the site to the defined www directory.

    For scp, you need the wagon dependency for ssh and an appropriate user for your Linux server.