Uses of Class
org.apache.maven.api.model.RepositoryPolicy
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
Uses of RepositoryPolicy in org.apache.maven.api.model
Modifier and TypeMethodDescriptionRepositoryPolicy.Builder.build()
Repository.getReleases()
How to handle downloading of releases from this repository.Repository.getSnapshots()
How to handle downloading of snapshots from this repository.static RepositoryPolicy
RepositoryPolicy.newInstance()
Creates a newRepositoryPolicy
instance.static RepositoryPolicy
RepositoryPolicy.newInstance
(boolean withDefaults) Creates a newRepositoryPolicy
instance using default values or not.RepositoryPolicy.withChecksumPolicy
(String checksumPolicy) Creates a newRepositoryPolicy
instance using the specified checksumPolicy.RepositoryPolicy.withEnabled
(String enabled) Creates a newRepositoryPolicy
instance using the specified enabled.RepositoryPolicy.withUpdatePolicy
(String updatePolicy) Creates a newRepositoryPolicy
instance using the specified updatePolicy.Modifier and TypeMethodDescriptionstatic RepositoryPolicy.Builder
RepositoryPolicy.newBuilder
(RepositoryPolicy from) Creates a newRepositoryPolicy
builder instance using the specified object as a basis.static RepositoryPolicy.Builder
RepositoryPolicy.newBuilder
(RepositoryPolicy from, boolean forceCopy) Creates a newRepositoryPolicy
builder instance using the specified object as a basis.DeploymentRepository.Builder.releases
(RepositoryPolicy releases) Repository.Builder.releases
(RepositoryPolicy releases) DeploymentRepository.Builder.snapshots
(RepositoryPolicy snapshots) Repository.Builder.snapshots
(RepositoryPolicy snapshots) DeploymentRepository.withReleases
(RepositoryPolicy releases) Creates a newDeploymentRepository
instance using the specified releases.Repository.withReleases
(RepositoryPolicy releases) Creates a newRepository
instance using the specified releases.DeploymentRepository.withSnapshots
(RepositoryPolicy snapshots) Creates a newDeploymentRepository
instance using the specified snapshots.Repository.withSnapshots
(RepositoryPolicy snapshots) Creates a newRepository
instance using the specified snapshots. -
Uses of RepositoryPolicy in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.repository.RepositoryPolicy
DefaultRepositoryFactory.buildRepositoryPolicy
(RepositoryPolicy policy) -
Uses of RepositoryPolicy in org.apache.maven.internal.impl.resolver
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.repository.RepositoryPolicy
ArtifactDescriptorUtils.toRepositoryPolicy
(RepositoryPolicy policy) -
Uses of RepositoryPolicy in org.apache.maven.model
Modifier and TypeMethodDescriptionstatic List
<RepositoryPolicy> RepositoryPolicy.repositoryPolicyToApiV4
(List<RepositoryPolicy> list) Modifier and TypeMethodDescriptionstatic List
<RepositoryPolicy> RepositoryPolicy.repositoryPolicyToApiV3
(List<RepositoryPolicy> list) ModifierConstructorDescriptionRepositoryPolicy
(RepositoryPolicy delegate) RepositoryPolicy
(RepositoryPolicy delegate, BaseObject parent) -
Uses of RepositoryPolicy in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionprotected RepositoryPolicy
MavenMerger.mergeRepositoryPolicy
(RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
MavenTransformer.transformRepositoryPolicy
(RepositoryPolicy target) Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer
<RepositoryPolicy> MavenMerger.getRepositoryPolicyKey()
Modifier and TypeMethodDescriptionprotected void
MavenMerger.mergeRepositoryPolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
MavenMerger.mergeRepositoryPolicy
(RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepositoryPolicy_ChecksumPolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepositoryPolicy_Enabled
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeRepositoryPolicy_UpdatePolicy
(RepositoryPolicy.Builder builder, RepositoryPolicy target, RepositoryPolicy source, boolean sourceDominant, Map<Object, Object> context) protected RepositoryPolicy
MavenTransformer.transformRepositoryPolicy
(RepositoryPolicy target) protected RepositoryPolicy.Builder
MavenTransformer.transformRepositoryPolicy_ChecksumPolicy
(Supplier<? extends RepositoryPolicy.Builder> creator, RepositoryPolicy.Builder builder, RepositoryPolicy target) protected RepositoryPolicy.Builder
MavenTransformer.transformRepositoryPolicy_Enabled
(Supplier<? extends RepositoryPolicy.Builder> creator, RepositoryPolicy.Builder builder, RepositoryPolicy target) protected RepositoryPolicy.Builder
MavenTransformer.transformRepositoryPolicy_UpdatePolicy
(Supplier<? extends RepositoryPolicy.Builder> creator, RepositoryPolicy.Builder builder, RepositoryPolicy target)