- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ProjectBuilder (0.1 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * @since 4.0.0 */ @Experimental public interface ProjectBuilder extends Service { /** * Creates a {@link org.apache.maven.api.Project} from a POM file. * * @param request {@link ProjectBuilderRequest}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jan 30 23:39:19 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
if (getContainer().hasComponent(ProjectBuilder.class, "test")) { projectBuilder = getContainer().lookup(ProjectBuilder.class, "test"); } else { // default over to the main project builder... projectBuilder = getContainer().lookup(ProjectBuilder.class); } } protected ProjectBuilder getProjectBuilder() { return projectBuilder; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java
ArtifactFactory artifactFactory, ProjectBuilder projectBuilder, MavenMetadataCache cache, LegacySupport legacySupport, MavenRepositorySystem mavenRepositorySystem) { super(repositoryMetadataManager, artifactFactory, projectBuilder, cache, legacySupport, mavenRepositorySystem); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
import org.apache.maven.project.ProjectBuildingResult; @Named @Singleton public class DefaultProjectBuilder implements ProjectBuilder { private final org.apache.maven.project.ProjectBuilder builder; @Inject public DefaultProjectBuilder(org.apache.maven.project.ProjectBuilder builder) { this.builder = builder; } @SuppressWarnings("MethodLength") @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
MavenProject project = session.getCurrentProject(); Exclusion exclusion = new Exclusion(); exclusion.setGroupId( "org.apache.maven.its" ); exclusion.setArtifactId( "a" ); new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME, exclusion ); Set<Artifact> artifactDependencies =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* {@link org.apache.maven.api.services.ProjectBuilder ProjectBuilder} service. * Such objects are immutable and plugin that wish to modify such objects * need to do so using the {@link org.apache.maven.api.services.ProjectManager * ProjectManager} service. * <p> * Projects are created using the {@code ProjectBuilder} from a POM file * (usually named {@code pom.xml}) on the file system.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 7.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
} } tasks.withType<Test>().configureEach { val testVersionProvider = javaLauncher.map { it.metadata.languageVersion } jvmArgumentProviders.add(CommandLineArgumentProvider { //allow ProjectBuilder to inject legacy types into the system classloader if (testVersionProvider.get().canCompileOrRun(9)) { listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED") } else { emptyList()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 15:18:07 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
Field field = DefaultArtifactDescriptorReader.class.getDeclaredField("artifactResolver"); field.setAccessible(true); field.set(pomReader, resolver); projectBuilder = getContainer().lookup(ProjectBuilder.class, "classpath"); } @Test void testProjectClasspath() throws Exception { File f = getFileForClasspathResource(dir + "project-with-scoped-dependencies.xml");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderException.java
* under the License. */ package org.apache.maven.api.services; import java.io.Serial; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental public class ProjectBuilderException extends MavenException { @Serial private static final long serialVersionUID = -7629871850875943799L;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* {@link org.apache.maven.api.model.Model}, * {@link org.apache.maven.api.settings.Settings}, or * {@link org.apache.maven.api.toolchain.PersistedToolchains}. * * @since 4.0.0 * @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source) * @see org.apache.maven.api.services.SettingsBuilder#build(Session, Source, Source, Source) * @see org.apache.maven.api.services.ToolchainsBuilder#build(Session, Source, Source) */ @Experimental
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 3.5K bytes - Viewed (0)