Skip to content

Conversation

@nandeeshsb9
Copy link

No description provided.

Copy link
Collaborator

@utas-raymondng utas-raymondng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants