Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SourceRoot (0.2 sec)

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

     * {@linkplain org.apache.maven.api.model.Model Maven project descriptor}.
     * For each property, the default value is either empty or documented in the project descriptor.
     */
    public interface SourceRoot {
        /**
         * {@return the root directory where the sources are stored}.
         * The path is relative to the <abbr>POM</abbr> file.
         *
         * <h4>Default implementation</h4>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top