Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for isEmpty (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            if (excludes == null || excludes.isEmpty()) {
                return Collections.emptyList();
            }
            return Arrays.stream(excludes.split(","))
                    .map(String::trim)
                    .filter(s -> !s.isEmpty())
                    .collect(Collectors.toList());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "The property name is required to activate the profile " + profile.getId(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                throws ProjectBuildingException {
            ProjectBuildingRequest projectBuildingRequest = request.getProjectBuildingRequest();
    
            boolean hasProjectSelection = !request.getProjectActivation().isEmpty();
            boolean isRecursive = hasProjectSelection || request.isRecursive();
            List<ProjectBuildingResult> results = projectBuilder.build(files, isRecursive, projectBuildingRequest);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            List<String> scopes = new ArrayList<>(2);
            if (scopeToCollect != null && !scopeToCollect.isEmpty()) {
                scopes.add(scopeToCollect);
            }
            if (scopeToResolve != null && !scopeToResolve.isEmpty()) {
                scopes.add(scopeToResolve);
            }
    
            if (scopes.isEmpty()) {
                return null;
            } else {
                return new CumulativeScopeArtifactFilter(scopes);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            if (jdk == null) {
                return false;
            }
    
            String version = context.getSystemProperties().get("java.version");
    
            if (version == null || version.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "Failed to determine Java version for profile " + profile.getId(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (repo != null) {
                String id = repo.getId();
    
                if (id == null || id.isEmpty()) {
                    throw new InvalidRepositoryException("Repository identifier missing", "");
                }
    
                String url = repo.getUrl();
    
                if (url == null || url.isEmpty()) {
                    throw new InvalidRepositoryException("URL missing for repository " + id, id);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    profileSelector.getActiveProfiles(request.getProfiles(), profileActivationContext, problems);
    
            result.setActiveExternalProfiles(activeExternalProfiles);
    
            if (!activeExternalProfiles.isEmpty()) {
                Properties profileProps = new Properties();
                for (Profile profile : activeExternalProfiles) {
                    profileProps.putAll(profile.getProperties());
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
            List<Plugin> plugins = metadata.getPlugins();
            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                boolean isBlankVersion = descriptor.getRequiredMavenVersion() == null
                        || descriptor.getRequiredMavenVersion().trim().isEmpty();
    
                if (isBlankVersion) {
                    // only take value from underlying POM if plugin descriptor has no explicit Maven requirement
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                this.metadata = metadata;
            }
    
            public boolean storedInArtifactVersionDirectory() {
                return !metadata.getVersion().isEmpty();
            }
    
            public boolean storedInGroupDirectory() {
                return metadata.getArtifactId().isEmpty();
            }
    
            public String getGroupId() {
                return nullify(metadata.getGroupId());
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top