Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for sourceRoots (0.1 sec)

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

         * For listing only the {@linkplain SourceRoot#enabled() enabled} source roots,
         * the following code can be used:
         *
         * <pre>{@literal
         * List<SourceRoot> enabledRoots = project.getSourceRoots()
         *         .stream().filter(SourceRoot::enabled).toList();
         * }</pre>
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            };
        }
    
        private static Resource toResource(SourceRoot sourceRoot) {
            return new Resource(org.apache.maven.api.model.Resource.newBuilder()
                    .directory(sourceRoot.directory().toString())
                    .includes(sourceRoot.includes())
                    .excludes(sourceRoot.excludes())
                    .filtering(Boolean.toString(sourceRoot.stringFiltering()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            org.apache.maven.api.SourceRoot sourceRoot = sourceRootsList.get(0);
            assertTrue(sourceRoot.includes().contains("*.xml"), "Underlying SourceRoot should contain the include");
        }
    
        /*MNG-11062*/
        @Test
        void testTargetPathPreservedWithConnectedResource() {
            // Create resource with targetPath using Resource constructor pattern
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         *     </tr>
         *   </tbody>
         * </table>
         * <p>
         * <strong>Role in {@link SourceRoot} Path Resolution:</strong>
         * </p>
         * <p>
         * This method is the foundation for {@link SourceRoot#targetPath(Project)} path resolution.
         * When a {@link SourceRoot} has a relative {@code targetPath}, it is resolved against the
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.PathType;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.RemoteRepository;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.SourceRoot;
    import org.apache.maven.api.Version;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top