Hi Lewis, applying your modifications, once created the target assembly, I get the following:
$ tar -tvzf sources-dist/target/apache-any23-0.7.0-incubating-SNAPSHOT-src.tar.gz drwxr-xr-x 0 simonetripodi staff 0 Jun 28 11:09 apache-any23-0.7.0-incubating-SNAPSHOT/ drwxr-xr-x 0 simonetripodi staff 0 Apr 13 22:35 apache-any23-0.7.0-incubating-SNAPSHOT/src/ drwxr-xr-x 0 simonetripodi staff 0 Apr 13 22:35 apache-any23-0.7.0-incubating-SNAPSHOT/src/main/ drwxr-xr-x 0 simonetripodi staff 0 Jun 26 09:25 apache-any23-0.7.0-incubating-SNAPSHOT/src/main/assembly/ -rw-r--r-- 0 simonetripodi staff 1896 Apr 13 22:06 apache-any23-0.7.0-incubating-SNAPSHOT/pom.xml -rw-r--r-- 0 simonetripodi staff 1729 Jun 26 09:25 apache-any23-0.7.0-incubating-SNAPSHOT/src/main/assembly/src.xml So, as you can see, I just obtained the module itself being compresses - which is not what we want to... Do you agree I try to rearrange the sources packages generation? TIA, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Tue, Jun 26, 2012 at 2:05 PM, Lewis John Mcgibbney <[email protected]> wrote: > Hi Simo, > > When I ran with > > <directory>${basedir}/../</directory> as oppose to > <directory>${basedir}</directory> > > I ended up generating tar's and zip's of my whole $home directory!!! > This was why it was taking around 45 mins to generate and complete... > > If you now try the target it generates the correct artifacts > > Lewis > > On Tue, Jun 26, 2012 at 10:12 AM, Simone Tripodi > <[email protected]> wrote: >> Hi Lewis, >> >> did you already try it? because IIUC in that way, the `sources-dist` >> modules doesn't include all sources modules, but only the src of the >> `sources-dist` itself, which is not what we have to distribute... >> >> Feel free to ping me as soon as you have the chance! >> >> Best, >> -Simo >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> >> On Mon, Jun 25, 2012 at 9:19 PM, <[email protected]> wrote: >>> Author: lewismc >>> Date: Mon Jun 25 19:19:00 2012 >>> New Revision: 1353705 >>> >>> URL: http://svn.apache.org/viewvc?rev=1353705&view=rev >>> Log: >>> prevent descriptor pulling in wrong directories >>> >>> Modified: >>> incubator/any23/trunk/sources-dist/src/main/assembly/src.xml >>> >>> Modified: incubator/any23/trunk/sources-dist/src/main/assembly/src.xml >>> URL: >>> http://svn.apache.org/viewvc/incubator/any23/trunk/sources-dist/src/main/assembly/src.xml?rev=1353705&r1=1353704&r2=1353705&view=diff >>> ============================================================================== >>> --- incubator/any23/trunk/sources-dist/src/main/assembly/src.xml (original) >>> +++ incubator/any23/trunk/sources-dist/src/main/assembly/src.xml Mon Jun 25 >>> 19:19:00 2012 >>> @@ -31,7 +31,7 @@ >>> | include all modules >>> --> >>> <fileSet> >>> - <directory>${basedir}/../</directory> >>> + <directory>${basedir}</directory> >>> <excludes> >>> <!-- exclude target dirs --> >>> <exclude>**/target/</exclude> >>> >>> > > > > -- > Lewis
