org.codehaus.mojo.delicious
Class ExportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.delicious.ExportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ExportMojo
extends org.apache.maven.plugin.AbstractMojo

Exports the links in the configured html page to the configured delicious account. This is an easy way to transfer links from a browser to delicious - simply use the 'export bookmarks...' option in your browser to create the links page and supply it as a configuration parameter to this goal.

Note that each post takes at least one second to complete as a courtesy to the delicious server.

Example standalone useage:
mvn org.codehaus.mojo:delicious-maven-plugin:export\
-Dserver=delicious -Durl=file:///users/jim/bookmarks.html -Dreplace=true


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExportMojo()
           
 
Method Summary
 void execute()
          Exports the configured bookmarks to the delicious account.
 DeliciousService getService()
          Gets the authenticated delicious service.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportMojo

public ExportMojo()
Method Detail

getService

public DeliciousService getService()
Gets the authenticated delicious service.

Returns:

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Exports the configured bookmarks to the delicious account.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2005-2011 Codehaus. All Rights Reserved.