Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for setVersioning (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            artifact.addMetadata(metadata);
    
            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
                version = constructVersion(repoMetadata.getVersioning(), artifact.getBaseVersion());
            }
    
            if (version == null) {
                // use the local copy, or if it doesn't exist - go to the remote repo for it
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
Back to top