Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Snapshot artifact not present in repository #58

@gbaso

Description

@gbaso

Following the instructions in the readme, I put the dependency definition in my pom:

        <dependency>
            <groupId>com.microsoft.graph</groupId>
            <artifactId>microsoft-graph-auth</artifactId>
            <version>0.3.0-SNAPSHOT</version>
        </dependency>
    <profiles>
        <profile>
            <id>allow-snapshots</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>snapshots-repo</id>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
        </profile>
    </profiles>

However, build fails with error:

Could not resolve dependencies for project com.example:demo:jar:0.0.1-SNAPSHOT: Could not find artifact com.microsoft.graph:microsoft-graph-auth:jar:0.3.0-SNAPSHOT in snapshots-repo (https://oss.sonatype.org/content/repositories/snapshots

Furthermore, directory listing on the repository is disallowed, therefore it's impossibile to determine correct coordinates for version 0.3.0-SNAPSHOT.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions