Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency error running project #1

Open
vcupelloni opened this issue Aug 14, 2018 · 1 comment
Open

Dependency error running project #1

vcupelloni opened this issue Aug 14, 2018 · 1 comment

Comments

@vcupelloni
Copy link

Hi,
I'm trying to execute the three steps as described in README but when I execute

mvn spring-boot:run -DCLOUDKARAFKA_USERNAME=........

the result is an error for unresolved dependencies.

Console

[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-samples/$%7Brevision%7D/spring-boot-samples-$%7Brevision%7D.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.springframework.boot:spring-boot-sample-kafka:[unknown-version]: Could not find artifact org.springframework.boot:spring-boot-samples:pom:${revision} in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.springframework.boot:spring-boot-sample-kafka:[unknown-version] (/home/vcupelloni/Lavoro/creactive/springboot-kafka-example/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springframework.boot:spring-boot-sample-kafka:[unknown-version]: Could not find artifact org.springframework.boot:spring-boot-samples:pom:${revision} in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
[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

@DariusX
Copy link

DariusX commented Aug 5, 2019

Shoudn't the parent be:

    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.6.RELEASE</version>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants