Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for coordinates (0.14 sec)

  1. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                @Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .groupId(requireNonNull(coordinates, "coordinates cannot be null")
                            .getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().toString())
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * @see DependencyCoordinates#getOptional()
         */
        boolean isOptional();
    
        /**
         * {@return coordinates with the same identifiers as this dependency}.
         */
        @Nonnull
        @Override
        DependencyCoordinates toCoordinates();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

        /**
         * Gets the identifier of the project that could not be built. The general format of the identifier is {@code
         * <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the exception
         * is thrown so this information is merely meant to assist the user.
         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         */
        boolean isSnapshot();
    
        /**
         * {@return coordinates with the same identifiers as this artifact}.
         * This is a shortcut for {@code session.createArtifactCoordinates(artifact)}.
         *
         * @see org.apache.maven.api.Session#createArtifactCoordinates(Artifact)
         */
        @Nonnull
        ArtifactCoordinates toCoordinates();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top