Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 300 for getVersion (0.23 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

        public ArtifactNotFoundException(String message, Artifact artifact) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getVersion(),
                    dependency.getScope(),
                    dependency.getType(),
                    dependency.getClassifier(),
                    new TestArtifactHandler(dependency.getType()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            final Map<String, String> item = new HashMap<>();
            item.put("type", artifact.getType().getId());
            item.put("id", artifact.getName() + ":" + artifact.getVersion());
            item.put("name", artifact.getName());
            item.put("version", artifact.getVersion());
            item.put("url", artifact.getUrl());
            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

            int depth1 = e1.getDepth();
            int depth2 = e2.getDepth();
    
            if (depth1 == depth2) {
                ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion());
                ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion());
    
                if (newerFirst) {
                    return v1.compareTo(v2) > 0 ? e1 : e2;
                }
    
                return v1.compareTo(v2) > 0 ? e2 : e1;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
        }
    
        private String getFilename() {
            return getArtifactId() + "-" + artifact.getVersion() + ".pom";
        }
    
        public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataStoreException {
            File destination = new File(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        //    public void init( ArtifactMetadata af )
        //    {
        //        setGroupId( af.getGroupId() );
        //        setArtifactId( af.getArtifactId() );
        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
        //        setClassifier( af.getClassifier() );
        //        //setUri( af.getDownloadUrl() );
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
        // ------------------------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                                if (versionRange != null) {
                                    Version v = parseVersion(a.getVersion());
                                    return !versionRange.containsVersion(v);
                                } else {
                                    return !artifact.getVersion().equals(a.getVersion());
                                }
                            }
                            return true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top