- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for setReleases (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
if (profileXmlRepo.getSnapshots() != null) { repo.setSnapshots(convertRepositoryPolicy(profileXmlRepo.getSnapshots())); } if (profileXmlRepo.getReleases() != null) { repo.setReleases(convertRepositoryPolicy(profileXmlRepo.getReleases())); } return repo; } private static org.apache.maven.model.RepositoryPolicy convertRepositoryPolicy(RepositoryPolicy profileXmlRepo) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
Repository repository = new Repository(); repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID); repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(repositorySystem.buildArtifactRepository(repository)); } protected ArtifactRepository getLocalRepository() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
Repository repository = new Repository(); repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID); repository.setUrl("file://" + repoDir.toURI().getPath()); repository.setReleases(policy); repository.setSnapshots(policy); return Arrays.asList(mavenRepositorySystem.buildArtifactRepository(repository)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
modelRepository.setName(settingsRepository.getName()); modelRepository.setUrl(settingsRepository.getUrl()); modelRepository.setReleases(fromSettingsRepositoryPolicy(settingsRepository.getReleases())); modelRepository.setSnapshots(fromSettingsRepositoryPolicy(settingsRepository.getSnapshots())); return modelRepository; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java
@Override public ArtifactRepositoryLayout getLayout() { return userLocalArtifactRepository.getLayout(); } @Override public ArtifactRepositoryPolicy getReleases() { return userLocalArtifactRepository.getReleases(); } @Override public ArtifactRepositoryPolicy getSnapshots() { return userLocalArtifactRepository.getSnapshots(); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(repository.getReleases()); policy.merge(repository.getSnapshots()); return policy; } else if ((nature & RepositoryMetadata.SNAPSHOT) != 0) { return repository.getSnapshots(); } else { return repository.getReleases(); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
return true; } return Objects.equals(r1.getId(), r2.getId()) && Objects.equals(r1.getUrl(), r2.getUrl()) && repositoryPolicyEquals(r1.getReleases(), r2.getReleases()) && repositoryPolicyEquals(r1.getSnapshots(), r2.getSnapshots()); } private static boolean repositoryPolicyEquals(ArtifactRepositoryPolicy p1, ArtifactRepositoryPolicy p2) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
Versioning versioning = new Versioning(); versioning.addVersion(artifact.getBaseVersion()); if (!artifact.isSnapshot()) { versioning.setRelease(artifact.getBaseVersion()); } if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) { versioning.setLatest(artifact.getBaseVersion()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
boolean isResolved(); void setResolvedVersion(String version); void setArtifactHandler(ArtifactHandler handler); boolean isRelease(); void setRelease(boolean release); List<ArtifactVersion> getAvailableVersions(); void setAvailableVersions(List<ArtifactVersion> versions); boolean isOptional(); void setOptional(boolean optional);
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/project/artifact/ActiveProjectArtifact.java
} /** {@inheritDoc} */ public boolean isRelease() { return artifact.isRelease(); } /** {@inheritDoc} */ public void setRelease(boolean release) { artifact.setRelease(release); } /** {@inheritDoc} */ public List<ArtifactVersion> getAvailableVersions() { return artifact.getAvailableVersions(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0)