org.universAAL.support.directives.procedures
Class ChangeVersionProcedure

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

public class ChangeVersionProcedure
extends Object
implements APIProcedure, PomFixer

Change the version of a POM file.

Author:
amedrano

Constructor Summary
ChangeVersionProcedure(String newVersion)
           
 
Method Summary
 void execute(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.plugin.logging.Log log)
          
 void fix(org.apache.maven.model.Model model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeVersionProcedure

public ChangeVersionProcedure(String newVersion)
Method Detail

execute

public void execute(org.apache.maven.project.MavenProject mavenProject,
                    org.apache.maven.plugin.logging.Log log)
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException

Specified by:
execute in interface APIProcedure
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

fix

public void fix(org.apache.maven.model.Model model)
Specified by:
fix in interface PomFixer


Copyright © 2014 universAAL Consortium. All Rights Reserved.