FYI

---------- Forwarded message ----------
From: Paolo Castagna <[email protected]>
Date: 21 November 2011 20:05
Subject: How to include the *-sources.jar in a binary distribution?
To: [email protected]


Hi,
I'd like to include  the *-sources.jar in a lib-src/ directory in my
binary distribution (done via assembly) [1].
The reason why I'd like to include the *-sources.jar in the binary
distribution is because people using IDEs (and not Maven) can point at
them and browse the sources of our modules.

I tried doing this in my assembly-binary.xml [2] but I don't
understand why is not working as I would expect:

     <binaries>
       <outputDirectory>lib</outputDirectory>
       <unpack>false</unpack>
       <dependencySets>
         <dependencySet>
           <outputDirectory>lib</outputDirectory>
         </dependencySet>
         <dependencySet>
           <outputDirectory>lib-src</outputDirectory>
           <includes>
             <include>*:sources</include>
           </includes>
         </dependencySet>
       </dependencySets>
     </binaries>

Can you help me?

Thanks,
Paolo

 [1] https://svn.apache.org/repos/asf/incubator/jena/Jena2/JenaDist/trunk/
 [2] 
https://svn.apache.org/repos/asf/incubator/jena/Jena2/JenaDist/trunk/assembly-binary.xml

Reply via email to