Class ScmCheckModificationsPhase
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.release.phase.AbstractReleasePhase
org.apache.maven.shared.release.phase.ScmCheckModificationsPhase
- All Implemented Interfaces:
ReleasePhase
,org.codehaus.plexus.logging.LogEnabled
@Component(role=ReleasePhase.class,
hint="scm-check-modifications")
public class ScmCheckModificationsPhase
extends AbstractReleasePhase
See if there are any local modifications to the files before proceeding with SCM operations and the release.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe filepatterns to exclude from the status check.private ScmRepositoryConfigurator
Tool that gets a configured SCM repository from release configuration.private Map
<String, ScmTranslator> SCM URL translators mapped by provider name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<org.apache.maven.project.MavenProject> reactorProjects) Execute the phase.simulate
(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<org.apache.maven.project.MavenProject> reactorProjects) Simulate the phase, but don't make any changes to the project.Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleasePhase
getReleaseResultSuccess, logDebug, logDebug, logError, logInfo, logWarn
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
scmRepositoryConfigurator
Tool that gets a configured SCM repository from release configuration. -
scmTranslators
SCM URL translators mapped by provider name. -
exclusionPatterns
The filepatterns to exclude from the status check.
-
-
Constructor Details
-
ScmCheckModificationsPhase
public ScmCheckModificationsPhase()
-
-
Method Details