Maven is not able to download "SNAPSHOT" artifacts from 'azure artifacts' repository until SNAPSHOT is replaced by real timestamp.

Saurabh Tripathi 1 Reputation point
2022-03-30T03:24:33.063+00:00

Given the following, maven is not able to download artifact when referred by version 'XXX-SNAPSHOT' but it is able to download every other dependency from it and even the SNAPSHOT if I replace 'SNAPSHOT' by real timestamp, for example, replace 155-SNAPSHOT by 155-20220224.175558-1.
We are hosting SNAPSHOTS and releases both under the same feed. Any advice on how fix this snapshot translation which missing?

 <dependency>
 <groupId>com.st.services.clients</groupId>
 <artifactId>st-ccs-web-service</artifactId>
 <!-- <version>155-SNAPSHOT</version> --><!-- not works -->
 <version>155-20220224.175558-1</version>
 </dependency>


    <repositories>
        <repository>
            <name>My Hosted Maven Repo Group</name>
            <id>maven-feed</id>
            <url>https://pkgs.dev.azure.com/my-org/my-project/_packaging/maven-feed/maven/v1
            </url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
    </repositories>
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,199 questions
{count} votes