Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for PathType (0.16 sec)

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

         * Plugins can choose to report a warning to users when unresolved paths exist.
         */
        PathType UNRESOLVED = new PathType() {
            @Override
            public String name() {
                return "UNRESOLVED";
            }
    
            @Override
            public String id() {
                return "UNRESOLVED";
            }
    
            @Override
    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)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         */
        Optional<PathType> selectPathType(Set<PathType> types, Predicate<PathType> filter, Path path) throws IOException {
            PathType selected = null;
            boolean classes = false;
            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
    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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         */
        Optional<PathType> selectPathType(Set<PathType> types, Predicate<PathType> filter, Path path) throws IOException {
            PathType selected = null;
            boolean classes = false;
            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
    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)
  4. 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);
    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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultType.java

        private final boolean includesDependencies;
        private final Set<PathType> pathTypes;
        private final Map<String, String> properties;
    
        public DefaultType(
                String id,
                Language language,
                String extension,
                String classifier,
                boolean includesDependencies,
                PathType... pathTypes) {
            this.id = requireNonNull(id, "id");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        @Override
        public String toString() {
            return "PathType[" + id() + "]";
        }
    
        /**
         * Type of path which is applied to only one specific Java module.
         * The main case is the Java {@code --patch-module} option.
         *
         * @see #PATCH_MODULE
         * @see #patchModule(String)
         */
        public final class Modular implements PathType {
            /**
    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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @see org.apache.maven.api.services.DependencyResolver#resolve(Session, Project, PathScope)
         */
        @Nonnull
        Map<PathType, List<Path>> resolveDependencies(
                @Nonnull DependencyCoordinate dependencyCoordinate,
                @Nonnull PathScope scope,
                @Nonnull Collection<PathType> desiredTypes);
    
        /**
         * Shortcut for {@code getService(DependencyResolver.class).resolve(...).getDispatchedPaths()}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.DependencyCoordinate;
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                }
            }
            addPathElement(cache.selectPathType(pathTypes, filter, path).orElse(PathType.UNRESOLVED), path);
        }
    
        /**
         * Returns whether the given set of path types contains at least one patch for a module.
         */
        private boolean containsPatches(Set<PathType> types) {
            for (PathType type : types) {
                if (type instanceof JavaPathType.Modular) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

                    .resolve(this, project, scope)
                    .getPaths();
        }
    
        @Override
        public Map<PathType, List<Path>> resolveDependencies(
                @Nonnull DependencyCoordinate dependency,
                @Nonnull PathScope scope,
                @Nonnull Collection<PathType> desiredTypes) {
            return getService(DependencyResolver.class)
                    .resolve(DependencyResolverRequest.builder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top