Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setRepositorySession (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top