Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for coordinates (0.13 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

        static ArtifactResolverRequest build(
                @Nonnull Session session, @Nonnull Collection<? extends ArtifactCoordinates> coordinates) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .coordinates(requireNonNull(coordinates, "coordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                Document pomDocument = entry.getValue();
    
                Coordinates coordinate =
                        AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution(context, pomDocument);
                if (coordinate != null) {
                    coordinates.add(coordinate);
                    context.debug("Found artifact: " + coordinate.toGAV() + " from " + pomPath);
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param coordinates artifact coordinates to get as a dependency coordinates
         * @return dependency coordinates for the given artifact
         *
         * @see DependencyCoordinatesFactory#create(Session, ArtifactCoordinates)
         */
        @Nonnull
        DependencyCoordinates createDependencyCoordinates(@Nonnull ArtifactCoordinates coordinates);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

             * This is the default behavior.
             */
            RELEASE_OR_SNAPSHOT
        }
    
        /**
         * Gets the artifact coordinates whose version range should be resolved.
         * The coordinates may contain a version range (e.g., "[1.0,2.0)") or a single version.
         *
         * @return the artifact coordinates, never {@code null}
         */
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                UpgradeContext context = createMockContext();
    
                Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, pomMap);
    
                assertEquals(2, gavs.size());
                assertTrue(gavs.contains(Coordinates.of("com.example", "parent-project", "1.0.0")));
                assertTrue(gavs.contains(Coordinates.of("com.example", "child-project", "1.0.0")));
            }
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

         * if this source represents a resolved artifact with known coordinates.
         * <p>
         * This method is primarily used by resolved sources to provide the model ID
         * without requiring the XML to be parsed. For build sources, this typically
         * returns {@code null} since the coordinates are determined by parsing the POM.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            ArtifactResolverRequest request1 = builder.session(session)
                    .coordinates(Arrays.asList(coords1, coords2))
                    .repositories(repositories1)
                    .build();
    
            ArtifactResolverRequest request2 = builder.session(session)
                    .coordinates(Arrays.asList(coords1, coords2))
                    .repositories(repositories2)
                    .build();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                return false;
            }
    
            Coordinates parentGAV = Coordinates.of(parentGroupId, parentArtifactId, parentVersion);
    
            // Check if any POM in our reactor matches the parent GAV using GAVUtils
            for (Document pomDocument : pomMap.values()) {
                Coordinates pomGAV =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                                    + "and artifactId must match either the project or a declared module name.%n"
                                    + "  Project coordinates:  %s:%s:%s%n"
                                    + "  Artifact coordinates: %s:%s:%s%n",
                            g1, a1, v1, g2, a2, v2);
                    if (isSameGroupAndVersion) {
                        message += String.format(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * from repositories (using groupId:artifactId:version coordinates) and
         * downloaded to the local repository. These sources do not support resolving
         * other sources.
         *
         * @param path the path to the POM file or project directory
         * @param modelId the modelId (groupId:artifactId:version coordinates)
         * @return a new ModelSource instance configured as a resolved source
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top