Quantcast

SCP javadoc to web server?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SCP javadoc to web server?

Meeusen, Christopher W.
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

Loading...