Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Empty (0.12 sec)

  1. 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) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

        }
    
        @Test
        void testEmptyConstructor() {
            MavenProject project = new MavenProject();
    
            assertEquals(
                    MavenProject.EMPTY_PROJECT_GROUP_ID + ":" + MavenProject.EMPTY_PROJECT_ARTIFACT_ID + ":jar:"
                            + MavenProject.EMPTY_PROJECT_VERSION,
                    project.getId());
        }
    
        @Test
        void testClone() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

        private static final Attributes.Name AUTO_MODULE_NAME = new Attributes.Name("Automatic-Module-Name");
    
        /**
         * Module information for the path specified at construction time.
         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
                return Optional.empty();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. 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();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolverException.java

         *
         * @return The group id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getGroupId() {
            return groupId;
        }
    
        /**
         * Gets the artifact id of the unresolvable model.
         *
         * @return The artifact id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getArtifactId() {
            return artifactId;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * but cheaper to compute when the module names are not needed.
         *
         * @see #getPathType(Path)
         */
        private final Map<Path, PathType> pathTypes;
    
        /**
         * Creates an initially empty cache.
         */
        PathModularizationCache() {
            moduleInfo = new HashMap<>();
            pathTypes = new HashMap<>();
        }
    
        /**
         * Gets module information for the given JAR file or output directory.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. 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.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. maven-compat/src/test/projects/project-dependencies-resolver/it0063/jdk/jre/placeholder.txt

    need it so that empty directory does not get deleted...
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 53 bytes
    - Viewed (0)
Back to top