Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for JavaPathType (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
                    return Optional.of(type);
                }
            }
            return Optional.empty();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         */
        @Test
        public void testEqualsHashCode() {
            JavaPathType.Modular foo1 = JavaPathType.patchModule("foo");
            JavaPathType.Modular foo2 = JavaPathType.patchModule("foo");
            JavaPathType.Modular bar = JavaPathType.patchModule("bar");
            assertEquals(foo1, foo2);
            assertEquals(foo1.hashCode(), foo2.hashCode());
            assertNotEquals(foo1, bar);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                            handler.isIncludesDependencies(),
                            handler.isAddedToClasspath()
                                    ? new JavaPathType[] {JavaPathType.CLASSES, JavaPathType.MODULES}
                                    : new JavaPathType[] {});
                }
                return type;
            });
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed May 14 04:47:58 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
                    coords, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES, JavaPathType.MODULES));
            List<Path> classes = dispatched.get(JavaPathType.CLASSES);
            List<Path> modules = dispatched.get(JavaPathType.MODULES);
            List<Path> unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(3, dispatched.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.Language;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Type;
    import org.apache.maven.repository.internal.artifact.MavenArtifactProperties;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

    import java.nio.file.Path;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * 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
         * {@link JavaPathType#CLASSES} and {@link JavaPathType#MODULES}.</p>
         */
        @Nonnull
        Set<PathType> getPathTypes();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

         * For example, if a Java tools accepts only class-path elements, then the filter should return
         * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
         * If no filter is explicitly set, then the default is a filter accepting everything.
         *
         * @return a filter for the types of path (class-path, module-path, …) accepted by the tool
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         *
         * @deprecated This method is unreliable because it does not consider other dependency properties.
         * See {@link org.apache.maven.api.JavaPathType} instead for better analysis.
         */
        @Deprecated
        public List<String> getCompileClasspathElements() throws DependencyResolutionRequiredException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top