Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for setExtension (0.44 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-core/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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                            isAny(relocation.target.getClassifier()) ? null : relocation.target.getClassifier(),
                            isAny(relocation.target.getExtension()) ? null : relocation.target.getExtension(),
                            isAny(relocation.target.getVersion()) ? null : relocation.target.getVersion(),
                            relocation.global ? "User global relocation" : "User project relocation");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static ArtifactHandler newHandler(Artifact artifact) {
            String type = artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension());
            return new DefaultArtifactHandler(
                    type,
                    artifact.getExtension(),
                    null,
                    null,
                    null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtensions.java

        /**
         * Set a set of build extensions to use from this project.
         *
         * @param extensions a extensions object.
         */
        public void setExtensions(List<CoreExtension> extensions) {
            this.extensions = extensions;
        } // -- void setExtensions( List )
    
        /**
         * Set the modelEncoding field.
         *
         * @param modelEncoding a modelEncoding object.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    || ("jar".equals(artifact.getExtension()) && "tests".equals(artifact.getClassifier()));
        }
    
        private File findInProjectLocalRepository(Artifact artifact) {
            // Prefer the consumer POM when resolving POMs from the project-local repository,
            // to avoid treating a build POM as a repository (consumer) POM.
            if ("pom".equals(artifact.getExtension())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top