简体   繁体   中英

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"?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM