Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for inheritance (1.07 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
            assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked.");
            assertEquals("1000", project.getVersion(), "version proto-inheritance failed.");
    
            // draw the NPE.
            project.getId();
        }
    
        @Test
        void testEmptyConstructor() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        @Nonnull
        Model getRawModel();
    
        /**
         * Gets the effective model of the parent POM.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                assertEquals("test-project", gav.artifactId());
                assertEquals("1.0.0", gav.version());
            }
    
            @Test
            @DisplayName("should extract Artifact with parent inheritance")
            void shouldExtractGAVWithParentInheritance() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        }
    
        /**
         * Extracts an Artifact from a POM document with parent resolution.
         * If groupId or version are missing, attempts to resolve from parent.
         *
         * <p>This method handles Maven's inheritance mechanism where groupId and version
         * can be inherited from the parent POM.
         *
         * @param context the upgrade context for logging
         * @param pomDocument the POM document
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    But in most of the cases where we need to do something like this, we want the model just to **filter/remove** some of the data as in this example.
    
    And in those cases, we can use classes and inheritance to take advantage of function **type annotations** to get better support in the editor and tools, and still get the FastAPI **data filtering**.
    
    {* ../../docs_src/response_model/tutorial003_01_py310.py hl[7:10,13:14,18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/Curl.java

         */
        public static final File tmpDir = new File(System.getProperty("java.io.tmpdir"));
    
        /**
         * Protected constructor to prevent direct instantiation but allow inheritance.
         */
        protected Curl() {
            // nothing
        }
    
        /**
         * Creates a new CurlRequest with the HTTP GET method for the specified URL.
         *
         * @param url the URL to send the GET request to
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * the {@code /project/subprojects/subproject} elements of the POM in the aggregator project.
     * Note that the aggregator project is required to have a {@code pom} packaging.</p>
     *
     * <p><dfn>Project inheritance</dfn> defines a parent-child relationship between projects.
     * The <dfn>child project</dfn> inherits all the information from the <dfn>parent project</dfn>
     * POM.</p>
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * <ul>
     *   <li><strong>POM Discovery</strong>: Recursively discovers all POM files in the project structure</li>
     *   <li><strong>GAV Resolution</strong>: Computes GroupId, ArtifactId, Version for all project artifacts with parent inheritance</li>
     *   <li><strong>Cross-Module Inference</strong>: Uses knowledge of all project artifacts for intelligent inference decisions</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      // DoNotCall wants this to be final, but we want to override it to return more specific types.
      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      // DoNotCall wants this to be final, but we want to override it to return more specific types.
      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top