Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ModelParser (0.07 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

    import org.apache.maven.api.services.Source;
    
    /**
     * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system.
     * This allows plugging in additional syntaxes for the main model read by Maven when building a project.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    public interface ModelParser extends SpiService {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

    @Deprecated(since = "4.0.0")
    public class DefaultModelProcessor implements ModelProcessor {
    
        private final Collection<ModelParser> modelParsers;
        private final ModelLocator modelLocator;
        private final ModelReader modelReader;
    
        @Inject
        public DefaultModelProcessor(List<ModelParser> modelParsers, ModelLocator modelLocator, ModelReader modelReader) {
            this.modelParsers = modelParsers;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

        protected ModelProcessor newModelProcessor() {
            return new DefaultModelProcessor(Arrays.asList(newModelParsers()), newModelLocator(), newModelReader());
        }
    
        protected ModelParser[] newModelParsers() {
            return new ModelParser[0];
        }
    
        protected ModelLocator newModelLocator() {
            return new DefaultModelLocator();
        }
    
        protected ModelReader newModelReader() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * A project is usually read from a file named {@code pom.xml},
         * which contains the {@linkplain #getModel() model} in an XML form.
         * When a custom {@code org.apache.maven.api.spi.ModelParser} is used,
         * the path may point to a non XML file.
         * <p>
         * The POM path is also used to define the {@linkplain #getBasedir() base directory}
         * of the project.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top