Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setModelSource (0.07 sec)

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

        }
    
        @Override
        public ModelSource getModelSource() {
            return request.getModelSource();
        }
    
        @Override
        public FilterModelBuildingRequest setModelSource(ModelSource modelSource) {
            request.setModelSource(modelSource);
    
            return this;
        }
    
        @Override
        public int getValidationLevel() {
            return request.getValidationLevel();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                            return null;
                        }
                        try {
                            ModelBuildingRequest gaBuildingRequest =
                                    new DefaultModelBuildingRequest(request).setModelSource(source);
                            return defaultModelBuilder.readRawModel(gaBuildingRequest, problems);
                        } catch (ModelBuildingException e) {
                            // gathered with problem collector
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
            assertThrows(ModelBuildingException.class, () -> builder.build(request));
        }
    
    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/DefaultModelBuildingRequest.java

         *
         * @param request The request to copy, must not be {@code null}.
         */
        public DefaultModelBuildingRequest(ModelBuildingRequest request) {
            setPomPath(request.getPomPath());
            setModelSource(request.getModelSource());
            setValidationLevel(request.getValidationLevel());
            setProcessPlugins(request.isProcessPlugins());
            setTwoPhaseBuilding(request.isTwoPhaseBuilding());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Sets the source of the POM to process. Eventually, either {@link #setModelSource(ModelSource)} or
         * {@link #setPomPath(Path)} must be set.
         *
         * @param modelSource The source of the POM to process, may be {@code null}.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setModelSource(ModelSource modelSource);
    
        /**
         * Gets the POM file of the project to build.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            final ModelBuildingRequest request = new DefaultModelBuildingRequest()
                    .setValidationLevel(validationLevel)
                    .setLocationTracking(locationTracking)
                    .setModelSource(new FileModelSource(pomFile));
            DefaultModelProblemCollector problems = new DefaultModelProblemCollector(new DefaultModelBuildingResult());
            try {
                Model model = readFileModel(request, problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    if (resolveResult.getRepository() instanceof WorkspaceRepository) {
                        modelRequest.setPomPath(pomArtifact.getPath());
                    } else {
                        modelRequest.setModelSource(new ArtifactModelSource(
                                pomArtifact.getPath(),
                                pomArtifact.getGroupId(),
                                pomArtifact.getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top