Skip to content

Commit

Permalink
Support building quarkus 3.2.x applications (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Nov 22, 2023
1 parent b2b0f84 commit dc03705
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 740 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ public void setDependencyParentsMaps(Map<String, String[][]> dependencyParentsMa
}

/**
* The repository listeners (either ArtifactoryEclipseRepositoryListener or
* ArtifactorySonatypeRepositoryListener) invoke this method with each
* artifact being resolved by Maven.
* The repository listener invokes this method with each artifact being resolved by Maven.
*
* @param artifact The artifact being resolved by Maven.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import org.jfrog.build.extractor.Proxy;
import org.jfrog.build.extractor.ProxySelector;

import static org.sonatype.aether.repository.Proxy.TYPE_HTTP;
import static org.sonatype.aether.repository.Proxy.TYPE_HTTPS;
import static org.eclipse.aether.repository.Proxy.TYPE_HTTP;
import static org.eclipse.aether.repository.Proxy.TYPE_HTTPS;

public abstract class ArtifactoryResolutionRepositoryBase {
protected final String releaseRepoUrl;
Expand Down Expand Up @@ -65,18 +65,6 @@ public org.apache.maven.repository.Proxy createMavenProxy(String repoUrl) {
return proxy;
}

public org.sonatype.aether.repository.Proxy createSonatypeProxy(String repoUrl) {
Proxy proxyConfig = proxySelector.getProxy(repoUrl);
if (proxyConfig == null) {
return null;
}
return new org.sonatype.aether.repository.Proxy(
proxyConfig.isHttps() ? TYPE_HTTPS : TYPE_HTTP,
proxyConfig.getHost(),
proxyConfig.getPort(),
StringUtils.isNotBlank(proxyConfig.getUsername()) ? new org.sonatype.aether.repository.Authentication(proxyConfig.getUsername(), proxyConfig.getPassword()) : null);
}

public org.eclipse.aether.repository.Proxy createEclipseProxy(String repoUrl) {
Proxy proxyConfig = proxySelector.getProxy(repoUrl);
if (proxyConfig == null) {
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit dc03705

Please sign in to comment.