Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ProjectBuilder (0.18 sec)

  1. 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)
  2. 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)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            return mavenRepositorySystem.createLocalRepository(repoDir);
        }
    
        protected class ProjectBuilder {
            private MavenProject project;
    
            public ProjectBuilder(MavenProject project) {
                this.project = project;
            }
    
            public ProjectBuilder(String groupId, String artifactId, String version) {
                Model model = new Model();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                ArtifactFactory artifactFactory,
                ProjectBuilder projectBuilder,
                MavenMetadataCache cache,
                LegacySupport legacySupport,
                MavenRepositorySystem mavenRepositorySystem) {
            this.repositoryMetadataManager = repositoryMetadataManager;
            this.artifactFactory = artifactFactory;
            this.projectBuilder = projectBuilder;
            this.cache = cache;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

    import org.apache.maven.wagon.events.TransferListener;
    
    /**
     */
    @Deprecated
    @Named
    @Singleton
    public class DefaultMavenProjectBuilder implements MavenProjectBuilder {
    
        @Inject
        private ProjectBuilder projectBuilder;
    
        @Inject
        private RepositorySystem repositorySystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        // ----------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top