Package com.isomorphic.maven.mojo
Class DeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.isomorphic.maven.mojo.AbstractBaseMojo
com.isomorphic.maven.mojo.AbstractPackagerMojo
com.isomorphic.maven.mojo.DeployMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="deploy",
requiresProject=false)
public final class DeployMojo
extends AbstractPackagerMojo
Deploys a collection of
Modules to the Maven repository location indicated by the given repositoryUrl property.
Functionally, pretty much just like the Deploy Plugin's deploy-file goal, except this one works on a collection.
Refer to http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html
-
Field Summary
Fields inherited from class com.isomorphic.maven.mojo.AbstractPackagerMojo
buildDate, buildNumber, copyToLatestFolder, includeAnalytics, includeMessaging, license, overwrite, product, serverId, skipDownload, skipExtraction, snapshots, workdirFields inherited from class com.isomorphic.maven.mojo.AbstractBaseMojo
artifactResolver, modelBuilder, project, remoteRepositoryManager, repositorySystem, repositorySystemSession, settings -
Constructor Summary
Constructors Constructor Description DeployMojo() -
Method Summary
Methods inherited from class com.isomorphic.maven.mojo.AbstractBaseMojo
getAuthentication, getCredentials
-
Constructor Details
-
DeployMojo
public DeployMojo()
-
-
Method Details
-
doExecute
public void doExecute(Set<Module> artifacts) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDeploy each of the providedModules, along with their SubArtifacts (POMs, JavaDoc bundle, etc.), to the repository location indicated byrepositoryUrl.- Specified by:
doExecutein classAbstractPackagerMojo- Parameters:
artifacts- A collection of Maven artifacts resulting from the download and preparation of a supported Isomorphic SDK.- Throws:
org.apache.maven.plugin.MojoExecutionException- When any fatal error occurs. e.g., there is no distribution to work with.org.apache.maven.plugin.MojoFailureException- When any non-fatal error occurs. e.g., documentation cannot be copied to some other folder.
-