Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DefaultModelVersionParser (0.16 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelVersionParser implements ModelVersionParser {
        private static final String SNAPSHOT = "SNAPSHOT";
        private static final Pattern SNAPSHOT_TIMESTAMP = Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
        private final VersionScheme versionScheme;
    
        @Inject
        public DefaultModelVersionParser(VersionScheme 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)
  2. compat/maven-resolver-provider/src/test/resources/META-INF/sisu/javax.inject.Named

    org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
    org.apache.maven.repository.internal.DefaultModelCacheFactory
    org.apache.maven.repository.internal.DefaultModelVersionParser
    org.apache.maven.repository.internal.DefaultVersionRangeResolver
    org.apache.maven.repository.internal.DefaultVersionResolver
    org.apache.maven.repository.internal.DefaultVersionSchemeProvider
    org.apache.maven.repository.internal.PluginsMetadataGeneratorFactory
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 838 bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

    import static org.junit.jupiter.api.Assertions.fail;
    
    /**
     */
    public class ModelVersionParserTest {
    
        private final ModelVersionParser versionParser = new DefaultModelVersionParser(new GenericVersionScheme());
    
        private VersionParserException parseInvalid(String constraint) {
            try {
                versionParser.parseVersionConstraint(constraint);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    public class VersionRangeTest {
    
        private ModelVersionParser versionParser = new DefaultModelVersionParser(new GenericVersionScheme());
    
        private Version newVersion(String version) {
            return versionParser.parseVersion(version);
        }
    
        private VersionRange parseValid(String range) {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top