Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for ModelBuilder (0.22 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

    import java.nio.file.Path;
    
    import org.apache.maven.model.Model;
    
    /**
     * Builds the effective model from a POM.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuilder {
    
        /**
         * Builds the effective model of the specified POM.
         *
         * @param request The model building request that holds the parameters, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            this.artifactResolver = Objects.requireNonNull(artifactResolver, "artifactResolver cannot be null");
            this.modelBuilder = Objects.requireNonNull(modelBuilder, "modelBuilder cannot be null");
            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                + "    </dependencies>\n"
                + "  </dependencyManagement>\n"
                + "</project>\n";
    
        @Test
        void testCycleInImports() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

    /**
     * The transformerContextBuilder is responsible for initializing the TransformerContext.
     * In case rawModels are missing, it could do new buildingRequests on the ModelBuilder.
     *
     * @since 4.0.0
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface TransformerContextBuilder {
        /**
         * This method is used to initialize the TransformerContext
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestProjectBuilder extends DefaultProjectBuilder {
        @Inject
        public TestProjectBuilder(
                ModelBuilder modelBuilder,
                ProjectBuildingHelper projectBuildingHelper,
                MavenRepositorySystem repositorySystem,
                RepositorySystem repoSystem,
                ProjectDependenciesResolver dependencyResolver,
                RootLocator rootLocator,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

        }
    
        private ModelBuilder modelBuilder;
    
        public final ModelBuilder getModelBuilder() {
            checkClosed();
            if (modelBuilder == null) {
                modelBuilder = createModelBuilder();
            }
            return modelBuilder;
        }
    
        protected ModelBuilder createModelBuilder() {
            // from maven-model-builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

        private File getPom(String name) {
            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.userProperties(session.getUserProperties());
            request.lifecycleBindingsInjector(lifecycleBindingsInjector::injectLifecycleBindings);
            ModelBuilder.ModelBuilderSession mbSession =
                    iSession.getData().get(SessionData.key(ModelBuilder.ModelBuilderSession.class));
            return mbSession.build(request.build());
        }
    
        static Model transform(Model model, MavenProject project) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

        }
    
        private ModelBuilder modelBuilder;
    
        public final ModelBuilder getModelBuilder() {
            checkClosed();
            if (modelBuilder == null) {
                modelBuilder = createModelBuilder();
            }
            return modelBuilder;
        }
    
        protected ModelBuilder createModelBuilder() {
            // from maven-model-builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * Holds data relevant for a model building event.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class DefaultModelBuildingEvent implements ModelBuildingEvent {
    
        private Model model;
    
        private final ModelBuildingRequest request;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top