Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DefaultModelVersionParser (0.41 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-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

    import org.apache.maven.internal.impl.DefaultArtifactManager;
    import org.apache.maven.internal.impl.DefaultArtifactResolver;
    import org.apache.maven.internal.impl.DefaultModelVersionParser;
    import org.apache.maven.internal.impl.DefaultRepositoryFactory;
    import org.apache.maven.internal.impl.DefaultSession;
    import org.apache.maven.internal.impl.DefaultVersionParser;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            }
    
            Versioning filteredVersions = versioning.clone();
    
            for (String version : versioning.getVersions()) {
                if (!remoteRepository
                        .getPolicy(DefaultModelVersionParser.checkSnapshot(version))
                        .isEnabled()) {
                    filteredVersions.removeVersion(version);
                }
            }
    
            return filteredVersions;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.ModelBuilder;
    import org.apache.maven.internal.impl.DefaultModelUrlNormalizer;
    import org.apache.maven.internal.impl.DefaultModelVersionParser;
    import org.apache.maven.internal.impl.DefaultModelXmlFactory;
    import org.apache.maven.internal.impl.DefaultPluginConfigurationExpander;
    import org.apache.maven.internal.impl.DefaultSuperPomProvider;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

    import static org.junit.jupiter.api.Assertions.fail;
    
    /**
     */
    public class VersionTest extends AbstractVersionTest {
        private final ModelVersionParser modelVersionParser = new DefaultModelVersionParser(new GenericVersionScheme());
    
        protected Version newVersion(String version) {
            return modelVersionParser.parseVersion(version);
        }
    
        @Test
        void testEmptyVersion() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.ModelBuilder;
    import org.apache.maven.internal.impl.DefaultModelUrlNormalizer;
    import org.apache.maven.internal.impl.DefaultModelVersionParser;
    import org.apache.maven.internal.impl.DefaultModelXmlFactory;
    import org.apache.maven.internal.impl.DefaultPluginConfigurationExpander;
    import org.apache.maven.internal.impl.DefaultSuperPomProvider;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top