org.codehaus.mojo.delicious
Class ExportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
ExportMojo
public ExportMojo()
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-2010. All Rights Reserved.