Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ModelVersionParser (0.16 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-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

    import org.apache.maven.api.Version;
    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.util.version.GenericVersionScheme;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

     */
    package org.apache.maven.repository.internal;
    
    import org.apache.maven.api.VersionConstraint;
    import org.apache.maven.api.services.VersionParserException;
    import org.apache.maven.api.services.model.ModelVersionParser;
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    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/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

    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;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    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;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.DependencyManagement;
    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