[ https://jira.codehaus.org/browse/MSANDBOX-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MSANDBOX-42. ---------------------------------- Resolution: Won't Fix outdated project, closing as won't fix. > plugin to facilitate downloads of snapshot plugins and dependencies for each > insertion into internal repository. > ---------------------------------------------------------------------------------------------------------------- > > Key: MSANDBOX-42 > URL: https://jira.codehaus.org/browse/MSANDBOX-42 > Project: Maven Sandbox (retired) > Issue Type: New Feature > Reporter: brianfox brianfox > Priority: Minor > > Discussed here. > http://www.nabble.com/Re%3A-Remove-auto-resolution-of-plugin-versions-from-Maven-2.1-p9965795s177.html > > > > Here's how I deal with instances where I need a snapshot plugin in my > > corp build: > > 1. Checkout the code for the snapshot. > > 2. Build it, changing the version to something like > > 2.0-[companyname]-svnrev 3. If I have to patch the source at all, I > > take the whole thing and put it in my svn. If not, then the svnrev in > > the release points me back to where I got it in case I need it later. > > 4. Deploy it to my repos. > > 5. Use this now "internally released" version in my builds. > > > I've done this, and also with smaller external snapshots I've downloaded them > and just adjusted the metadata (and filename) before deploying to my local > repos. > What would be really, really, really useful would be a plugin that you could > call that would download a snapshot of a project and its (transient, > snapshot) dependencies, re-label it as a fixed internal version. There's > occasions where you just can't wait for an external project to release (and > of course this problem is recursive!), and rebuilding everything yourself is > a bit drag on the person doing a release. > something like > mvn artifact:freeze-snapshot org.apache.myfaces myfaces-all 1.1.6-SNAPSHOT > 1.1.6-mycorp -- This message was sent by Atlassian JIRA (v6.1.6#6162)