Steps Build with MVN

Anything else to do with the original Master of Magic
Post Reply
Momo1979
Posts: 1
Joined: Wed Nov 22, 2017 6:56 pm

Steps Build with MVN

Post by Momo1979 »

Hi all,

I'm trying to build with Maven (via CLI) but always obtain the same error. I have read doc from MoMIMEDocuments but I can't build. The info of my maven is:

Code: Select all

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: C:\apache-maven-3.3.9\bin\..
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_121\jre
Default locale: es_ES, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
Also I did the checkout from different projects with SVN. I follow an order to make "mvn clean install". I start by NdgParent, with this there is no problem. I obtain SUCCESS in the build. The problem is when I try to build the rest of projects. For instance, with NdgRandom, after execute: "mvn clean install" obtain that:

Code: Select all

PS C:\Users\GRT\Desktop\Varios\momime-code\2_NdgRandom> mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.ndg.common:ndgrandom:0.2.2-SNAPSHOT: Failure to find com.ndg.common:parent:pom:0.2.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 12, column 10
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.ndg.common:ndgrandom:0.2.2-SNAPSHOT (C:\Users\GRT\Desktop\Varios\momime-code\2_NdgRandom\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.ndg.common:ndgrandom:0.2.2-SNAPSHOT: Failure to find com.ndg.common:parent:pom:0.2.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 12, 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
PS C:\Users\GRT\Desktop\Varios\momime-code\2_NdgRandom>
Does anybody find this error? Any idea?
Cheers.
Post Reply