Updated the pom file to give permission to maven#128
Updated the pom file to give permission to maven#128nandeeshsb9 wants to merge 5 commits intomainfrom
Conversation
There was a problem hiding this comment.
You need to add
<dependency>
<groupId>au.org.aodn</groupId>
<artifactId>es-indexer</artifactId>
</dependency>
to pom.xml inside server folder, without it you only specify a version of dependency without using it
I get this once the dependency added
[ERROR] Failed to execute goal on project ogcapi-java-server: Could not resolve dependencies for project au.org.aodn.ogcapi:ogcapi-java-server:jar:Fix-Maven-permission-issue-SNAPSHOT: Failed to collect dependencies at au.org.aodn:es-indexer:jar:0.0.37: Failed to read artifact descriptor for au.org.aodn:es-indexer:jar:0.0.37: Could not transfer artifact au.org.aodn:es-indexer:pom:0.0.37 from/to codeartifact (https://central-aodn-org-au-851725428481.d.codeartifact.ap-southeast-2.amazonaws.com/maven/maven-aodn-store/): authentication failed for https://central-aodn-org-au-851725428481.d.codeartifact.ap-southeast-2.amazonaws.com/maven/maven-aodn-store/au/org/aodn/es-indexer/0.0.37/es-indexer-0.0.37.pom, status: 401 Unauthorized -> [Help 1]
No description provided.