Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for locateAndParse (0.17 sec)

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

         * @return an optional parsed {@link Model} or {@code null} if none could be found
         * @throws ModelParserException if the located model cannot be parsed
         */
        @Nonnull
        default Optional<Model> locateAndParse(@Nonnull Path dir, @Nullable Map<String, ?> options)
                throws ModelParserException {
            return locate(dir).map(s -> parse(s, options));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                for (ModelParser parser : modelParsers) {
                    try {
                        Optional<Model> model =
                                parser.locateAndParse(projectDirectory, Map.of(ModelParser.STRICT, request.isStrict()));
                        if (model.isPresent()) {
                            return model.get().withPomFile(pomFile);
                        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top