Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for coordinate (0.05 sec)

  1. tests/test_tuples.py

    
    class ItemGroup(BaseModel):
        items: list[tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.8K 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. CHANGELOG.md

    this change should be automatic.
    
    **MockWebServer has a new coordinate and package name.** We didn’t like that our old artifact
    depends on JUnit 4 so the new one doesn’t. It also has a better API built on immutable values. (We
    intend to continue publishing the old `okhttp3.mockwebserver` artifact so there’s no urgency to
    migrate.)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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