Why is mvn clean install -U not working: Non-resolvable parent POM

Stefan Falk

I have cloned the repository from github and issues mvn clean install -U but for some reason I am getting:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.github.gwtmaterialdesign:gwt-material-addins:[unknown-version]: Could not find artifact com.github.gwtmaterialdesign:gwt-material-parent:pom:1.5.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.github.gwtmaterialdesign:gwt-material-addins:[unknown-version] (E:\java\gwt-material\gwt-material-addins\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.github.gwtmaterialdesign:gwt-material-addins:[unknown-version]: Could not find artifact com.github.gwtmaterialdesign:gwt-material-parent:pom:1.5.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, 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

How can I solve this error? I actually want to update my local repository since there was an update that I depend on. I can't remember how I installed the dependency in the first place but back then I didn't get this error. Is the error even on my side?

Tunaki

Not a great design there. You are getting this error because gwt-material-addins depends on a SNAPSHOT version of gwt-material-parent but that artifact is not deployed in any repository (in SNAPSHOT version).

As such, you need to clone and install gwt-material first. This will install gwt-material-parent in the correct SNAPSHOT version and then, you will be able to build gwt-material-addins.

To recap:

  • Clone https://github.com/GwtMaterialDesign/gwt-material
  • Run mvn clean install on gwt-material
  • Then run mvn clean install on gwt-material-addins.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

non resolvable parent POM issue

From Dev

Non-resolvable parent POM in SpringBoot

From Dev

Non-resolvable parent POM for Maven (Spring Starter Project)

From Dev

maven -P option not working with mvn clean install

From Dev

'mvn clean install': why does 'clean' run after 'install'?

From Dev

Non-resolvable parent POM: Could not find artifact org.sakaiproject:master:pom:10-SNAPSHOT and 'parent.relativePath'

From Dev

Maven and Spring Boot - non resolvable parent pom - repo.spring.io (Unknown host)

From Dev

Non-resolvable import POM Failure to find

From Dev

Mvn clean install error

From Dev

Parent pom not resolvable unless I add repo to child pom - conundrum

From Dev

Why would mvn clean install and eclipse differ in junit tests they run?

From Dev

Difference between mvn -U clean compile and mvn clean compile

From Dev

Run "mvn clean install" in Eclipse

From Dev

Use of mvn clean -e install

From Dev

What is the difference between mvn install -U and mvn install?

From Dev

What is the difference between mvn install -U and mvn install?

From Dev

mvn clean install not able to resolve class

From Dev

mvn clean install doens't find package

From Dev

mvn clean install Could not find artifact

From Dev

some problems were encountered while processing the POMs: [error] non resolvable import POM

From Dev

Why 'mvn install' war projects?

From Dev

What is the difference between "mvn clean install" & "mvn eclipse:clean eclipse:eclipse" command?

From Dev

Parent POM version possibly not being honored by mvn 3.3.3 for properties resolution

From Dev

mvn can't resolve parent pom from remote repository

From Dev

mvn clean install do not use last .class version

From Dev

java maven exec-maven-plugin not executing on mvn clean install

From Dev

Maven with Ubuntu 15.10, getting errors with: mvn clean install;

From Dev

Connection reset error - when running mvn clean install to run features

From Dev

java maven exec-maven-plugin not executing on mvn clean install

Related Related

  1. 1

    non resolvable parent POM issue

  2. 2

    Non-resolvable parent POM in SpringBoot

  3. 3

    Non-resolvable parent POM for Maven (Spring Starter Project)

  4. 4

    maven -P option not working with mvn clean install

  5. 5

    'mvn clean install': why does 'clean' run after 'install'?

  6. 6

    Non-resolvable parent POM: Could not find artifact org.sakaiproject:master:pom:10-SNAPSHOT and 'parent.relativePath'

  7. 7

    Maven and Spring Boot - non resolvable parent pom - repo.spring.io (Unknown host)

  8. 8

    Non-resolvable import POM Failure to find

  9. 9

    Mvn clean install error

  10. 10

    Parent pom not resolvable unless I add repo to child pom - conundrum

  11. 11

    Why would mvn clean install and eclipse differ in junit tests they run?

  12. 12

    Difference between mvn -U clean compile and mvn clean compile

  13. 13

    Run "mvn clean install" in Eclipse

  14. 14

    Use of mvn clean -e install

  15. 15

    What is the difference between mvn install -U and mvn install?

  16. 16

    What is the difference between mvn install -U and mvn install?

  17. 17

    mvn clean install not able to resolve class

  18. 18

    mvn clean install doens't find package

  19. 19

    mvn clean install Could not find artifact

  20. 20

    some problems were encountered while processing the POMs: [error] non resolvable import POM

  21. 21

    Why 'mvn install' war projects?

  22. 22

    What is the difference between "mvn clean install" & "mvn eclipse:clean eclipse:eclipse" command?

  23. 23

    Parent POM version possibly not being honored by mvn 3.3.3 for properties resolution

  24. 24

    mvn can't resolve parent pom from remote repository

  25. 25

    mvn clean install do not use last .class version

  26. 26

    java maven exec-maven-plugin not executing on mvn clean install

  27. 27

    Maven with Ubuntu 15.10, getting errors with: mvn clean install;

  28. 28

    Connection reset error - when running mvn clean install to run features

  29. 29

    java maven exec-maven-plugin not executing on mvn clean install

HotTag

Archive