- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NewSession (0.08 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
mss = new MavenSession(repoSession, ms.getRequest(), ms.getResult()); } else { mss = ms; } return newSession(mss, repositories); } protected Session newSession(MavenSession mavenSession, List<RemoteRepository> repositories) { return new DefaultSession( nonNull(mavenSession), getRepositorySystem(), repositories,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
* * @deprecated This method is here only for legacy uses (like UTs), nothing else should use it. */ @Deprecated public static DefaultRepositorySystemSession newSession() { DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java
String MODEL_VERSION_4_0_0 = "4.0.0"; String MODEL_VERSION_4_1_0 = "4.1.0"; List<String> VALID_MODEL_VERSIONS = List.of(MODEL_VERSION_4_0_0, MODEL_VERSION_4_1_0); ModelBuilderSession newSession(); interface ModelBuilderSession { ModelBuilderResult build(ModelBuilderRequest request) throws ModelBuilderException; } Model buildRawModel(ModelBuilderRequest request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 1.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java
this.mavenRepositorySystem = mavenRepositorySystem; this.lookup = lookup; this.runtimeInformation = runtimeInformation; } public InternalSession newSession(MavenSession mavenSession) { InternalSession session = new DefaultSession( mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
File localRepo = new File(request.getLocalRepository().getBasedir()); DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession(); session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); request.setRepositorySession(session);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0)