- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for wspolicy (0.06 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
} public void merge(ArtifactRepositoryPolicy policy) { if (policy != null && policy.isEnabled()) { setEnabled(true); if (ordinalOfCksumPolicy(policy.getChecksumPolicy()) < ordinalOfCksumPolicy(getChecksumPolicy())) { setChecksumPolicy(policy.getChecksumPolicy()); } if (ordinalOfUpdatePolicy(policy.getUpdatePolicy()) < ordinalOfUpdatePolicy(getUpdatePolicy())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
private int getPolicy(RepositorySystemSession session, Artifact a, ArtifactDescriptorRequest request) { ArtifactDescriptorPolicy policy = session.getArtifactDescriptorPolicy(); if (policy == null) { return ArtifactDescriptorPolicy.STRICT; } return policy.getPolicy(session, new ArtifactDescriptorPolicyRequest(a, request.getRequestContext())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
throws TransferFailedException, ResourceDoesNotExistException { String remotePath = repository.pathOf(artifact); ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases(); if (!policy.isEnabled()) { logger.debug( "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
return null; } public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy) {} public ArtifactRepositoryPolicy getReleases() { return null; } public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy) {} public ArtifactRepositoryLayout getLayout() { return null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
*/ @Nonnull Optional<Boolean> cacheArtifactNotFound(); /** * Indicates whether Maven should use strict artifact descriptor policy. * * @return an {@link Optional} containing true if strict artifact descriptor policy should be used, false if not, or empty if not specified */ @Nonnull Optional<Boolean> strictArtifactDescriptorPolicy(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 8.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
} } return ""; } } private static RepositoryPolicy toPolicy(ArtifactRepositoryPolicy policy) { RepositoryPolicy result = null; if (policy != null) { result = new RepositoryPolicy(policy.isEnabled(), policy.getUpdatePolicy(), policy.getChecksumPolicy()); } return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
boolean enabled = true; String checksums = toRepositoryChecksumPolicy(RepositoryPolicy.CHECKSUM_POLICY_WARN); // the default String updates = RepositoryPolicy.UPDATE_POLICY_DAILY; if (policy != null) { enabled = policy.isEnabled(); if (policy.getUpdatePolicy() != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
/** * Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus * */ @Named @Singleton @Deprecated public class DefaultGraphConflictResolver implements GraphConflictResolver { /** * artifact, closer to the entry point, is selected */ @Inject protected GraphConflictResolutionPolicy policy;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
ArtifactRepositoryPolicy policy = metadata.getPolicy(repository); File file = new File(localRepo.getBasedir(), localRepo.pathOfLocalRepositoryMetadata(metadata, repository)); boolean update; if (!policy.isEnabled()) { update = false;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
if ((nature & RepositoryMetadata.RELEASE_OR_SNAPSHOT) == RepositoryMetadata.RELEASE_OR_SNAPSHOT) { ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(repository.getReleases()); policy.merge(repository.getSnapshots()); return policy; } else if ((nature & RepositoryMetadata.SNAPSHOT) != 0) { return repository.getSnapshots(); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0)