Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resolveModel (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         */
        ModelSource resolveModel(String groupId, String artifactId, String version) throws UnresolvableModelException;
    
        /**
         * Tries to resolve the POM for the specified parent coordinates possibly updating {@code parent}.
         * <p>
         * Unlike the {@link #resolveModel(java.lang.String, java.lang.String, java.lang.String)} method, this method
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    .version("0")
                    .build();
    
            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
                    () -> newModelResolver().resolveModel(parent, new AtomicReference<>()),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                }
    
                return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion);
            } catch (final VersionRangeResolutionException e) {
                throw new UnresolvableModelException(
                        e.getMessage(), parent.getGroupId(), parent.getArtifactId(), parent.getVersion(), e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

        static class BaseModelResolver implements ModelResolver {
            @Override
            public ModelSource resolveModel(String groupId, String artifactId, String version)
                    throws UnresolvableModelException {
                return null;
            }
    
            @Override
            public ModelSource resolveModel(Parent parent, AtomicReference<Parent> modified)
                    throws UnresolvableModelException {
    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/pom.xml

                  <exclude>org.apache.maven.model.resolution.ModelResolver#resolveModel(org.apache.maven.api.model.Parent,java.util.concurrent.atomic.AtomicReference):METHOD_NEW_DEFAULT</exclude>
                  <exclude>org.apache.maven.model.resolution.ModelResolver#resolveModel(org.apache.maven.api.model.Dependency,java.util.concurrent.atomic.AtomicReference):METHOD_NEW_DEFAULT</exclude>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                            ModelProblemUtils.toSourceHint(childModel)));
    
            ModelSource modelSource;
            try {
                modelSource = modelResolver.resolveModel(parent);
            } catch (UnresolvableModelException e) {
                // Message below is checked for in the MNG-2199 core IT.
                StringBuilder buffer = new StringBuilder(256);
    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