Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ModelParseException (0.18 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

     *
     * @deprecated use {@link org.apache.maven.api.services.xml.ModelXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    public class ModelParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
         * @deprecated Use {@link #read(Path, Map)} instead.
         */
        @Deprecated
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
         * Reads the model from the specified file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            if (modelId == null) {
                modelId = getModelId();
                source = getSource();
            }
    
            if (line <= 0 && column <= 0 && req.getException() instanceof ModelParseException) {
                ModelParseException e = (ModelParseException) req.getException();
                line = e.getLineNumber();
                column = e.getColumnNumber();
            }
    
            ModelProblem problem = new DefaultModelProblem(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

    import java.util.Optional;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.spi.ModelParser;
    import org.apache.maven.api.spi.ModelParserException;
    import org.apache.maven.model.io.ModelParseException;
    import org.apache.maven.model.io.ModelReader;
    import org.apache.maven.model.locator.ModelLocator;
    import org.eclipse.sisu.Typed;
    
    /**
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
                        e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.model.inheritance.InheritanceAssembler;
    import org.apache.maven.model.interpolation.ModelInterpolator;
    import org.apache.maven.model.interpolation.ModelVersionProcessor;
    import org.apache.maven.model.io.ModelParseException;
    import org.apache.maven.model.io.ModelReader;
    import org.apache.maven.model.management.DependencyManagementInjector;
    import org.apache.maven.model.management.PluginManagementInjector;
    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