Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getExtension (1.28 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. 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)
  3. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        // Implementation
        //
    
        private File findArtifact(MavenProject project, Artifact artifact, boolean checkUptodate) {
            // POMs are always returned from the file system
            if ("pom".equals(artifact.getExtension())) {
                return project.getFile();
            }
    
            // Get the matching artifact from the project
            Artifact projectArtifact = findMatchingArtifact(project, artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                Artifact nodeArtifact = collectStepTrace.getNode().getArtifact();
    
                if (isInScope(resolvedArtifact, nodeArtifact) || "pom".equals(resolvedArtifact.getExtension())) {
                    Dependency node = collectStepTrace.getNode();
                    trackingData.add(resolvedArtifact.toString());
                    indent += "  ";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            Artifact artifact = artifactFactory.createBuildArtifact("test", "test", version, type);
            artifact.setFile(new File(
                    testData,
                    "test-" + version + "." + artifact.getArtifactHandler().getExtension()));
            assertFalse(artifact.getFile().exists());
            return artifact;
        }
    
        private ArtifactRepository createStringRepo() {
            return artifactRepositoryFactory.createArtifactRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        }
    
        private static String getId(Artifact artifact) {
            return getId(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getExtension(),
                    artifact.getClassifier(),
                    artifact.getBaseVersion());
        }
    
        private static String getId(ClassRealmConstituent constituent) {
            return getId(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                return version;
            }
    
            public void setVersion(String version) {
                this.version = version;
            }
    
            public String getExtension() {
                return extension;
            }
    
            public void setExtension(String extension) {
                this.extension = extension;
            }
    
            public String getClassifier() {
                return classifier;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

            <codeSegment>
              <version>1.0.0/1.1.0</version>
              <code><![CDATA[
        private String getSnapshotVersionKey( SnapshotVersion sv )
        {
            return sv.getClassifier() + ":" + sv.getExtension();
        }
    
        public boolean merge( Metadata sourceMetadata )
        {
            boolean changed = false;
    
            for ( Plugin plugin : sourceMetadata.getPlugins() )
            {
                boolean found = false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

            }
        }
    
        /**
         * パスの拡張子を返します。
         *
         * @param path
         *            パス。{@literal null}であってはいけません
         * @return 拡張子
         */
        public static String getExtension(final String path) {
            assertArgumentNotNull("path", path);
    
            final int extPos = path.lastIndexOf(".");
            if (extPos >= 0) {
                return path.substring(extPos + 1);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top