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
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
I am trying to build a Spring Boot project using this Maven plugin and buildMaven. No matter what I do, I never get all the dependencies into the maven repository and the offline build fails.
$ nix-shell
[nix-shell]$ $buildPhase
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for de.pg626:webshop:0.0.1-SNAPSHOT: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE has not been downloaded from it before. and 'parent.relativePath' points at no local POM @ line 5, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project de.pg626:webshop:0.0.1-SNAPSHOT (/home/jonas/tu/PG/gc/backend/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for de.pg626:webshop:0.0.1-SNAPSHOT: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE has not been downloaded from it before. and 'parent.relativePath' points at no local POM @ line 5, column 13 -> [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
It seems to me that the cause of the problem is the <parent> definition, I tried removing it but configuring all that Spring stuff by oneself is very complicated, I didn't figure out yet how to do that. And I'm not sure if I really want to do that :/ Any pointers or tips on how to debug this better are appreciated :)
The text was updated successfully, but these errors were encountered:
I am trying to build a Spring Boot project using this Maven plugin and
buildMaven
. No matter what I do, I never get all the dependencies into the maven repository and the offline build fails.Here is the
pom.xml
:I generate the
project-info.json
with the following command:My
default.nix
:It seems to me that the cause of the problem is the
<parent>
definition, I tried removing it but configuring all that Spring stuff by oneself is very complicated, I didn't figure out yet how to do that. And I'm not sure if I really want to do that :/ Any pointers or tips on how to debug this better are appreciated :)The text was updated successfully, but these errors were encountered: