Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for getExtension (0.33 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && artifactHandler.getExtension().length() > 0) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-09-06 11:28
    - 2.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java

                        ? request.getClassifier()
                        : type != null ? type.getClassifier() : "";
                String str = request.getExtension();
                String extension =
                        str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : "";
                return new DefaultArtifactCoordinate(
                        session,
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-12-18 10:30
    - 2.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependency.java

        }
    
        @Override
        public String getExtension() {
            return dependency.getArtifact().getExtension();
        }
    
        @Override
        public Type getType() {
            String type = dependency
                    .getArtifact()
                    .getProperty(ArtifactProperties.TYPE, dependency.getArtifact().getExtension());
            return session.requireType(type);
        }
    
        @Override
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2024-02-05 09:42
    - 4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

                    str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null;
            String str = request.getExtension();
            String extension =
                    str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : null;
            return new DefaultArtifact(
                    session,
                    new org.eclipse.aether.artifact.DefaultArtifact(
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-12-07 20:05
    - 2.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                    .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier()));
        }
    
        private Collection<Artifact> replacePom(Collection<Artifact> artifacts) {
            List<Artifact> consumers = new ArrayList<>();
            List<Artifact> mains = new ArrayList<>();
            for (Artifact artifact : artifacts) {
                if ("pom".equals(artifact.getExtension()) || artifact.getExtension().startsWith("pom.")) {
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2024-01-10 12:55
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        }
    
        @Override
        public Version getBaseVersion() {
            return session.parseVersion(artifact.getBaseVersion());
        }
    
        @Nonnull
        @Override
        public String getExtension() {
            return artifact.getExtension();
        }
    
        @Nonnull
        @Override
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        @Override
        public boolean isSnapshot() {
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-12-20 13:03
    - 3.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinate.java

        }
    
        @Override
        public String getExtension() {
            return dependency.getArtifact().getExtension();
        }
    
        @Override
        public Type getType() {
            String type = dependency
                    .getArtifact()
                    .getProperty(ArtifactProperties.TYPE, dependency.getArtifact().getExtension());
            return session.requireType(type);
        }
    
        @Nonnull
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2024-02-05 09:42
    - 3.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java

        @Nonnull
        Session getSession();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinateString();
    
        @Nonnull
        static ArtifactCoordinateFactoryRequest build(
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-12-18 10:30
    - 7.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && artifactHandler.getExtension().length() > 0) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-09-06 08:39
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

        @Nonnull
        @Override
        public VersionConstraint getVersion() {
            return session.parseVersionConstraint(coordinate.getVersion());
        }
    
        @Override
        public String getExtension() {
            return coordinate.getExtension();
        }
    
        @Nonnull
        @Override
        public String getClassifier() {
            return coordinate.getClassifier();
        }
    
        @Override
        public boolean equals(Object o) {
    Java
    - Registered: 2024-02-25 03:35
    - Last Modified: 2023-12-19 19:08
    - 3K bytes
    - Viewed (0)
Back to top