Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for PathType (0.21 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 Apr 28 03:35:10 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. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * (possibly using heuristic rules), then to add the dependency in only one of the options
         * identified by {@link PathType}.</p>
         *
         * @return file paths to place on the different tool options
         */
        @Nonnull
        Map<PathType, List<Path>> getDispatchedPaths();
    
        @Nonnull
        Map<Dependency, Path> getDependencies();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. maven-api-impl/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 Apr 28 03:35:10 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/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K 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-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.aether;
    
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.services.TypeRegistry;
    import org.apache.maven.repository.internal.type.DefaultType;
    import org.eclipse.aether.artifact.ArtifactType;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top