Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for rules (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         * @see org.apache.maven.api.Session#parseVersion(String)
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * and no heuristic rule will be involved.
         *
         * <p>It is nevertheless common to specify two or more types of path. For example,
         * a Java library may be compatible with either the class-path or the module-path,
         * and the user may have provided no instruction about which type to use. In such
         * case, the plugin may apply rules for choosing a path. See for example
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
     * single step. This should be a more efficient implementation of multiple standard {@link ScopeArtifactFilter}
     * instances ORed together.
     *
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            }
            return info;
        }
    
        /**
         * Returns {@link JavaPathType#MODULES} if the given JAR file or output directory is modular.
         * This is used in heuristic rules for deciding whether to place a dependency on the class-path
         * or on the module-path when the {@code "jar"} artifact type is used.
         */
        private PathType getPathType(Path path) throws IOException {
    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/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    "2.0.6",
                    pom.getValue(
                            "build/plugins[1]/executions[1]/configuration[1]/rules[1]/requireMavenVersion[1]/version"));
            assertEquals(
                    "[1.4,)",
                    pom.getValue("build/plugins[1]/executions[1]/configuration[1]/rules[1]/requireJavaVersion[1]/version"));
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            }
            return info;
        }
    
        /**
         * Returns {@link JavaPathType#MODULES} if the given JAR file or output directory is modular.
         * This is used in heuristic rules for deciding whether to place a dependency on the class-path
         * or on the module-path when the {@code "jar"} artifact type is used.
         */
        private PathType getPathType(Path path) throws IOException {
    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)
  8. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                                        + "For such purposes you should use the maven-enforcer-plugin. "
                                        + "See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html",
                                mavenProject.getId());
                    }
                }
            }
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            if (Artifact.SCOPE_COMPILE.equals(farthestArtifact.getScope())
                    && !Artifact.SCOPE_COMPILE.equals(nearestArtifact.getScope())) {
                updateScope = true;
            }
    
            /* current POM rules all, if nearest is in current pom, do not update its artifactScope */
            if ((nearest.getDepth() < 2) && updateScope) {
                updateScope = false;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *       class-path or on the module-path, but only one of those. The choice is up to the plugin,
         *       possibly using heuristic rules (Maven 3 behavior).</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module-path,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top