Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ModelVersionParser (0.07 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

    import org.apache.maven.api.services.model.ModelVersionParser;
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.junit.jupiter.api.Test;
    
    import static java.util.stream.Collectors.toList;
    import static org.junit.jupiter.api.Assertions.fail;
    
    /**
     */
    public class VersionTest extends AbstractVersionTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

            return new BuildModelSourceTransformer();
        }
    
        private ModelVersionParser newModelVersionParser() {
            // This is a limited parser that does not support ranges and compares versions as strings
            // in real-life this parser should not be used, but replaced with a proper one
            return new ModelVersionParser() {
                @Override
                public Version parseVersion(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top