-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 1.625.1
maven 3.3.3
maven-plugin 2.12.1
java 8
Ubuntu 14.04
Using a property in the repository or pluginRepository, causes an error parsing pom.
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: /home/jenkins/workspace/Feature-diff-repo-Distribution at hudson.remoting.Channel@2bc7e227:build-node-03: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact com.example:com.example.server.parent:pom:5463.5463.5463-SNAPSHOT from/to snapshots (${nexus.url}/content/repositories/snapshots): Cannot access ${nexus.url}/content/repositories/snapshots with type default using the available connector factories: WagonRepositoryConnectorFactory @ line 31, column 16
<properties> <nexus.url>http://192.168.44.10:8082/nexus</nexus.url> </properties> <repositories> <repository> <id>nexus</id> <layout>default</layout> <url>${nexus.url}/content/repositories/public</url> </repository> </repositories>
If this is run as a FreeStyle build or run locally it completes correctly using maven 3.3.3
With maven 3.2.5 this fails in a similar way:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.springframework:spring-framework-bom:pom:4.1.6.RELEASE from/to snapshots (${nexus.url}/content/repositories/snapshots): No connector available to access repository snapshots (${nexus.url}/content/repositories/snapshots) of type default using the available factories WagonRepositoryConnectorFactory @ line 234, column 16 -> [Help 2]