Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getRepositorySession (0.13 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                        plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
                plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion());
            }
    
            try {
                return pluginManager.getPluginDescriptor(
                        plugin, project.getRemotePluginRepositories(), session.getRepositorySession());
            } catch (PluginResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectProxy(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
                            repos.add(repo);
    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/artifact/MavenMetadataSource.java

            this.mavenRepositorySystem = mavenRepositorySystem;
        }
    
        private void injectSession(MetadataResolutionRequest request) {
            RepositorySystemSession session = legacySupport.getRepositorySession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(RepositoryPolicy.UPDATE_POLICY_ALWAYS.equals(session.getUpdatePolicy()));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                project.setPluginArtifactRepositories(request.getPluginArtifactRepositories());
                projects.add(project);
            }
    
            InternalSession iSession = InternalSession.from(configuration.getRepositorySession());
            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            // MNG-5509
            // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon)
            if (legacySupport.getRepositorySession() != null) {
                String userAgent = ConfigUtils.getString(
                        legacySupport.getRepositorySession(), null, ConfigurationProperties.USER_AGENT);
    
                if (userAgent == null) {
                    Properties headers = new Properties();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            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)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            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)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            }
        }
    
        private RepositorySystemSession getSession(ArtifactRepository localRepository) {
            return LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), null);
        }
    
        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
                request.setOffline(session.isOffline());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top