Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for DefaultModelBuildingRequest (0.17 sec)

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

        private Path rootDirectory;
    
        /**
         * Creates an empty request.
         */
        public DefaultModelBuildingRequest() {}
    
        /**
         * Creates a shallow copy of the specified request.
         *
         * @param request The request to copy, must not be {@code null}.
         */
        public DefaultModelBuildingRequest(ModelBuildingRequest request) {
            setPomPath(request.getPomPath());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

        @Test
        void testCycleInImports() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

    package org.apache.maven.project.validation;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.building.ModelProblemCollector;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            sysProperties.setProperty("myproperty", "test");
    
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("complex"));
            request.setSystemProperties(sysProperties);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

        }
    
        @Test
        void testCompleteWiring() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("simple"));
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                    }
    
                    if (!addEdge(from, p, problems)) {
                        return null;
                    }
    
                    DefaultModelBuildingRequest req =
                            new DefaultModelBuildingRequest(request).setPomPath(p).setModelSource(new FileModelSource(p));
    
                    try {
                        return defaultModelBuilder.readRawModel(req, problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Map<String, String> props = new HashMap<>();
            props.put("aa", "${bb}");
            props.put("bb", "${aa}");
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
    
            Model model = Model.newBuilder().properties(props).build();
    
            SimpleProblemCollector collector = new SimpleProblemCollector();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

    import java.io.InputStream;
    import java.util.List;
    import java.util.Properties;
    import java.util.function.UnaryOperator;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.SimpleProblemCollector;
    import org.apache.maven.model.interpolation.DefaultModelVersionProcessor;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

    import java.util.Map;
    import java.util.Objects;
    import java.util.Properties;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ArtifactModelSource;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuilder;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.building.ModelBuildingRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        @Override
        public Result<? extends Model> buildRawModel(
                Path pomFile, int validationLevel, boolean locationTracking, TransformerContext context) {
            final ModelBuildingRequest request = new DefaultModelBuildingRequest()
                    .setValidationLevel(validationLevel)
                    .setLocationTracking(locationTracking)
                    .setModelSource(new FileModelSource(pomFile));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top