- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setVersioning (0.14 sec)
-
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
addSnapshotVersion(source.getVersioning(), before, artifact); // nothing should be updated, as the target was already updated at a later date than source assertFalse(target.merge(source)); assertEquals(1, target.getVersioning().getSnapshotVersions().size()); assertEquals(sv1, target.getVersioning().getSnapshotVersions().get(0));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
if (m.getVersioning() == null) { m.setVersioning(new Versioning()); } if (m.getVersioning().getSnapshot() == null) { m.getVersioning().setSnapshot(new Snapshot()); } } else { if ((m.getVersioning() != null)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
changed = true; } } Versioning versioning = sourceMetadata.getVersioning(); if ( versioning != null ) { Versioning v = getVersioning(); if ( v == null ) { v = new Versioning(); setVersioning( v ); changed = true; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
Metadata repoMetadata, List<String> availableVersions) { Collection<String> versions = new LinkedHashSet<>(); if ((repoMetadata != null) && (repoMetadata.getVersioning() != null)) { versions.addAll(repoMetadata.getVersioning().getVersions()); } versions.addAll(availableVersions); List<ArtifactVersion> artifactVersions = new ArrayList<>(versions.size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning()); } } } } } catch (Exception e) { invalidMetadata(session, trace, metadata, repository, e);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning()); /* NOTE: Users occasionally misuse the id "local" for remote repos which screws up the metadata
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0)