"mvn" will build the "all" distro only. I can also move the assembly of archive 
part into a different profile such as "release". This way, it will only 
generate the artifacts in the "target" folder.
"mvn -Pdistribution" will build all distros with dir, zip and gz.

Thanks,
Raymond   


From: ant elder 
Sent: Thursday, January 29, 2009 8:49 AM
To: [email protected] 
Subject: Re: Building only the all distribution archives


Can you say a bit more about that, why wouldn't "mvn -Pdistribution" just build 
the one all distribution?

   ...ant 


On Thu, Jan 29, 2009 at 4:46 PM, Raymond Feng <[email protected]> wrote:

  I'll go ahead to change the pom.xml to make other distros not to be activated 
by default. We can still run "mvn -Pdistribution" to activate them.

  Thanks,
  Raymond


  From: ant elder 
  Sent: Thursday, January 29, 2009 5:23 AM
  To: [email protected] 
  Subject: Building only the all distribution archives


  As we've agreed to only have a single all distribution for now how about we 
stop building the actual distribution archives for the others? Currently it 
produces about twenty zips and tars that we don't need and that takes quite a 
long time on my machine and is only going to get slower as we add things. 
Commenting out the assembly builds for these reduces the distribution build 
from about 6 minutes to just over 2 for me.   

     ...ant


Reply via email to