Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setExtension (0.14 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            path.append(artifact.getExtension()).append("s/");
    
            path.append(artifact.getArtifactId()).append('-').append(artifact.getVersion());
    
            if (!artifact.getClassifier().isEmpty()) {
                path.append('-').append(artifact.getClassifier());
            }
    
            path.append('.').append(artifact.getExtension());
    
            return path.toString();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. compat/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().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

                    session,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion().toString(),
                    artifact.getClassifier(),
                    artifact.getExtension(),
                    null));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

         * The dot separator is not included in the returned string.
         *
         * @return the file extension or an empty string if none, never {@code null}
         */
        @Nonnull
        String getExtension();
    
        /**
         * {@return a unique string identifying this artifact}.
         *
         * The default implementation returns a colon-separated list of group
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

    public interface ArtifactCoordinatesFactoryRequest extends Request<Session> {
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinatesString();
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testGetExtension() throws Exception {
            assertEquals("1", "xml", ResourceUtil.getExtension("aaa/bbb.xml"));
            assertEquals("2", null, ResourceUtil.getExtension("aaa"));
        }
    
        /**
         * @throws Exception
         */
        public void testRemoteExtension() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         * The dot separator is not included in the returned string.
         *
         * @return the file extension or an empty string if none, never {@code null}
         * @see ArtifactCoordinates#getExtension()
         */
        @Nonnull
        String getExtension();
    
        /**
         * Determines whether this artifact uses a snapshot version.
         *
         * @return {@code true} if the artifact is a snapshot, {@code false} otherwise
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().toString())
                    .classifier(coordinates.getClassifier())
                    .extension(coordinates.getExtension())
                    .build();
        }
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull Dependency dependency) {
            return builder()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                ArtifactRepository deploymentRepository,
                ArtifactRepository localRepository)
                throws ArtifactDeploymentException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
            deploy(source, artifact, deploymentRepository, localRepository);
        }
    
        @Override
        public void deploy(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "java";
        }
    
        @Override
        public String getPackaging() {
            return type;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top