- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setRepositorySession (0.1 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession(); session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); request.setRepositorySession(session); DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest(); MavenSession msession =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories()); ProjectBuildingRequest req = new DefaultProjectBuildingRequest() .setRepositorySession(session.getSession()) .setRemoteRepositories(repositories) .setPluginArtifactRepositories(repositories) .setProcessPlugins(request.isProcessPlugins());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
private List<MavenProject> getProjectsForMavenReactor(MavenSession session) throws ProjectBuildingException { MavenExecutionRequest request = session.getRequest(); request.getProjectBuildingRequest().setRepositorySession(session.getRepositorySession()); // 1. Collect project for invocation without a POM. if (request.getPom() == null) { return pomlessCollectionStrategy.collectProjects(request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
.get() .withLocalRepositories(localRepo) .build(); projectBuildingRequest.setRepositorySession(session); DefaultSessionFactory defaultSessionFactory = new DefaultSessionFactory(repositorySystem, null, new DefaultLookup(container), null);
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-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
} private ProjectBuildingRequest injectSession(ProjectBuildingRequest request) { MavenSession session = legacySupport.getSession(); if (session != null) { request.setRepositorySession(session.getRepositorySession()); request.setSystemProperties(session.getSystemProperties()); if (request.getUserProperties().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
public MavenProject getCurrentProject() { return currentProject.get(); } public ProjectBuildingRequest getProjectBuildingRequest() { return request.getProjectBuildingRequest().setRepositorySession(getRepositorySession()); } public List<String> getPluginGroups() { return request.getPluginGroups(); } public boolean isOffline() { return request.isOffline();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
configuration.setSystemProperties(getSystemProperties()); configuration.setUserProperties(new Properties()); } configuration.setRepositorySession(legacySupport.getRepositorySession()); project = projectBuilder.build(pomArtifact, configuration).getProject(); } catch (ProjectBuildingException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)