- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for NewSession (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
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)