Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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