org.riedelcastro
Class GoogleCodeUploadMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.riedelcastro.GoogleCodeUploadMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Uploads files in the target directory to google code. This code is based on Jonathan Fuerth's ant-googlecode-task.


Field Summary
protected  org.apache.maven.project.MavenProject project
          The Maven Project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GoogleCodeUploadMojo()
           
 
Method Summary
 void execute()
          Executes the upload.
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The Maven Project.

Constructor Detail

GoogleCodeUploadMojo

public GoogleCodeUploadMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Executes the upload.

Throws:
org.apache.maven.plugin.MojoExecutionException - if connection problems appear of the uploads are not properly defined.


Copyright © 2009. All Rights Reserved.