Package step.plugins.maven
Class AbstractRunPackagedAutomationPackagesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
step.plugins.maven.AbstractStepPluginMojo
step.plugins.maven.AbstractRunAutomationPackagesMojo
step.plugins.maven.AbstractRunPackagedAutomationPackagesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
RunPackagedAutomationPackagesMojoEE,RunPackagedAutomationPackagesMojoOS
public abstract class AbstractRunPackagedAutomationPackagesMojo
extends AbstractRunAutomationPackagesMojo
-
Field Summary
FieldsFields inherited from class step.plugins.maven.AbstractStepPluginMojo
ID_FIELD, repositorySystem, sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RemoteResourceManagervoidexecute()protected RepositoryObjectReferenceprepareExecutionRepositoryObject(Map<String, Object> executionContext) protected StringvoidsetLibStepResourceSearchCriteria(Map<String, String> libStepResourceSearchCriteria) protected StringuploadResourceToStep(File fileToUpload) Methods inherited from class step.plugins.maven.AbstractRunAutomationPackagesMojo
createRemoteExecutionManager, executeBundleOnStep, getArtifactClassifier, getArtifactId, getArtifactVersion, getDescription, getEnsureExecutionSuccess, getExecutionParameters, getExecutionResultTimeoutS, getGroupId, getLibArtifactClassifier, getLibArtifactGroupId, getLibArtifactId, getLibArtifactVersion, getWaitForExecution, prepareExecutionParameters, setArtifactClassifier, setArtifactId, setArtifactVersion, setDescription, setEnsureExecutionSuccess, setExecutionParameters, setExecutionResultTimeoutS, setGroupId, setLibArtifactClassifier, setLibArtifactGroupId, setLibArtifactId, setLibArtifactVersion, setWaitForExecutionMethods inherited from class step.plugins.maven.AbstractStepPluginMojo
artifactToString, artifactToString, createRemoteResourcesAccessor, createResourceManager, getBuildFinalName, getControllerCredentials, getProject, getProjectArtifact, getProjectVersion, getRemoteArtifact, getUrl, logAndThrow, prepareLibraryFileReferenceForMavenArtifact, resolveKeywordLibResourceByCriteria, setBuildFinalName, setProject, setProjectVersion, setUrlMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
PLUGIN_CTX_RESOURCE_ID
- See Also:
-
PLUGIN_CTX_LIB_RESOURCE_ID
- See Also:
-
-
Constructor Details
-
AbstractRunPackagedAutomationPackagesMojo
public AbstractRunPackagedAutomationPackagesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
resolveAndUploadLibraryResource
protected String resolveAndUploadLibraryResource() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
uploadResourceToStep
protected String uploadResourceToStep(File fileToUpload) throws org.apache.maven.plugin.MojoExecutionException, SimilarResourceExistingException - Throws:
org.apache.maven.plugin.MojoExecutionExceptionSimilarResourceExistingException
-
createRemoteResourceManager
-
prepareExecutionRepositoryObject
protected RepositoryObjectReference prepareExecutionRepositoryObject(Map<String, Object> executionContext) - Specified by:
prepareExecutionRepositoryObjectin classAbstractRunAutomationPackagesMojo
-
getLibStepResourceSearchCriteria
-
setLibStepResourceSearchCriteria
-