Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SourceRoot (0.14 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

        private final SourceRoot originalSourceRoot;
        private final ProjectScope scope;
        private final MavenProject project;
    
        ConnectedResource(SourceRoot sourceRoot, ProjectScope scope, MavenProject project) {
            super(org.apache.maven.api.model.Resource.newBuilder()
                    .directory(sourceRoot.directory().toString())
                    .includes(sourceRoot.includes())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

    public class SourceRootTest implements SourceRoot {
        private ProjectScope scope;
    
        private Language language;
    
        private String moduleName;
    
        @Override
        public ProjectScope scope() {
            return (scope != null) ? scope : SourceRoot.super.scope();
        }
    
        @Override
        public Language language() {
            return (language != null) ? language : SourceRoot.super.language();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Nonnull
        @Override
        public Collection<SourceRoot> getSourceRoots(@Nonnull Project project) {
            MavenProject prj = getMavenProject(requireNonNull(project, "project" + " cannot be null"));
            return prj.getSourceRoots();
        }
    
        @Nonnull
        @Override
        public Stream<SourceRoot> getEnabledSourceRoots(@Nonnull Project project, ProjectScope scope, Language language) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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