Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for JavaPathType (0.27 sec)

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

            public String id() {
                return JavaPathType.this.name() + ":" + moduleName;
            }
    
            /**
             * Returns the type of path without indication about the target module.
             * This is usually {@link #PATCH_MODULE}.
             *
             * @return type of path without indication about the target module
             */
            @Nonnull
            public JavaPathType rawType() {
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
                    if (JavaPathType.CLASSES.equals(type)) {
                        classes = true;
                    } else if (JavaPathType.MODULES.equals(type)) {
                        modules = true;
                    } else {
                        unknown = true;
                    }
    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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultTypeProvider.java

                    // Java types
                    new DefaultType(
                            Type.JAR, Language.JAVA_FAMILY, "jar", null, false, JavaPathType.CLASSES, JavaPathType.MODULES),
                    new DefaultType(Type.JAVADOC, Language.JAVA_FAMILY, "jar", "javadoc", false, JavaPathType.CLASSES),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        private boolean containsPatches(Set<PathType> types) {
            for (PathType type : types) {
                if (type instanceof JavaPathType.Modular) {
                    type = ((JavaPathType.Modular) type).rawType();
                }
                if (JavaPathType.PATCH_MODULE.equals(type)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
         * or {@link JavaPathType#CLASSES} otherwise. A JAR file without module descriptor but with
         * an "Automatic-Module-Name" manifest attribute is considered modular.
         */
        public JavaPathType getPathType() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
                    coord, 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());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
                    if (JavaPathType.CLASSES.equals(type)) {
                        classes = true;
                    } else if (JavaPathType.MODULES.equals(type)) {
                        modules = true;
                    } else {
                        unknown = true;
                    }
    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)
  8. 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"}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                            handler.getExtension(),
                            handler.getClassifier(),
                            handler.isIncludesDependencies(),
                            JavaPathType.CLASSES,
                            JavaPathType.MODULES);
                }
                return type;
            });
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
         * or {@link JavaPathType#CLASSES} otherwise. A JAR file without module descriptor but with
         * an "Automatic-Module-Name" manifest attribute is considered modular.
         */
        public JavaPathType getPathType() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top