Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setModelResolver (0.15 sec)

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

        @Override
        public ModelResolver getModelResolver() {
            return request.getModelResolver();
        }
    
        @Override
        public FilterModelBuildingRequest setModelResolver(ModelResolver modelResolver) {
            request.setModelResolver(modelResolver);
    
            return this;
        }
    
        @Override
        public ModelBuildingListener getModelBuildingListener() {
            return request.getModelBuildingListener();
    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/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
            assertThrows(ModelBuildingException.class, () -> builder.build(request));
        }
    
        static class CycleInImportsResolver extends BaseModelResolver {
            @Override
    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-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    modelRequest.setUserProperties(new Properties());
                    modelRequest.setModelCache(modelCacheFactory.createCache(session));
                    modelRequest.setModelResolver(new DefaultModelResolver(
                            session,
                            trace.newChild(modelRequest),
                            request.getRequestContext(),
                            artifactResolver,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * project directory.
         *
         * @param modelResolver The model resolver to use, never {@code null}.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setModelResolver(ModelResolver modelResolver);
    
        /**
         * Gets the model building listener to notify during the build process.
         *
         * @return The model building listener to notify or {@code null} if none.
         */
    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

                    importRequest.setLocationTracking(request.isLocationTracking());
    
                    importRequest.setModelSource(importSource);
                    importRequest.setModelResolver(modelResolver.newCopy());
    
                    importResult = build(importRequest, importIds);
                } catch (ModelBuildingException e) {
                    problems.addAll(e.getProblems());
    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