Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for parser (1.14 sec)

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/local-repo/marker.txt

    this is just a marker file....
    Plain Text
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 27 bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        List<Version> resolveVersionRange(@Nonnull ArtifactCoordinate artifact);
    
        /**
         * Parses the specified version string, for example "1.0".
         * <p>
         * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}.
         *
         * @param version the version string to parse
         * @return the version parsed from the given string
         * @throws org.apache.maven.api.services.VersionParserException if the parsing failed
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 30 20:57:07 GMT 2014
    - 1.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write model", e);
            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                throw new XmlWriterException("Unable to write model: " + getMessage(e), getLocation(e), e);
            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
         */
        Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                try {
                    this.delegate = versionScheme.parseVersion(delegateValue);
                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                    } catch (XmlPullParserException e) {
                        throw new ExpressionDocumentationException(
                                "Failed to parse documentation for expression root: " + root, e);
                    }
                }
            }
    
            return expressionDocumentation;
        }
    
        /**
         * <expressions>
         * <expression>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                            }
                            return new Relocation(global, s, t);
                        })
                        .collect(Collectors.toList());
                LOGGER.info("Parsed {} user relocations", relocationList.size());
                return new Relocations(relocationList);
            }
        }
    
        private static Artifact parseArtifact(String coord) {
            Artifact s;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top