Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for empty (0.16 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/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)
  3. 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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactManager extends Service {
    
        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
         * Associates the given file path to the artifact.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private static final Logger LOGGER = LoggerFactory.getLogger(MavenProject.class);
    
        public static final String EMPTY_PROJECT_GROUP_ID = "unknown";
    
        public static final String EMPTY_PROJECT_ARTIFACT_ID = "empty-project";
    
        public static final String EMPTY_PROJECT_VERSION = "0";
    
        private Model model;
    
        private MavenProject parent;
    
        private File file;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
        List<BuilderProblem> getProblems();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
         * @return the hint about the source of the problem or an empty string if unknown, never {@code null}
         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top