Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ProjectBuilder (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.profiles.ProfileManager;
    import org.apache.maven.wagon.events.TransferListener;
    
    /**
     * @deprecated use {@link ProjectBuilder} instead
     */
    @Deprecated
    public interface MavenProjectBuilder {
    
        MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/pom.xml

                  <!-- internal field removed -->
                  <exclude>org.apache.maven.graph.DefaultGraphBuilder#projectBuilder</exclude>
                  <!-- MavenPluginValidator has been transformed into an interface -->
                  <exclude>org.apache.maven.plugin.MavenPluginValidator</exclude>
                  <!-- Remove plexus logger -->
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top