- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for projectScope (0.12 seconds)
-
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java
* beyond the standard {@link ProjectScope#MAIN} and {@link ProjectScope#TEST} scopes. * Implementations of this interface will be discovered through the Java ServiceLoader mechanism * and their provided project scopes will be available throughout the Maven build process. * <p> * Example usage: * <pre> * public class CustomProjectScopeProvider implements ProjectScopeProvider { * public Collection<ProjectScope> provides() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GradleArchitecture.kt
*/ fun Settings.packaging(moduleConfiguration: ProjectScope.() -> Unit) = ProjectScope("packaging", this).moduleConfiguration() /** * Defines the testing module, for project helping test Gradle. */ fun Settings.testing(moduleConfiguration: ProjectScope.() -> Unit) = ProjectScope("testing", this).moduleConfiguration() /** * Defines a bucket of unassigned projects. */
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 1.9K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/Builders.kt
} class ArchitectureModuleBuilder( name: String, settings: Settings, private val projectScope: ProjectScope = ProjectScope("platforms/$name", settings), ) : ArchitectureElementBuilder(name) { fun subproject(projectName: String) { projectScope.subproject(projectName) } override fun build(): ArchitectureModule { return ArchitectureModule(name, id) } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
* @param projectScope the project scope associated with this path scope * @param dependencyScopes the dependency scopes associated with this path scope * @return a new PathScope instance */ static PathScope pathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) { return new DefaultPathScope(id, projectScope, dependencyScopes); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; 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() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* {@return in which context the source files will be used} * Not to be confused with dependency scope. * The default value is {@code "main"}. * * @see ProjectScope#MAIN */ default ProjectScope scope() { return ProjectScope.MAIN; } /** * {@return the language of the source files} * The default value is {@code "java"}. * * @see Language#JAVA_FAMILYCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 14.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
@Immutable public interface PathScope extends ExtensibleEnum { // TODO: what if I simply want all dependencies ? @Nonnull ProjectScope projectScope(); @Nonnull Set<DependencyScope> dependencyScopes(); PathScope MAIN_COMPILE = pathScope( "main-compile", ProjectScope.MAIN, DependencyScope.COMPILE_ONLY, DependencyScope.COMPILE, DependencyScope.PROVIDED);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
import java.util.stream.Stream; import org.apache.maven.RepositoryUtils; import org.apache.maven.api.Language; import org.apache.maven.api.ProducedArtifact; import org.apache.maven.api.Project; import org.apache.maven.api.ProjectScope; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.Service; import org.apache.maven.api.SourceRoot; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.di.SessionScoped;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* @param directory the directory to add if not already present in the source * * @see #getEnabledSourceRoots(Project, ProjectScope, Language) */ void addSourceRoot( @Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Language language, @Nonnull Path directory); /** * Returns an immutable list of project remote repositories (directly specified or inherited).Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* @see Build#getDirectory() */ @Nonnull default Path getOutputDirectory(@Nullable ProjectScope scope) { String dir; Build build = getBuild(); if (scope == ProjectScope.MAIN) { dir = build.getOutputDirectory(); } else if (scope == ProjectScope.TEST) { dir = build.getTestOutputDirectory(); } else { dir = build.getDirectory();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0)