Duplicate
Details
Priority
MajorComponents
Assignee
Steve SwinsburgSteve SwinsburgReporter
Steve SwinsburgSteve Swinsburg
Details
Details
Priority
Components
Assignee
Steve Swinsburg
Steve SwinsburgReporter
Steve Swinsburg
Steve SwinsburgCreated May 16, 2017 at 4:00 PM
Updated March 23, 2022 at 3:03 PM
Resolved May 16, 2017 at 4:15 PM
I have a contrib tool that I have hooked up to Travis.
However the build fails because org.sakaiproject.master:master:12-SNAPSHOT pom.xml is not in a snapshot repository.
The old snapshots used to be in oss-snapshots but are really out of date:
https://oss.sonatype.org/content/repositories/snapshots/org/sakaiproject/master/
There is also no 12-SNAPSHOT.
Discussed a couple of years ago:
https://groups.google.com/a/apereo.org/forum/#!searchin/sakai-dev/snapshot/sakai-dev/v7QPCVKyu1I/D5_uZhRzqMQJ
Discussion on the logic for removing the snapshots here:
http://stackoverflow.com/questions/32403153/how-does-maven-resolve-snapshot-dependencies-when-there-are-snapshots-with-diffe
It looks like you can specify repositories in profiles, one idea to both keep external snapshots out of the main build but enable for external is to deploy them but have the sonatype-nexus-snapshots repo inside a profile so you'd have to activate the profile it (in your contrib tool) to grab the snapshot externally. Then jenkins could deploy.