- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getRepositorySession (0.2 sec)
-
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Nonnull MavenRepositorySystem mavenRepositorySystem, @Nonnull Lookup lookup, @Nonnull RuntimeInformation runtimeInformation) { super( nonNull(session).getRepositorySession(), repositorySystem, remoteRepositories, remoteRepositories == null ? map(session.getRequest().getRemoteRepositories(), RepositoryUtils::toRepo)
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-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
} } private static RepositorySystemSession rss(PlexusContainer c) { try { LegacySupport legacySupport = c.lookup(LegacySupport.class); return legacySupport.getRepositorySession(); } catch (ComponentLookupException e) { throw new IllegalStateException(e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java
InternalSession session = new DefaultSession( mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation); InternalSession.associate(mavenSession.getRepositorySession(), session); return session; }
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/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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
throws ArtifactDeploymentException { RepositorySystemSession session = LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), repoSystem); DeployRequest request = new DeployRequest(); request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
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)