- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for setHost (0.17 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
/** * Return proxy server host name. * * @return proxy server host name */ public String getHost() { return host; } /** * Set proxy host name. * * @param host proxy server host name */ public void setHost(String host) { this.host = host; } /** * Get user's password used to log in to proxy server. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} } Proxy p = new Proxy(); p.setHost(proxy.getHost()); p.setProtocol(proxy.getProtocol()); p.setPort(proxy.getPort()); p.setNonProxyHosts(proxy.getNonProxyHosts()); p.setUserName(proxy.getUsername());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
ProxyInfo proxyInfo = new ProxyInfo(); proxyInfo.setHost(proxy.getHost()); proxyInfo.setType(proxy.getProtocol()); proxyInfo.setPort(proxy.getPort()); proxyInfo.setNonProxyHosts(proxy.getNonProxyHosts());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
if (proxy != null) { org.apache.maven.repository.Proxy p = new org.apache.maven.repository.Proxy(); p.setHost(proxy.getHost()); p.setProtocol(proxy.getType()); p.setPort(proxy.getPort()); if (proxy.getAuthentication() != null) { repo = new RemoteRepository.Builder(repo).setProxy(proxy).build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
@Test void testValidateUniqueProxyId() throws Exception { Settings settings = new Settings(); Proxy proxy = new Proxy(); String id = "foo"; proxy.setId(id); proxy.setHost("www.example.com"); settings.addProxy(proxy); settings.addProxy(proxy); SimpleProblemCollector problems = new SimpleProblemCollector(); validator.validate(settings, problems);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
if (proxy != null) { Proxy p = new Proxy(); p.setHost(proxy.getHost()); p.setProtocol(proxy.getType()); p.setPort(proxy.getPort()); if (proxy.getAuthentication() != null) { repo = new RemoteRepository.Builder(repo)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} private ProxyInfo proxyInfo(ArtifactRepository repository) { ProxyInfo proxyInfo = new ProxyInfo(); proxyInfo.setHost(repository.getProxy().getHost()); proxyInfo.setType(repository.getProxy().getProtocol()); proxyInfo.setPort(repository.getProxy().getPort()); proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
*/ static boolean isExternalRepo(ArtifactRepository originalRepository) { try { URL url = new URL(originalRepository.getUrl()); return !(isLocal(url.getHost()) || url.getProtocol().equals("file")); } catch (MalformedURLException e) { // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it return false;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
// notice: extension and classifier not really used in this test... CollectRequest collectRequest = new CollectRequest(); collectRequest.setRoot(new Dependency(artifact, null)); collectRequest.addRepository(newTestRepository()); CollectResult collectResult = system.collectDependencies(session, collectRequest);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
PrintStream oldOut = System.out; System.setOut(new PrintStream(systemOut)); // when try { cli.cli(cliRequest); } catch (MavenCli.ExitException exitException) { // expected } finally { // restore sysout System.setOut(oldOut); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)