Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for first (0.13 sec)

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

                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
                    Plugin first = normalized.get(key);
                    if (first != null) {
                        plugin = merger.mergePlugin(plugin, first);
                    }
                    normalized.put(key, plugin);
                }
    
                if (plugins.size() != normalized.size()) {
    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/PathModularizationCache.java

     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
    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)
  3. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            if (!projects.isEmpty()) {
                MavenProject first = projects.get(0);
                this.currentProject = ThreadLocal.withInitial(() -> first);
                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
                this.currentProject = new ThreadLocal<>();
    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)
  4. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            Iterator<Artifact> i = result.getArtifacts().iterator();
            assertEquals(n, i.next(), "n should be first");
            assertEquals(m, i.next(), "m should be second");
    
            // inverse order
            set = new LinkedHashSet<>();
            set.add(m);
            set.add(n);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
         * @see #getModuleInfo(Path)
         */
        private final Map<Path, PathModularization> moduleInfo;
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            for (Lifecycle lifecycle : getLifeCycles()) {
                logger.debug("Lifecycle {}", lifecycle);
    
                for (String phase : lifecycle.getPhases()) {
                    // The first definition wins.
                    if (!phaseToLifecycleMap.containsKey(phase)) {
                        phaseToLifecycleMap.put(phase, lifecycle);
                    } else if (logger.isWarnEnabled()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
        private Os() {}
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            /*
             * NOTE: "invoker:install" vs "appassembler:assemble": Both mojos use the artifact installer to put an artifact
             * into a repository. In the first case, the result needs to be a proper local repository that one can use for
             * local artifact resolution. In the second case, the result needs to precisely obey the path information of the
    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)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the sequence of model identifiers that denote the lineage of models from which the effective model was
         * constructed. Model identifiers have the form {@code <groupId>:<artifactId>:<version>}. The first identifier from
         * the list denotes the model on which the model builder was originally invoked. The last identifier will always be
         * an empty string that by definition denotes the super POM.
         *
    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)
Back to top