You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using the task in my pipeline but im unable to download artifacts because it wont use the proxy i have defined in my settings.xml. Ive also tried to set the proxy via an option but that does not work neither.
Hostname DNS resolution happens in my proxy but since its not using my proxy, it fails with unknown host exception
Downloading from artifactory-release: https://myartifactory.com/artifactory/myrepo/org/mule/runtime/plugins/mule-extensions-maven-plugin/1.3.0/mule-extensions-maven-plugin-1.3.0.pom
[main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 1 of 50; total allocated: 1 of 100]
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://myartifactory.com:443
[main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Shutdown connection
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.eclipse.aether.internal.impl.DefaultTrackingFileManager - Writing tracking file '/home/AzDevOps/.m2/repository/org/mule/runtime/plugins/mule-extensions-maven-plugin/1.3.0/mule-extensions-maven-plugin-1.3.0.pom.lastUpdated'
[main] DEBUG org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener - [buildinfo] Could not resolve artifact: org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0:build
[main] DEBUG org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer - Looking up lifecycle mappings for packaging mule-extension from ClassRealm[plexus.core, parent: null]
[main] ERROR org.apache.maven.DefaultMaven - [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0 @
[ERROR] Unknown packaging: mule-extension @ line 8, column 16
@
[main] ERROR org.apache.maven.cli.MavenCli - The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0 @
[ERROR] Unknown packaging: mule-extension @ line 8, column 16
at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:389)
at org.jfrog.build.extractor.maven.ArtifactoryProjectBuilder.build (ArtifactoryProjectBuilder.java:47)
at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:349)
at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:340)
at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:76)
at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:448)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:197)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[main] ERROR org.apache.maven.cli.MavenCli -
[main] ERROR org.apache.maven.cli.MavenCli - The project com.avioconsulting:mule-opentelemetry-module:0.0.11-SNAPSHOT (/agent/_work/5/s/pom.xml) has 2 errors
[main] ERROR org.apache.maven.cli.MavenCli - Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0: The following artifacts could not be resolved: org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0 (absent): Could not transfer artifact org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0 from/to artifactory-release (https://myartifactory.com/artifactory/my-repo): myartifactory.com: No address associated with hostname -> [Help 2]
org.apache.maven.plugin.PluginManagerException: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm (DefaultMavenPluginManager.java:780)
at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipsePluginManager.setupExtensionsRealm (ArtifactoryEclipsePluginManager.java:29)
at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm (DefaultProjectBuildingHelper.java:177)
at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled (DefaultModelBuildingListener.java:92)
at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire (ModelBuildingEventCatapult.java:40)
at org.apache.maven.model.building.DefaultModelBuilder.fireEvent (DefaultModelBuilder.java:1269)
at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:474)
at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:455)
at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:612)
Reproduction steps
use the jfrogmaven task with a proxy
Expected behavior
that the task uses a proxy
Azure DevOps extension name and version
jfrog maven 1.9.2
JFrog CLI version
2.52.9
Operating system type and version
azure devops pipeline agent linux
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
JFrog Distribution version (if relevant)
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Im using the task in my pipeline but im unable to download artifacts because it wont use the proxy i have defined in my settings.xml. Ive also tried to set the proxy via an option but that does not work neither.
displayName: Package maven artifact
inputs:
mavenPomFile: 'pom.xml'
goals: 'package'
options: '-s $(MAVEN_SETTINGS) -U -X -Dartifactory.proxy.host=myproxy -Dartifactory.proxy.port=8080
artifactoryResolverService: ''
targetResolveReleaseRepo: ''
targetResolveSnapshotRepo: ''
artifactoryDeployService: ''
targetDeployReleaseRepo: 'mvn-releases'
targetDeploySnapshotRepo: 'mvn-snapshots'
filterDeployedArtifacts: false
collectBuildInfo: true
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
includeEnvVars: true
Current behavior
Hostname DNS resolution happens in my proxy but since its not using my proxy, it fails with unknown host exception
Downloading from artifactory-release: https://myartifactory.com/artifactory/myrepo/org/mule/runtime/plugins/mule-extensions-maven-plugin/1.3.0/mule-extensions-maven-plugin-1.3.0.pom
[main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 1 of 50; total allocated: 1 of 100]
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Opening connection {s}->https://myartifactory.com:443
[main] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Shutdown connection
[main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded
[main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://myartifactory.com:443][total available: 0; route allocated: 0 of 50; total allocated: 0 of 100]
[main] DEBUG org.eclipse.aether.internal.impl.DefaultTrackingFileManager - Writing tracking file '/home/AzDevOps/.m2/repository/org/mule/runtime/plugins/mule-extensions-maven-plugin/1.3.0/mule-extensions-maven-plugin-1.3.0.pom.lastUpdated'
[main] DEBUG org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipseRepositoryListener - [buildinfo] Could not resolve artifact: org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0:build
[main] DEBUG org.apache.maven.lifecycle.internal.DefaultLifecyclePluginAnalyzer - Looking up lifecycle mappings for packaging mule-extension from ClassRealm[plexus.core, parent: null]
[main] ERROR org.apache.maven.DefaultMaven - [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0 @
[ERROR] Unknown packaging: mule-extension @ line 8, column 16
@
[main] ERROR org.apache.maven.cli.MavenCli - The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0 @
[ERROR] Unknown packaging: mule-extension @ line 8, column 16
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[main] ERROR org.apache.maven.cli.MavenCli -
[main] ERROR org.apache.maven.cli.MavenCli - The project com.avioconsulting:mule-opentelemetry-module:0.0.11-SNAPSHOT (/agent/_work/5/s/pom.xml) has 2 errors
[main] ERROR org.apache.maven.cli.MavenCli - Unresolveable build extension: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0: The following artifacts could not be resolved: org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0 (absent): Could not transfer artifact org.mule.runtime.plugins:mule-extensions-maven-plugin:pom:1.3.0 from/to artifactory-release (https://myartifactory.com/artifactory/my-repo): myartifactory.com: No address associated with hostname -> [Help 2]
org.apache.maven.plugin.PluginManagerException: Plugin org.mule.runtime.plugins:mule-extensions-maven-plugin:1.3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.runtime.plugins:mule-extensions-maven-plugin:jar:1.3.0
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm (DefaultMavenPluginManager.java:780)
at org.jfrog.build.extractor.maven.resolver.ArtifactoryEclipsePluginManager.setupExtensionsRealm (ArtifactoryEclipsePluginManager.java:29)
at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm (DefaultProjectBuildingHelper.java:177)
at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled (DefaultModelBuildingListener.java:92)
at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire (ModelBuildingEventCatapult.java:40)
at org.apache.maven.model.building.DefaultModelBuilder.fireEvent (DefaultModelBuilder.java:1269)
at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:474)
at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:455)
at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:612)
Reproduction steps
use the jfrogmaven task with a proxy
Expected behavior
that the task uses a proxy
Azure DevOps extension name and version
jfrog maven 1.9.2
JFrog CLI version
2.52.9
Operating system type and version
azure devops pipeline agent linux
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
JFrog Distribution version (if relevant)
No response
The text was updated successfully, but these errors were encountered: