com.atlassian.maven.plugins.opup.mojo
Class UpgradeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.opup.mojo.AbstractOpUpMojo
          extended by com.atlassian.maven.plugins.opup.mojo.UpgradeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="upgrade",
      aggregator=true)
public class UpgradeMojo
extends AbstractOpUpMojo


Field Summary
 String buildCommand
           
 File opupDirectory
           
 File passFailFile
           
 String relativeLogDirectory
           
 File repositoryClone
           
 File resultsFile
           
 
Fields inherited from class com.atlassian.maven.plugins.opup.mojo.AbstractOpUpMojo
nexusServerId, nexusUrl, opupCache, reportFile, requireFinal, strategy
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpgradeMojo()
           
 
Method Summary
 void execute()
           
 
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

repositoryClone

@Parameter(defaultValue="${project.build.directory}/opup/working-git-clone")
public File repositoryClone

opupDirectory

@Parameter(defaultValue="${project.build.directory}/opup")
public File opupDirectory

passFailFile

@Parameter(defaultValue="${project.build.directory}/opup/opup-log/build-pass-fail")
public File passFailFile

relativeLogDirectory

@Parameter(defaultValue="opup/opup-log")
public String relativeLogDirectory

resultsFile

@Parameter(defaultValue="${project.build.directory}/opup-results.html")
public File resultsFile

buildCommand

@Parameter(property="buildCommand",
           defaultValue="mvn clean test")
public String buildCommand
Constructor Detail

UpgradeMojo

public UpgradeMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2014. All rights reserved.