Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 153 for getVersions (0.32 sec)

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

        public void transformForResolve(Artifact artifact, RepositoryRequest request)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    if (Artifact.LATEST_VERSION.equals(version)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            ArtifactMetadataAdapter(Metadata metadata) {
                this.metadata = metadata;
            }
    
            public boolean storedInArtifactVersionDirectory() {
                return !metadata.getVersion().isEmpty();
            }
    
            public boolean storedInGroupDirectory() {
                return metadata.getArtifactId().isEmpty();
            }
    
            public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        public boolean isSnapshot() {
            // Don't consider the artifact's version in here, as this is stored in the directory above that
            return false;
        }
    
        public int getNature() {
            if (artifact.getVersion() != null) {
                return artifact.isSnapshot() ? SNAPSHOT : RELEASE;
            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

            return create(ArtifactCoordinatesFactoryRequest.build(
                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().asString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @Input
        abstract Property<String> getJavadocUrl();
        @Input
        abstract Property<String> getDsldocUrl();
        @Input
        abstract Property<String> getWebsiteUrl();
        @Input
        abstract Property<String> getVersion();
    
        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformImpl(provider.document)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            primitiveTypes.add("double");
            primitiveTypes.add("void");
        }
    
        public LinkRenderer(Document document, DslDocModel model) {
            this(document, model, GroovySystem.getVersion(), "8");
        }
    
        Node link(TypeMetaData type, final GenerationListener listener) {
            final Element linkElement = document.createElement("classname");
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        }
    
        // DefaultProjectBuilder
        public Artifact createDependencyArtifact(Dependency d) {
            if (d.getVersion() == null) {
                return null;
            }
    
            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            path.append(artifact.getArtifactId()).append(PATH_SEPARATOR);
            path.append(artifact.getBaseVersion()).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top