Isn't there a mvn package target that is better for this? On Fri, May 6, 2011 at 8:34 AM, Sean Owen <sro...@gmail.com> wrote:
> I think you'd have to set up release keys and all that to make the package. > Does "mvn release:prepare" (without -Prelease) do what you want or am > I crazy? That's ultimately what makes the artifacts. Here's our > process: https://cwiki.apache.org/confluence/display/MAHOUT/How+To+Release > > What are you trying to do though, there may be a much easier way. I > doubt you want to run the release. > > Maven always has to download plugins and dependencies the first time. > It's normal. > > Sean > > On Fri, May 6, 2011 at 4:30 PM, Xiaobo Gu <guxiaobo1...@gmail.com> wrote: > > mvn -Prelease prompt me to enter a password for :GPG Passphrase: > > And I can't provide one. > > > > How can I build and package the release zip file without running the unit > tests? > > > > > > Another question, why the mvn download a lot of files from the > > Internet while building? > > > > Regards, > > > > > > > > On Mon, Apr 11, 2011 at 1:31 AM, Benson Margulies <bimargul...@gmail.com> > wrote: > >> Um, mvn -Prelease? > >> > >> > >> On Sun, Apr 10, 2011 at 12:34 PM, Sean Owen <sro...@gmail.com> wrote: > >>> It should be "mvn release" > >>> > >>> On Sun, Apr 10, 2011 at 4:52 PM, Xiaobo Gu <guxiaobo1...@gmail.com> > wrote: > >>> > >>>> I mean to build to released package such as > mahout-distribution-0.4.zip > >>>> > >>> > >> > > >