OpenHFT/Chronicle-Engine

unable to build from maven

Closed this issue · 2 comments

I am trying to run Chronicle demo by following instructions here https://github.com/OpenHFT/Chronicle-Engine/tree/master/demo. I got an error in mvn install step

# clone the repository
$ git clone https://github.com/OpenHFT/Chronicle-Engine.git
$ cd Chronicle-Engine

# install into local maven repository
$ mvn install
$ mvn install
[INFO] Scanning for projects...
Downloading: http://nexus.chronicle.software/content/repositories/snapshots/software/chronicle/chronicle-enterprise-root-pom/1.0.6/chronicle-enterprise-root-pom-1.0.6.pom
Downloading: http://nexus.chronicle.software/content/repositories/releases/software/chronicle/chronicle-enterprise-root-pom/1.0.6/chronicle-enterprise-root-pom-1.0.6.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for net.openhft:chronicle-engine:1.14.23-SNAPSHOT: Could not transfer artifact software.chronicle:chronicle-enterprise-root-pom:pom:1.0.6 from/to chronicle-enterprise-snapshots (http://nexus.chronicle.software/content/repositories/snapshots): Not authorized , ReasonPhrase:Unauthorized. and 'parent.relativePath' points at no local POM @ line 22, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project net.openhft:chronicle-engine:1.14.23-SNAPSHOT (C:\Users\pkomsit.FOLIO-SEC\dev\java\OpenHFT\Chronicle-Engine\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for net.openhft:chronicle-engine:1.14.23-SNAPSHOT: Could not transfer artifact software.chronicle:chronicle-enterprise-root-pom:pom:1.0.6 from/to chronicle-enterprise-snapshots (http://nexus.chronicle.software/content/repositories/snapshots): Not authorized , ReasonPhrase:Unauthorized. and 'parent.relativePath' points at no local POM @ line 22, 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

my maven version

$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00)
Maven home: C:\Users\pkomsit.FOLIO-SEC\app\maven
Java version: 1.8.0_152, vendor: Oracle Corporation
Java home: C:\Users\pkomsit.FOLIO-SEC\app\java\jdk1.8.0_152\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

@komsit37 it should not work with the latest version.

I have got the same error message. May I know any way to fix it?

my maven version

Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T02:41:4
7+08:00)
Maven home: C:\Program Files\apache-maven-3.6.0-bin\apache-maven-3.6.0\bin..
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\J
ava\jre1.8.0_181
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"