Class ArtifactRepositoryPolicy
java.lang.Object
org.apache.maven.artifact.repository.ArtifactRepositoryPolicy
Deprecated.
Avoid use of this type, if you need access to local repository use repository system session instead.
Describes a set of policies for a repository to use under certain conditions.
- Author:
- Brett Porter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.ArtifactRepositoryPolicy
(boolean enabled, String updatePolicy, String checksumPolicy) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkOutOfDate
(Date lastModified) Deprecated.Deprecated.Deprecated.boolean
Deprecated.void
merge
(ArtifactRepositoryPolicy policy) Deprecated.void
setChecksumPolicy
(String checksumPolicy) Deprecated.void
setEnabled
(boolean enabled) Deprecated.void
setUpdatePolicy
(String updatePolicy) Deprecated.toString()
Deprecated.
-
Field Details
-
UPDATE_POLICY_NEVER
Deprecated.- See Also:
-
UPDATE_POLICY_ALWAYS
Deprecated.- See Also:
-
UPDATE_POLICY_DAILY
Deprecated.- See Also:
-
UPDATE_POLICY_INTERVAL
Deprecated.- See Also:
-
CHECKSUM_POLICY_FAIL
Deprecated.- See Also:
-
CHECKSUM_POLICY_WARN
Deprecated.- See Also:
-
CHECKSUM_POLICY_IGNORE
Deprecated.- See Also:
-
-
Constructor Details
-
Method Details