Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for JavaPathType (0.07 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 15K bytes
    - Viewed (1)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--module-path", formatted[0]);
            assertEquals(toPlatformSpecific("\"src/foo.java:src/bar.java\""), formatted[1]);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

            }
        };
    
        /**
         * Returns the unique name of this path type, including the module to patch if any.
         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jan 07 12:02:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

         *
         * @return if the artifact can be added to the class path
         *
         * @deprecated A value of {@code true} does not mean that the dependency should
         * be placed on the classpath. See {@code JavaPathType} instead for better analysis.
         */
        @Deprecated
        boolean isAddedToClasspath();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top