- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for projectScope (0.28 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Override public List<Path> getCompileSourceRoots(Project project, ProjectScope scope) { MavenProject prj = getMavenProject(nonNull(project, "project")); List<String> roots; if (nonNull(scope, "scope") == ProjectScope.MAIN) { roots = prj.getCompileSourceRoots(); } else if (scope == ProjectScope.TEST) { roots = prj.getTestCompileSourceRoots(); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
/** * Get the list of resources for the given project and scope * * @param project the project * @param scope the scope, i.e. usually main or test * @return the list of resources */ List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 11:52:48 UTC 2024 - 7.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
Packaging requirePackaging(@Nonnull String id); /** * Obtain the {@link ProjectScope} from the specified {@code id}. * <p> * Shortcut for {@code getService(ProjectScopeRegistry.class).require(...)}. * * @see org.apache.maven.api.services.ProjectScopeRegistry#require(String) */ @Nonnull ProjectScope requireProjectScope(@Nonnull String id); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0)