While releasing 2.8.1 I was spot checking the output locations of binary artifacts and noticed that neither 2.8.0 or 2.8.1 exist in the repo. Instead, they have been deployed to the snapshot repo. The reason is the chunk of code below that resides in the osp base pom. Since no defaults are set respecting whether or not the repo accepts snapshot or release artifacts, it takes both.
This is not so good for a lot of reasons but at the same time it's not fatal since 2.8.0 survived with osp artifacts in the wrong repo. But declarative settings like this should not be specified in projects unless the project is fully set up as an indie.
Once I remove this code I should be able to modify one of my existing scripts and run it against a local copy of maven2/org/sakaiproject/osp and stitch these two versions of osp into the release repo where they actually belong. Then I can whack the copies from the snapshot repo.
<name>Sakai snapshot Repo</name>