Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newVersion (0.06 sec)

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

                }
    
                String newVersion = versionRangeResult.getHighestVersion().toString();
                if (!parent.getVersion().equals(newVersion)) {
                    modified.set(parent.withVersion(newVersion));
                }
    
                return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion);
            } catch (final VersionRangeResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

    /**
     */
    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() {
            assertOrder(X_EQ_Y, "0", "");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
    
            final LocalRepositoryManager llrm =
                    system.newLocalRepositoryManager(newSession, new LocalRepository(repository.getBasedir()));
            newSession.setLocalRepositoryManager(llrm);
            return newSession;
        }
    
        private static int repositoryHashCode(RemoteRepository repository) {
            int result = 17;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            return session;
        }
    
        record Context(Map<String, String> userProperties, Map<String, String> systemProperties) {}
    
        @Override
        protected Session newSession(RepositorySystemSession session, List<RemoteRepository> repositories) {
            return new ProtoSession(
                    session, repositorySystem, repositories, null, lookup, new Context(userProperties, systemProperties));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    projectBuildingRequest.getRepositorySession(),
                    mavenExecutionRequest,
                    new DefaultMavenExecutionResult());
    
            InternalSession iSession = defaultSessionFactory.newSession(mSession);
            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    List<org.apache.maven.api.RemoteRepository> repositories) {
                super(session, repositorySystem, repositories, null, null, null);
            }
    
            @Override
            protected Session newSession(
                    MavenSession mavenSession, List<org.apache.maven.api.RemoteRepository> repositories) {
                return new SimpleSession(mavenSession, getRepositorySystem(), repositories);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                            getContainer().lookup(MavenRepositorySystem.class),
                            new DefaultLookup(getContainer()),
                            getContainer().lookup(RuntimeInformation.class))
                    .newSession(session));
    
            legacySupport.setSession(session);
        }
    
        protected abstract String component();
    
        /**
         * Return an existing file, not a directory - causes creation to fail.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                MavenSession session = new MavenSession(closeableSession, request, result);
                session.setSession(defaultSessionFactory.newSession(session));
    
                sessionScope.seed(MavenSession.class, session);
                sessionScope.seed(Session.class, session.getSession());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top