Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         *             parameter {@code coordinates} is {@code null} or invalid
         */
        default ArtifactResolverResult resolve(Session session, Collection<? extends ArtifactCoordinates> coordinates) {
            return resolve(ArtifactResolverRequest.build(session, coordinates));
        }
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactCoordinatesFactory extends Service {
    
        /**
         * Creates artifact coordinates.
         *
         * @param request the request holding coordinates creation parameters
         * @return an {@code ArtifactCoordinates}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

            return ArtifactCoordinatesFactoryRequest.builder()
                    .session(requireNonNull(session, "session"))
                    .groupId(requireNonNull(coordinates, "coordinates").getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .classifier(coordinates.getClassifier())
                    .version(coordinates.getVersionConstraint().toString())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

         */
        default ResultItem getResult(ArtifactCoordinates coordinates) {
            return getResults().get(coordinates);
        }
    
        /**
         * Represents an individual resolution result for an artifact.
         */
        interface ResultItem {
    
            /**
             * Returns the coordinates of the resolved artifact.
             *
             * @return The {@link ArtifactCoordinates} of the artifact.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Parent;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.building.ModelSource;
    
    /**
     * Resolves a POM from its coordinates. During the build process, the
     * {@link org.apache.maven.model.building.ModelBuilder} will add any relevant repositories to the model resolver. In
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

        /**
         * Collects the transitive dependencies of some artifacts and builds a dependency graph for the given path scope.
         * Note that this operation is only concerned about determining the coordinates of the transitive dependencies and
         * does not actually resolve the artifact files.
         *
         * @param session the {@link Session}, must not be {@code null}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. 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)
Back to top