Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for pattern (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

         * @param includes include patterns.
         * @param excludes exclude patterns.
         */
        void addResource(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes);
    
        /**
         * Add a test resource directory to the project.
         * @param project project reference.
         * @param resourceDirectory directory.
         * @param includes include patterns.
         * @param excludes exclude patterns.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java

    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     *
     * TODO I think this is equiv. to exclusion set filter in maven-core
     */
    public class ExcludesArtifactFilter extends IncludesArtifactFilter {
        public ExcludesArtifactFilter(List<String> patterns) {
            super(patterns);
        }
    
        public boolean include(Artifact artifact) {
            return !super.include(artifact);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.model.Exclusion;
    
    /**
     * Filter to exclude from a list of artifact patterns.
     */
    public class ExclusionArtifactFilter implements ArtifactFilter {
    
        private final List<Exclusion> exclusions;
        private final List<Predicate<Artifact>> predicates;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        public static final List<String> VALID_MODEL_VERSIONS =
                Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0"));
    
        private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}");
        private static final Pattern EXPRESSION_PROJECT_NAME_PATTERN = Pattern.compile("\\$\\{(project.+?)}");
    
        private static final String ILLEGAL_FS_CHARS = "\\/:\"<>|?*";
    
    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)
  5. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        private final ClassRealm containerRealm;
    
        // this is a live injected collection
        private final List<ClassRealmManagerDelegate> delegates;
    
        private final ClassRealm mavenApiRealm;
    
        /**
         * Patterns of artifacts provided by maven core and exported via maven api realm. These artifacts are filtered from
         * plugin and build extensions realms to avoid presence of duplicate and possibly conflicting classes on classpath.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/licenses/unrecognized-javax.annotation-api-1.3.2.txt

    Exception could therefore effectively compromise your ability to
    further distribute the package.
    
    Proceed with caution and we recommend that you obtain the advice of a
    lawyer skilled in open source matters before removing the Classpath
    Exception or making modifications to this package which may
    subsequently be redistributed and/or involve the use of third party
    software.
    
    CLASSPATH EXCEPTION
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 11 18:59:18 GMT 2021
    - 38.5K bytes
    - Viewed (0)
  7. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    import java.nio.file.attribute.BasicFileAttributes;
    import java.util.regex.Pattern;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ComparableVersionIT {
    
        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java

    /**
     */
    class FilterHashEqualsTest {
    
        @Test
        void testIncludesExcludesArtifactFilter() {
            List<String> patterns = Arrays.asList("c", "d", "e");
    
            IncludesArtifactFilter f1 = new IncludesArtifactFilter(patterns);
    
            IncludesArtifactFilter f2 = new IncludesArtifactFilter(patterns);
    
            assertTrue(f1.equals(f2));
            assertTrue(f2.equals(f1));
            assertTrue(f1.hashCode() == f2.hashCode());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    messages to be logged (if the corresponding detail level is enabled) by calling appropriate methods (debug(), info(), warn(), error, and fatal()). For convenience, LogFactory also offers a static method getLog() that combines the typical two-step pattern: Log log = LogFactory.getFactory().getInstance("Foo"); into a single method call: Log log = LogFactory.getLog("Foo"); For example, you might use the following technique to initialize and use a Log instance in an application component: import org....
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

    package org.apache.maven;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Allows core extensions to participate in Maven build session lifecycle.
     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
Back to top