Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for ModelBuilder (0.2 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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.model.Model;
    
    public interface ModelBuilder extends Service {
    
        String MODEL_VERSION_4_0_0 = "4.0.0";
    
        String MODEL_VERSION_4_1_0 = "4.1.0";
    
        List<String> VALID_MODEL_VERSIONS = List.of(MODEL_VERSION_4_0_0, MODEL_VERSION_4_1_0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top