Aitor Perez Cedres wrote > On 17/06/13 10:28, spock wrote: >> We just upgraded our artifactory to 3.0.1 from 2.6.2, and it seems this >> broke >> a critical feature. >> The URL to get the latest snapshot version of an artifact doesn't work >> anymore. >> >> For example, the following URL used to retrieve the latest 1.0 snapshot >> (the >> repository is configured to maven 2 layout with unique snapshots): >> >> http://artifactory/libs-snapshot-local/com/sundaysky/sundaysky-server/1.0.0-SNAPSHOT/sundaysky-server-1.0.0-SNAPSHOT.jar > > Are you sure that URL should work? "http://artifactory" is missing > something like "http://artifactory.local.domain" or > "http://artifactory.com".
The URL in the post itself doesn't work because it's an internal URL that works only inside our network. Aitor Perez Cedres wrote > I have Artifactory 3.0.0 and I can retrieve artifacts from URL like this: > > "http://artifactoryserver.my.domain/artifactory/repo/org/apache/ant/ant/1.8.1/ant-1.8.1.jar" The URL you wrote is for a specific release version. This works find for us. I'm talking about a request for the latest SNAPSHOT version. When we deploy snapshots to artifactory using a maven-2 layout with unique snapshots, they are stored in a folder such as 1.2.1-SNAPSHOT, but the file names themselves have SNAPSHOT replaced by a timestamp and build number. When a build (we build using Gradle) attempts to get the latest 1.2.1-SNAPSHOT, it asks for a URL such as this: http://artifactory/libs-snapshot-local/com/sundaysky/sundaysky-server/1.0.0-SNAPSHOT/sundaysky-server-1.0.0-SNAPSHOT.jar In the past (Artifactory 2.6.2) artifactory knew how to resolve this to the last snapshot under 1.0.0-SNAPSHOT. Since upgrading to 3.0.1, this returns 404, breaking all our builds. I hope this clarifies the problem. > Since the upgrade this returns a 404 error. This breaks all our builds. > Has anybody else encountered this issue? > > > > > -- > View this message in context: > http://forums.jfrog.org/Is-get-latest-artifact-version-broken-in-3-0-1-tp7578889.html > Sent from the Artifactory - Users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users -- View this message in context: http://forums.jfrog.org/Is-get-latest-artifact-version-broken-in-3-0-1-tp7578889p7578898.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
