Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for Empty (0.23 sec)

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

        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertNotNull(list, "No dependencies");
            assertTrue(!list.isEmpty(), "Empty dependency list");
    
            Map<?, ?> map = projectToClone.getManagedVersionMap();
            assertNotNull(map, "No ManagedVersionMap");
            assertTrue(!map.isEmpty(), "ManagedVersionMap is empty");
    
            MavenProject clonedProject = projectToClone.clone();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @param settings The settings' string representation, may be empty or {@code null}.
         */
        public StringSettingsSource(CharSequence settings) {
            this(settings, null);
        }
    
        /**
         * Creates a new settings source backed by the specified string.
         *
         * @param settings The settings' string representation, may be empty or {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

     *
     * @since 3.0.2
     */
    public interface RuntimeInformation {
    
        /**
         * Retrieves the current Maven version, for example "3.0.2".
         *
         * @return The current Maven version or an empty string if unknown, never {@code null}.
         */
        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * from the collection obtained by {@link #getModelIds()}. As a special case, an empty string can be used as the
         * identifier for the super POM.
         *
         * @param modelId The identifier of the model whose active profiles should be retrieved, must not be {@code null}.
         * @return The active profiles of the model or an empty list if none or {@code null} if the specified model id does
         *         not refer to a known model.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         * from the collection obtained by {@link #getModelIds()}. As a special case, an empty string can be used as the
         * identifier for the super POM.
         *
         * @param modelId The identifier of the model whose active profiles should be retrieved, must not be {@code null}.
         * @return The active profiles of the model or an empty list if the specified model id does
         *         not refer to a known model or has no active profiles.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

         *            empty.
         * @param pluginArtifactId The artifact id of the plugin whose configuration should be used, must not be
         *            {@code null} or empty.
         * @param pluginExecutionId The id of a plugin execution whose configuration should be used, may be {@code null} or
         *            empty to use the general plugin configuration.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         * 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}
         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources-project-builder/id-container-joining-with-empty-elements/pom.xml

      <name>Maven Integration Test :: MNG-3979</name>
      <description>
        Test that during inheritance the merging/joining of subtrees with equal identifier doesn't crash if the parent
        POM has a non-empty element and the child POM has an empty element to join.
      </description>
    
      <properties>
        <prop0>test</prop0>
      </properties>
    
      <repositories>
        <repository>
          <id>equal-repo-id</id>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jul 18 17:22:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static String key(String groupId, String artifactId, String version) {
            notBlank(groupId, "groupId can neither be null, empty nor blank");
            notBlank(artifactId, "artifactId can neither be null, empty nor blank");
            notBlank(version, "version can neither be null, empty nor blank");
    
            return groupId + ":" + artifactId + ":" + version;
        }
    
        private static void notBlank(String str, String message) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 06 08:51:18 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top