Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for VersionParserException (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParserException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class VersionParserException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = 1504740189114877333L;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public VersionParserException(String message, Exception e) {
            super(message, e);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

        private VersionParserException parseInvalid(String constraint) {
            try {
                versionParser.parseVersionConstraint(constraint);
                fail("expected exception for constraint " + constraint);
                return null;
            } catch (VersionParserException e) {
                return e;
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

    import java.util.regex.Pattern;
    
    import org.apache.maven.api.Version;
    import org.apache.maven.api.VersionConstraint;
    import org.apache.maven.api.VersionRange;
    import org.apache.maven.api.services.VersionParserException;
    import org.apache.maven.api.services.model.ModelVersionParser;
    import org.eclipse.aether.version.InvalidVersionSpecificationException;
    import org.eclipse.aether.version.VersionScheme;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

         * 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}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         * @see org.apache.maven.api.Session#parseVersion(String)
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

            } catch (VersionParserException e) {
                throw new AssertionError(range + " should be valid but failed to parse due to: " + e.getMessage(), e);
            }
        }
    
        private void parseInvalid(String range) {
            try {
                versionParser.parseVersionRange(range);
                fail(range + " should be invalid");
            } catch (VersionParserException e) {
                assertTrue(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @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
         * @see org.apache.maven.api.services.VersionParser#parseVersion(String)
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.api.VersionRange;
    import org.apache.maven.api.model.ActivationFile;
    import org.apache.maven.api.model.Exclusion;
    import org.apache.maven.api.model.InputSource;
    import org.apache.maven.api.services.VersionParserException;
    import org.apache.maven.api.services.model.ModelVersionParser;
    import org.apache.maven.building.Source;
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.Build;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top