Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 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/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)
  4. 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)
  5. 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