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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.api.RemoteRepository
Creates resolverRemoteRepository
equipped with needed whistles and bells.protected org.apache.maven.api.plugin.Log
getLog()
int
protected org.apache.maven.api.Session
protected void
warnIfAffectedPackagingAndMaven
(String packaging) If this plugin used in pre-3.9.0 Maven, the packagingmaven-plugin
will not deploy G level metadata.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.plugin.Mojo
execute
-
Field Details
-
logger
@Inject protected org.apache.maven.api.plugin.Log logger -
session
@Inject protected org.apache.maven.api.Session session
-
-
Constructor Details
-
AbstractDeployMojo
public AbstractDeployMojo()
-
-
Method Details
-
getRetryFailedDeploymentCount
public int getRetryFailedDeploymentCount() -
warnIfAffectedPackagingAndMaven
If this plugin used in pre-3.9.0 Maven, the packagingmaven-plugin
will not deploy G level metadata. -
createDeploymentArtifactRepository
protected org.apache.maven.api.RemoteRepository createDeploymentArtifactRepository(String id, String url) Creates resolverRemoteRepository
equipped with needed whistles and bells. -
getSession
protected org.apache.maven.api.Session getSession() -
getLog
protected org.apache.maven.api.plugin.Log getLog()
-