Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for parser (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                Path projectDirectory = pomFile.getParent();
                List<ModelParserException> exceptions = new ArrayList<>();
                for (ModelParser parser : modelParsers) {
                    try {
                        Optional<Model> model =
                                parser.locateAndParse(projectDirectory, Map.of(ModelParser.STRICT, request.isStrict()));
                        if (model.isPresent()) {
    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)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
         *
         * @param source the source to parse, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return the parsed {@link Model}, never {@code null}
    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)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionParser.java

    import org.apache.maven.model.version.ModelVersionParser;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    /**
     * A wrapper class around a resolver version that works as model version parser as well.
     */
    @Named
    @Singleton
    public class DefaultVersionParser implements VersionParser {
        private final ModelVersionParser modelVersionParser;
    
        @Inject
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Dec 20 13:03:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionParser.java

    import org.apache.maven.api.services.model.ModelVersionParser;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    /**
     * A wrapper class around a resolver version that works as model version parser as well.
     */
    @Named
    @Singleton
    public class DefaultVersionParser implements VersionParser {
        private final ModelVersionParser modelVersionParser;
    
        @Inject
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        // for each exception
        // - knowing what artifacts are missing
        // - project building exception
        // - invalid project model exception: list of markers
        // - xmlpull parser exception
        List<Throwable> getExceptions();
    
        MavenExecutionResult addException(Throwable e);
    
        boolean hasExceptions();
    
        /**
         * Gets the build summary for the specified project.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

        -->
        <prop1><!-- X -->That's<!-- X --> <!-- X -->a<!-- X --> <!-- X -->test!<!-- X --></prop1>
    
        <!--
        This checks the coalescing of CHARACTERS events which would otherwise be reported in chunks of the internal parser
        buffer size (usually 4 or 8 KB). The text block is designed such that its length is exactly 32 KB after leading
        and trailing whitespace has been removed and all line terminators have been removed.
        -->
        <prop2>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 34.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

    /**
     * Service interface to parse {@link Version} and {@link VersionRange}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionParser extends Service {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top