protoj.lang.internal
Class ReleaseFeature

java.lang.Object
  extended by protoj.lang.internal.ReleaseFeature

public final class ReleaseFeature
extends java.lang.Object

Responsible for kicking off a release of the ProtoJ project. The release culminates in a deployment of the java artifacts to the maven repository at source forge and the upload of the project tar archive to googlecode.

The only prerequisite for invoking the release(String, String, String) method is that the protoj code is compiled.

Author:
Ashley Williams

Constructor Summary
ReleaseFeature(ProtoProject project)
           
 
Method Summary
 void release(java.lang.String gcUserName, java.lang.String gcPassword, java.lang.String sfUserName)
          Carries out the steps to release protoj starting from just the compiled code.
 void uploadToGoogleCode(java.lang.String gcUserName, java.lang.String gcPassword)
          Uploads the project archive, the jar with dependencies and the jar with no dependencies to google code.
 void uploadToMaven(java.lang.String sfUserName)
          Publishes the archives to the sourceforge maven repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseFeature

public ReleaseFeature(ProtoProject project)
Method Detail

release

public void release(java.lang.String gcUserName,
                    java.lang.String gcPassword,
                    java.lang.String sfUserName)
Carries out the steps to release protoj starting from just the compiled code.

Parameters:
gcUserName - the username for uploading to the googlecode project
gcPassword - the password for uploading to the googlecode project
sfUserName - the username for uploading to the sourceforge maven repository

uploadToMaven

public void uploadToMaven(java.lang.String sfUserName)
Publishes the archives to the sourceforge maven repository.

Parameters:
sfUserName -

uploadToGoogleCode

public void uploadToGoogleCode(java.lang.String gcUserName,
                               java.lang.String gcPassword)
Uploads the project archive, the jar with dependencies and the jar with no dependencies to google code.

Parameters:
gcUserName -
gcPassword -