@Component(role=org.apache.maven.shared.release.phase.ReleasePhase.class,
hint="conditional-check-dependency-snapshots")
public class ConditionalCheckDependencySnapshotsPhase
extends org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhase
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.plexus.logging.Logger |
logger |
Constructor and Description |
---|
ConditionalCheckDependencySnapshotsPhase() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.shared.release.ReleaseResult |
execute(org.apache.maven.shared.release.config.ReleaseDescriptor rd,
org.apache.maven.shared.release.env.ReleaseEnvironment re,
List<org.apache.maven.project.MavenProject> projects)
Calls super, if permitted.
|
org.apache.maven.shared.release.ReleaseResult |
simulate(org.apache.maven.shared.release.config.ReleaseDescriptor rd,
org.apache.maven.shared.release.env.ReleaseEnvironment re,
List<org.apache.maven.project.MavenProject> projects)
Invokes the
execute method. |
setPrompter
clean, execute, getReleaseResultSuccess, getResourceBundle, logDebug, logDebug, logError, logInfo, logWarn, simulate
public ConditionalCheckDependencySnapshotsPhase()
public org.apache.maven.shared.release.ReleaseResult execute(org.apache.maven.shared.release.config.ReleaseDescriptor rd, org.apache.maven.shared.release.env.ReleaseEnvironment re, List<org.apache.maven.project.MavenProject> projects) throws org.apache.maven.shared.release.ReleaseExecutionException, org.apache.maven.shared.release.ReleaseFailureException
execute
in interface org.apache.maven.shared.release.phase.ReleasePhase
execute
in class org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhase
rd
- not null.re
- not null.projects
- not null.org.apache.maven.shared.release.ReleaseExecutionException
- as needed.org.apache.maven.shared.release.ReleaseFailureException
- as needed.public org.apache.maven.shared.release.ReleaseResult simulate(org.apache.maven.shared.release.config.ReleaseDescriptor rd, org.apache.maven.shared.release.env.ReleaseEnvironment re, List<org.apache.maven.project.MavenProject> projects) throws org.apache.maven.shared.release.ReleaseExecutionException, org.apache.maven.shared.release.ReleaseFailureException
execute
method.simulate
in interface org.apache.maven.shared.release.phase.ReleasePhase
simulate
in class org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhase
rd
- not null.re
- not null.projects
- not null.org.apache.maven.shared.release.ReleaseExecutionException
- as needed.org.apache.maven.shared.release.ReleaseFailureException
- as needed.Copyright © 2016. All rights reserved.