Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 153 for getVersions (0.27 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) iter.next();
                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)
  2. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            // We can do this by calling isChildOfRootNode on the current node.
            if ((artifact.getVersion() != null)
                    && (!node.isChildOfRootNode() || node.getArtifact().getVersion() == null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_VERSION, listeners, node, artifact);
                node.getArtifact().setVersion(artifact.getVersion());
            }
    
            if ((artifact.getScope() != null)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) aSet;
                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
    - 3.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

             */
            org.apache.maven.artifact.Artifact result = new org.apache.maven.artifact.DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    null,
                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    nullify(artifact.getClassifier()),
                    handler);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    remoteRepositories,
                    artifact.getDependencyTrail(),
                    t);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K 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-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            Artifact depArtifact = dep1.getArtifact();
            assertEquals("ut.simple", depArtifact.getGroupId());
            assertEquals("dependency", depArtifact.getArtifactId());
            assertEquals("1.0", depArtifact.getVersion());
            assertEquals("1.0", depArtifact.getBaseVersion());
            assertNull(depArtifact.getFile());
            assertFalse(depArtifact.isSnapshot());
            assertEquals("", depArtifact.getClassifier());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

                groupId = model.getParent().getGroupId();
            }
    
            String artifactId = model.getArtifactId();
    
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
                version = model.getParent().getVersion();
            }
            if (version == null) {
                version = "[unknown-version]";
            }
    
            return toId(groupId, artifactId, version);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                            project.getVersion(), artifact.getBaseVersion().asString())) {
                throw new IllegalArgumentException(
                        "The produced artifact must have the same groupId/artifactId/version than the project it is attached to. Expecting "
                                + project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top