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


i have cloned the repository github , issues mvn clean install -u reason getting:

[info] scanning projects... [error] [error] problems encountered while processing poms: [fatal] non-resolvable parent pom com.github.gwtmaterialdesign:gwt-material-addins:[unknown-version]: not find artifact com.github.gwtmaterialdesign:gwt-material-parent:pom:1.5.0-snapshot , 'parent.relativepath' points @ wrong local pom @ line 3, column 13  @  [error] build not read 1 project -> [help 1] [error]    [error]   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 com.github.gwtmaterialdesign:gwt-material-addins:[unknown-version]: not find artifact com.github.gwtmaterialdesign:gwt-material-parent:pom:1.5.0-snapshot , 'parent.relativepath' points @ wrong local pom @ line 3, column 13 -> [help 2] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read 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 solve error? want update local repository since there update depend on. can't remember how installed dependency in first place didn't error. error on side?

not great design there. getting error because gwt-material-addins depends on snapshot version of gwt-material-parent artifact not deployed in repository (in snapshot version).

as such, need clone , install gwt-material first. install gwt-material-parent in correct snapshot version , then, able 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.

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -