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, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RemoteResourceManager
void
execute()
protected RepositoryObjectReference
prepareExecutionRepositoryObject
(Map<String, Object> executionContext) protected String
void
setLibStepResourceSearchCriteria
(Map<String, String> libStepResourceSearchCriteria) protected String
uploadResourceToStep
(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, setWaitForExecution
Methods inherited from class step.plugins.maven.AbstractStepPluginMojo
artifactToString, artifactToString, createRemoteResourcesAccessor, createResourceManager, getBuildFinalName, getControllerCredentials, getProject, getProjectArtifact, getProjectVersion, getRemoteArtifact, getUrl, logAndThrow, prepareLibraryFileReferenceForMavenArtifact, resolveKeywordLibResourceByCriteria, setBuildFinalName, setProject, setProjectVersion, setUrl
Methods 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.MojoExecutionException
org.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.MojoExecutionException
SimilarResourceExistingException
-
createRemoteResourceManager
-
prepareExecutionRepositoryObject
protected RepositoryObjectReference prepareExecutionRepositoryObject(Map<String, Object> executionContext) - Specified by:
prepareExecutionRepositoryObject
in classAbstractRunAutomationPackagesMojo
-
getLibStepResourceSearchCriteria
-
setLibStepResourceSearchCriteria
-