Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 266 for getSession (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            result = 31 * result + a.getGroupId().hashCode();
            result = 31 * result + a.getArtifactId().hashCode();
            result = 31 * result + a.getType().hashCode();
            if (a.getVersion() != null) {
                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. 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;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    if (orgArtifactId != intArtifactId) {
                        model.setArtifactId(intArtifactId);
                    }
                    // Version
                    String orgVersion = model.getVersion();
                    String intVersion = interpolate(orgVersion);
                    if (orgVersion != intVersion) {
                        model.setVersion(intVersion);
                    }
    
                    // Packaging
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
        void testTestClasspathTransform() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  5. 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());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  7. 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());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/mdo/core-extensions.mdo

            return (getGroupId() == null ? "[unknown-group-id]" : getGroupId())
                + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId())
                + ":" + (getVersion() == null ? "[unknown-version]" : getVersion());
        }
                ]]>
              </code>
            </codeSegment>
          </codeSegments>
        </class>
      </classes>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. 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);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                    CoreExtension conflict = selectedExtensions.putIfAbsent(key, coreExtension);
                    if (conflict != null && !Objects.equals(coreExtension.getVersion(), conflict.getVersion())) {
                        conflicts.add(String.format(
                                "Conflicting extension %s: %s vs %s",
                                key,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top