I added the ability to remove all previously installed artifact at package phase, this way only one copy of artifact is in local repository.
it is at build-helper-maven-plugin 1.1 snapshot ( deployed ) the usage is at https://svn.codehaus.org/mojo/trunk/mojo/build-helper-maven-plugin/src/site/apt/usage.apt please give it a try -D On Fri, Mar 14, 2008 at 10:54 AM, Dan Tran <[EMAIL PROTECTED]> wrote: > this is a nice feature to skip the install execution, I have 5 100M > installers install/deply every build and it eats > my harddish fast. > > The work around is to have antrunt to remove it after install phase. > > -D > > > On Fri, Mar 14, 2008 at 10:49 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 14, 2008 at 7:21 AM, MATHUS Baptiste <[EMAIL PROTECTED]> wrote: > > > > > I noticed the .m2/repository directory of the maven binaries used by the > > > continuum server is also receiving the artifacts that are deployed. > > > From my understanding, this is because a mvn clean deploy will also do > > > an install. > > ... > > > So I'd like to be able to prevent mvn deploy from including a mvn > > > install? Is this possible at all? > > > > No, because the install phase precedes the deploy phase in the Maven > > lifecycle. > > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html > > > > We recently added a feature to the _deploy_ plugin to skip deployment > > [1], but it sounds like you *do* want it available in Archiva? > > Perhaps a similar 'skip' feature for the install plugin could work, > > but I have a feeling that would break things... > > > > The answer seems to be a general tool to purge snapshots from the > > local Maven repo, something that is not Continuum related. > > > > See also: http://jira.codehaus.org/browse/CONTINUUM-1693 > > > > [1] > > http://maven.apache.org/plugins/maven-deploy-plugin-2.4-SNAPSHOT/faq.html#skip > > (unreleased) > > > > -- > > Wendy > > >
