You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Meeusen, Christopher W." <Me...@mayo.edu> on 2010/07/22 21:28:05 UTC

SCP javadoc to web server?

Hi,

 

I'm using the maven-javadoc-plugin to generate javadoc it works fine,
but I'd like to know how to SCP the javadoc to our webserver.  I have a
server setup with apache2 and openSSH.  Can I configure the javadoc
plugin to SCP the files to my web server or do I need another plugin to
deploy these documents?  I've been looking through the
maven-javadoc-plugin configuration stuff here:
http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html but
don't see a setting to SCP.

 

Here is my current maven-javadoc-plugin configuration in my pom.xml:

 

  <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-javadoc-plugin</artifactId>

        <version>2.7</version>

        <configuration>

            <!--
<outputDirectory>${basedir}/target/apidocs/external/</outputDirectory>--
>

 
<reportOutputDirectory>${basedir}/target/docs/external/</reportOutputDir
ectory>

          <show>public</show>

          <nohelp>false</nohelp>

          <author>true</author>

          <tags>

            <tag>

                  <name>comment</name>

                  <placement>a</placement>

                  <head>Comment:</head>

            </tag>

            <tag>

                  <name>description</name>

                  <placement>a</placement>

                  <head>Description:</head>

            </tag>

          </tags>

        </configuration>

      </plugin>

 

Thanks!

 

Chris