[
https://issues.apache.org/jira/browse/CAMEL-12508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473516#comment-16473516
]
Zoran Regvart commented on CAMEL-12508:
---------------------------------------
[~magick2] seems to me like this is an issue that you have locally. We're
depending on a milestone build of [Spring Cloud
Consul|https://cloud.spring.io/spring-cloud-consul/] and that artifact is not
available on Maven Central. From the error it seems that your machine cannot
resolve repo.spring.io. We have a [CI
build|https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/]
running without issues and that helps us verify that independently of local
configuration. You might try to double check your network settings like DNS,
proxy or firewall. The full URL that you can test with to make sure that this
issue is resolved is:
https://repo.spring.io/libs-milestone/org/springframework/cloud/spring-cloud-consul-dependencies/2.0.0.M7/spring-cloud-consul-dependencies-2.0.0.M7.pom
> master branch doesnt build
> --------------------------
>
> Key: CAMEL-12508
> URL: https://issues.apache.org/jira/browse/CAMEL-12508
> Project: Camel
> Issue Type: Bug
> Reporter: Anton Hughes
> Assignee: Zoran Regvart
> Priority: Major
>
> Clone from github
> Run `mvn clean install`
>
> Results in
>
> ```
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Non-resolvable import POM: Could not transfer artifact
> org.springframework.cloud:spring-cloud-consul-dependencies:pom:2.0.0.M7
> from/to spring-milestones (https://repo.spring.io/libs-milestone):
> repo.spring.io: Name or service not known @
> org.apache.camel.example:camel-example-spring-cloud-servicecall-consumer:[unknown-version],
>
> /home/anton/eclipse-workspaces/section6/camel/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml,
> line 55, column 19
> [ERROR] 'dependencies.dependency.version' for
> org.springframework.cloud:spring-cloud-starter-consul-discovery:jar is
> missing. @
> org.apache.camel.example:camel-example-spring-cloud-servicecall-consumer:[unknown-version],
>
> /home/anton/eclipse-workspaces/section6/camel/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml,
> line 90, column 17
> @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project
> org.apache.camel.example:camel-example-spring-cloud-servicecall-consumer:2.22.0-SNAPSHOT
>
> (/home/anton/eclipse-workspaces/section6/camel/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml)
> has 2 errors
> [ERROR] Non-resolvable import POM: Could not transfer artifact
> org.springframework.cloud:spring-cloud-consul-dependencies:pom:2.0.0.M7
> from/to spring-milestones (https://repo.spring.io/libs-milestone):
> repo.spring.io: Name or service not known @
> org.apache.camel.example:camel-example-spring-cloud-servicecall-consumer:[unknown-version],
>
> /home/anton/eclipse-workspaces/section6/camel/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml,
> line 55, column 19: Unknown host repo.spring.io: Name or service not known
> -> [Help 2]
> [ERROR] 'dependencies.dependency.version' for
> org.springframework.cloud:spring-cloud-starter-consul-discovery:jar is
> missing. @
> org.apache.camel.example:camel-example-spring-cloud-servicecall-consumer:[unknown-version],
>
> /home/anton/eclipse-workspaces/section6/camel/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml,
> line 90, column 17
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> [http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException]
> ```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)