Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UnresolvableModelException (0.15 sec)

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

    /**
     * Signals an error when resolving the path to an external model.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class UnresolvableModelException extends Exception {
    
        /**
         * The group id of the unresolvable model.
         */
        private final String groupId;
    
        /**
         * The artifact id of the unresolvable model.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    .artifactId("artifact")
                    .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-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         * @return The source of the requested POM, never {@code null}.
         * @throws UnresolvableModelException If the POM could not be resolved from any configured repository.
         */
        ModelSource resolveModel(String groupId, String artifactId, String version) throws UnresolvableModelException;
    
        /**
         * Tries to resolve the POM for the specified parent coordinates possibly updating {@code parent}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            public ModelSource resolveModel(String groupId, String artifactId, String version)
                    throws UnresolvableModelException {
                return null;
            }
    
            @Override
            public ModelSource resolveModel(Parent parent, AtomicReference<Parent> modified)
                    throws UnresolvableModelException {
                return null;
            }
    
            @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)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/WorkspaceModelResolver.java

    public interface WorkspaceModelResolver {
    
        Model resolveRawModel(String groupId, String artifactId, String versionConstraint)
                throws UnresolvableModelException;
    
        Model resolveEffectiveModel(String groupId, String artifactId, String versionConstraint)
                throws UnresolvableModelException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            return new ArtifactModelSource(pomArtifact.getPath(), groupId, artifactId, version);
        }
    
        @Override
        public ModelSource resolveModel(final Parent parent, final AtomicReference<Parent> modified)
                throws UnresolvableModelException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.project.DefaultProjectBuildingRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.model.profile.ProfileSelector;
    import org.apache.maven.model.resolution.InvalidRepositoryException;
    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.apache.maven.model.resolution.WorkspaceModelResolver;
    import org.apache.maven.model.superpom.SuperPomProvider;
    import org.apache.maven.model.v4.MavenTransformer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

    import org.apache.maven.model.building.ModelBuildingResult;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.building.ModelProblemUtils;
    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.codehaus.plexus.util.StringUtils;
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositoryEvent.EventType;
    import org.eclipse.aether.RepositoryException;
    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