Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for parsers (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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-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)
  7. 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)
  8. 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)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    filterSpecs; private final java.util.List classes; private final java.util.List parserErrors; void JUnitCommandLinePars(); public java.util.List getFilterSpecs(); public java.util.List getClasses(); public static JUnitCommandLinePars parse(String[]); private void parseArgs(String[]); transient String[] parseOptions(String[]); private String[] copyArray(String[], int, int); void parseParameters(String[]); private Request errorReport(Throwable); public Request createRequest(Computer); private Request ...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  10. maven-artifact/src/site/apt/index.apt

     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
       3.2.4-alpha-1 < 3.2.4-SNAPSHOT
    2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Nov 30 20:57:07 GMT 2014
    - 1.7K bytes
    - Viewed (0)
Back to top