Package com.isomorphic.maven.mojo
Class InstallMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.isomorphic.maven.mojo.AbstractBaseMojo
com.isomorphic.maven.mojo.AbstractPackagerMojo
com.isomorphic.maven.mojo.InstallMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="install",
requiresProject=false)
public final class InstallMojo
extends AbstractPackagerMojo
Installs a collection of
Modules to the user's local repository.
Functionally, pretty much just like the Install Plugin's install-file goal, except this one works on a collection.
Refer to http://maven.apache.org/plugins/maven-install-plugin/install-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 InstallMojo() -
Method Summary
Methods inherited from class com.isomorphic.maven.mojo.AbstractBaseMojo
getAuthentication, getCredentials
-
Constructor Details
-
InstallMojo
public InstallMojo()
-
-
Method Details
-
doExecute
public void doExecute(Set<Module> artifacts) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionInstall each of the providedModules, along with their SubArtifacts (POMs, JavaDoc bundle, etc.), to a local repository.- 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.
-