Package org.apache.maven.plugins.deploy
Class AbstractDeployMojo
java.lang.Object
org.apache.maven.plugins.deploy.AbstractDeployMojo
- All Implemented Interfaces:
- org.apache.maven.api.plugin.Mojo
- Direct Known Subclasses:
- DeployFileMojo,- DeployMojo
Abstract class for Deploy mojo's.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.apache.maven.api.RemoteRepositoryCreates resolverRemoteRepositoryequipped with needed whistles and bells.protected org.apache.maven.api.plugin.LoggetLog()intprotected org.apache.maven.api.Sessionprotected voidwarnIfAffectedPackagingAndMaven(String packaging) If this plugin used in pre-3.9.0 Maven, the packagingmaven-pluginwill not deploy G level metadata.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.plugin.Mojoexecute
- 
Field Details- 
logger@Inject protected org.apache.maven.api.plugin.Log logger
- 
session@Inject protected org.apache.maven.api.Session session
 
- 
- 
Constructor Details- 
AbstractDeployMojopublic AbstractDeployMojo()
 
- 
- 
Method Details- 
getRetryFailedDeploymentCountpublic int getRetryFailedDeploymentCount()
- 
warnIfAffectedPackagingAndMavenIf this plugin used in pre-3.9.0 Maven, the packagingmaven-pluginwill not deploy G level metadata.
- 
createDeploymentArtifactRepositoryprotected org.apache.maven.api.RemoteRepository createDeploymentArtifactRepository(String id, String url) Creates resolverRemoteRepositoryequipped with needed whistles and bells.
- 
getSessionprotected org.apache.maven.api.Session getSession()
- 
getLogprotected org.apache.maven.api.plugin.Log getLog()
 
-