Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for compact (0.17 sec)

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

                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
    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-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
            // TODO: Remove the following code when maven-compat is gone
            // This code is here to ensure maven-compat's EmptyLifecycleExecutor keeps on working.
            if (lookup == null) {
                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
        }
    
        private void checkVersionsArrayEqual(String[] array) {
            // compare against each other (including itself)
            for (int i = 0; i < array.length; ++i)
                for (int j = i; j < array.length; ++j) checkVersionsEqual(array[i], array[j]);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            assertEquals(p.getRepositories().size(), clone.getRepositories().size());
            // TODO deep compare the lists
            assertEquals(
                    p.getPluginRepositories().size(), clone.getPluginRepositories().size());
            // TODO deep compare the lists
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        public MavenProject getTopLevelProject() {
            return topLevelProject;
        }
    
        public MavenExecutionResult getResult() {
            return result;
        }
    
        // Backward compat
    
        /**
         * Returns the plugin context for given key ({@link PluginDescriptor#getPluginLookupKey()} and
         * {@link MavenProject}, never returns {@code null} as if context not present, creates it.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

                if (!plugin.isExtensions()
                        && artifacts.size() == 1
                        && artifacts.get(0).getFile() != null) {
                    /*
                     * This is purely for backward-compat with 2.x where <extensions> consisting of a single artifact where
                     * loaded into the core and hence available to plugins, in contrast to bigger extensions that were
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

         * <li>{@code repo,repo1}  (since 2.0.9)= {@code repo} or {@code repo1},</li>
         * <li>{@code *,!repo1} (since 2.0.9)= everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                        /*
                         * TODO Extensions like Flex Mojos use custom scopes like "merged", "internal", "external", etc. In
                         * order to don't break backward-compat with those, only warn but don't error out.
                         */
                        validateEnum(
                                prefix,
                                "scope",
                                problems,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Detects Maven3 plugins using maven-compat Maven2 compatibility layer.
     *
     * @since 3.9.3
     */
    @Singleton
    @Named
    class Maven3CompatDependenciesValidator extends AbstractMavenPluginDependenciesValidator {
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top