public final class RTRConfig extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ADDSCHEMA |
static boolean |
DEFAULT_ALLOWTIMESTAMPEDSNAPSHOTS |
static boolean |
DEFAULT_AUTOVERSIONSUBMODULES |
static boolean |
DEFAULT_DISABLED |
static boolean |
DEFAULT_EXTERNAL_SNAPSHOTS_ALLOWED |
static String |
DEFAULT_PROJECTVERSIONPOLICYID |
static boolean |
DEFAULT_RELEASE |
static boolean |
DEFAULT_SINGLE_POM_REACTOR_ALLOWED |
static String |
PROP_ADDSCHEMA |
static String |
PROP_ALLOWTIMESTAMPEDSNAPSHOTS |
static String |
PROP_AUTOVERSIONSUBMODULES |
static String |
PROP_DISABLED |
static String |
PROP_EXTERNAL_SNAPSHOTS_ALLOWED |
static String |
PROP_PROJECTVERSIONPOLICYID |
static String |
PROP_RELEASE |
static String |
PROP_RELEASEVERSION |
static String |
PROP_SINGLE_POM_REACTOR_ALLOWED |
static String |
PROP_TAG |
static String |
PROP_TAGBASE |
static String |
PROP_TAGNAMEFORMAT |
Modifier and Type | Method and Description |
---|---|
static String |
getProjectVersionPolicyId(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "projectVersionPolicyId" property.
|
static String |
getReleaseVersion(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "releaseVersion" property.
|
static String |
getTag(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "tag" property.
|
static String |
getTagBase(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "tagBase" property.
|
static String |
getTagNameFormat(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "tagNameFormat" property.
|
static boolean |
isAddSchema(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "addSchema" property.
|
static boolean |
isAllowTimestampedSnapshots(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "allowTimestampedSnapshots" property.
|
static boolean |
isAutoVersionSubmodules(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Returns the "autoVersionSubmodules" property.
|
static boolean |
isDisabled(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Indicates whether or not the Smart Reactor is disabled.
|
static boolean |
isExternalSnapshotsAllowed(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Indicates whether or not the Smart Reactor should allow a release reactor
containing references to any non-reactor SNAPSHOT artifacts.
|
static boolean |
isRelease(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Indicates whether or not a release was requested.
|
static boolean |
isSinglePomReactorAllowed(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project)
Indicates whether or not the Smart Reactor should allow a reactor
containing a single POM-packaging project.
|
public static final String PROP_DISABLED
public static final boolean DEFAULT_DISABLED
public static final String PROP_SINGLE_POM_REACTOR_ALLOWED
public static final boolean DEFAULT_SINGLE_POM_REACTOR_ALLOWED
public static final String PROP_EXTERNAL_SNAPSHOTS_ALLOWED
public static final boolean DEFAULT_EXTERNAL_SNAPSHOTS_ALLOWED
public static final String PROP_RELEASE
public static final boolean DEFAULT_RELEASE
public static final String PROP_ADDSCHEMA
public static final boolean DEFAULT_ADDSCHEMA
public static final String PROP_ALLOWTIMESTAMPEDSNAPSHOTS
public static final boolean DEFAULT_ALLOWTIMESTAMPEDSNAPSHOTS
public static final String PROP_AUTOVERSIONSUBMODULES
public static final boolean DEFAULT_AUTOVERSIONSUBMODULES
public static final String PROP_PROJECTVERSIONPOLICYID
public static final String DEFAULT_PROJECTVERSIONPOLICYID
public static final String PROP_RELEASEVERSION
public static final String PROP_TAG
public static final String PROP_TAGBASE
public static final String PROP_TAGNAMEFORMAT
public static String getProjectVersionPolicyId(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static String getReleaseVersion(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static String getTag(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static String getTagBase(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static String getTagNameFormat(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isAddSchema(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isAllowTimestampedSnapshots(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isAutoVersionSubmodules(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isDisabled(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isExternalSnapshotsAllowed(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isRelease(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.public static boolean isSinglePomReactorAllowed(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project)
session
- the Maven session.project
- a project that may have this property set.Copyright © 2016. All rights reserved.