Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for getClassifier (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    null,
                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    nullify(artifact.getClassifier()),
                    handler);
    
            result.setFile(artifact.getFile());
            result.setResolved(artifact.getFile() != null);
    
            List<String> trail = new ArrayList<>(1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().asString())
                    .classifier(coordinates.getClassifier())
                    .extension(coordinates.getExtension())
                    .build();
        }
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull Dependency dependency) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            }
    
            public void setExtension(String extension) {
                this.extension = extension;
            }
    
            public String getClassifier() {
                return classifier;
            }
    
            public void setClassifier(String classifier) {
                this.classifier = classifier;
            }
        }
    
        public static class Project {
            private String modelVersion;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("1.0", depArtifact.getBaseVersion());
            assertNull(depArtifact.getFile());
            assertFalse(depArtifact.isSnapshot());
            assertEquals("", depArtifact.getClassifier());
            assertEquals("jar", depArtifact.getExtension());
            assertEquals("java", depArtifact.getProperty("language", null));
            assertEquals("jar", depArtifact.getProperty("type", null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            return extension;
        }
    
        public void setExtension(final String extension) {
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        public void setClassifier(final String classifier) {
            this.classifier = classifier;
        }
    
        @Override
        public String getDirectory() {
            if (directory == 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)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                            result.addException(exception);
                        }
                    }
                } else {
                    String key = SNAPSHOT + getKey(artifact.getClassifier(), artifact.getExtension());
                    merge(infos, SNAPSHOT, key);
                    if (!resolve(result, infos, key)) {
                        result.setVersion(version);
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

    @Experimental
    @Immutable
    public interface ArtifactFactoryRequest {
    
        @Nonnull
        Session getSession();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        static ArtifactFactoryRequest build(
                Session session, String groupId, String artifactId, String version, String extension) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

            this(type, type);
        }
    
        public TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
                        type.getLanguage(),
                        type.getExtension(),
                        type.getClassifier(),
                        type.isIncludesDependencies(),
                        type.getPathTypes().toArray(new PathType[0]));
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top