Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for IsEmpty (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

        }
    
        private Dependency injectDependency(Dependency d) {
            // we cannot set this directly in the MDO due to the interactions with dependency management
            return (d.getScope() == null || d.getScope().isEmpty()) ? d.withScope("compile") : d;
        }
    
        /**
         * Returns a list suited for the builders, i.e. null if not modified
         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

             * {@link ReflectionValueExtractor} class.</p>
             */
            public Object getValue(String expression) {
                if (expression == null || expression.trim().isEmpty()) {
                    return null;
                }
    
                try {
                    return ReflectionValueExtractor.evaluate(expression, root, false);
                } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        public Artifact createPluginArtifact(Plugin plugin) {
            VersionRange versionRange;
            try {
                String version = plugin.getVersion();
                if (version == null || version.isEmpty()) {
                    version = "RELEASE";
                }
                versionRange = VersionRange.createFromVersionSpec(version);
            } catch (InvalidVersionSpecificationException e) {
                return null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
            if (path.isEmpty()) {
                path = ".";
            }
    
            if (!new File(path).isAbsolute()) {
                path = path.replace('\\', '/');
            }
    
            return path;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

                    .filter(a -> a.getVersion().startsWith("3."))
                    .map(a -> a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getVersion())
                    .collect(Collectors.toSet());
    
            if (!mavenArtifacts.isEmpty()) {
                pluginValidationManager.reportPluginValidationIssue(
                        PluginValidationManager.IssueLocality.EXTERNAL,
                        session,
                        pluginArtifact,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
                            String splitExpr;
                            if (l.contains(">>")) {
                                global = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinate.java

         */
        @Nonnull
        default String getId() {
            return getGroupId()
                    + ":" + getArtifactId()
                    + ":" + getExtension()
                    + (getClassifier().isEmpty() ? "" : ":" + getClassifier())
                    + ":" + getVersion();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

        }
    
        @Override
        public void accept(PluginDescriptor pluginDescriptor) {
            String requiredJavaVersion = pluginDescriptor.getRequiredJavaVersion();
            if (requiredJavaVersion != null && !requiredJavaVersion.isEmpty()) {
                String currentJavaVersion = System.getProperty("java.version");
                if (!matchesVersion(requiredJavaVersion, currentJavaVersion)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top