org.universAAL.support.directives.procedures
Class UpdateRootVersionsProcedure

Package class diagram package UpdateRootVersionsProcedure
java.lang.Object
  extended by org.universAAL.support.directives.procedures.UpdateParentPomInteractiveProcedure
      extended by org.universAAL.support.directives.procedures.UpdateRootVersionsProcedure
All Implemented Interfaces:
APIProcedure, PomFixer

public class UpdateRootVersionsProcedure
extends UpdateParentPomInteractiveProcedure
implements APIProcedure, PomFixer

this procedure is intended to ease Release process by:

  1. changing the uAAL.pom parent version
  2. changing the imported root poms' versions in dependencyManagement
  3. changing the version of itest in dependencyManagement
  4. changing the version of uaal-maven-plugin in dependencyManagement
  5. changing the version of uaaldirectives-maven-plugin in dependencyManagement
  6. changing the version of uaal-manifest-maven-plugin in dependencyManagement
  7. the version of uaaldirectives-maven-plugin in reporting
All versions are set to be the newVersion Parameter passed in the constructor.

Author:
amedrano

Constructor Summary
UpdateRootVersionsProcedure(String newVersion)
          Constructor.
 
Method Summary
protected  String ask4NewVersion(String groupID, String artifactID, String currentVersion)
          Ask the user for the new version for the given artifact.
 
Methods inherited from class org.universAAL.support.directives.procedures.UpdateParentPomInteractiveProcedure
execute, fix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.universAAL.support.directives.api.APIProcedure
execute
 
Methods inherited from interface org.universAAL.support.directives.util.PomFixer
fix
 

Constructor Detail

UpdateRootVersionsProcedure

public UpdateRootVersionsProcedure(String newVersion)
Constructor.

Parameters:
newVersion - the new Version to use for all artifacts affected.
Method Detail

ask4NewVersion

protected String ask4NewVersion(String groupID,
                                String artifactID,
                                String currentVersion)
Description copied from class: UpdateParentPomInteractiveProcedure
Ask the user for the new version for the given artifact.

Overrides:
ask4NewVersion in class UpdateParentPomInteractiveProcedure
Returns:


Copyright © 2014 universAAL Consortium. All Rights Reserved.