Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ModelParser (0.05 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

                Map<String, ModelParser> parsersMap = container.lookupMap(ModelParser.class);
                assertNotNull(parsersMap);
                assertEquals(1, parsersMap.size());
            }
    
            @Test
            void testGuice() throws Exception {
                List<Binding<ModelParser>> parsers =
                        container.lookup(Injector.class).findBindingsByType(TypeLiteral.get(ModelParser.class));
                assertNotNull(parsers);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 23:18:32 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top