Then I think the other hint about classifier syntax is more to the point. Could I reproduce your problems by co'ing the jena trunk tree and fooling around?
On Mon, Nov 21, 2011 at 7:03 PM, Paolo Castagna <[email protected]> wrote: > Hi Benson, > the lib/ directory includes: > > - jena-arq-2.8.9-incubating-SNAPSHOT.jar > - jena-core-2.6.5-incubating-SNAPSHOT.jar > - jena-iri-0.9.0-incubating-SNAPSHOT.jar > - jena-larq-1.0.0-incubating-SNAPSHOT.jar > - jena-tdb-0.9.0-incubading-SNAPSHOT.jar > > Each of the modules (i.e. jena-arq, jena-core, etc.) produce a > jena-*-x.y.z-incubating-SNAPSHOT-sources.jar. > > What I am trying to add is a lib-src/ directory with these: > > - jena-arq-2.8.9-incubating-SNAPSHOT-sources.jar > - jena-core-2.6.5-incubating-SNAPSHOT-sources.jar > - jena-iri-0.9.0-incubating-SNAPSHOT-sources.jar > - jena-larq-1.0.0-incubating-SNAPSHOT-sources.jar > - jena-tdb-0.9.0-incubading-SNAPSHOT-sources.jar > > Paolo > > Benson Margulies wrote: >> Paolo, >> >> Are the -sources an artifact of the same project that is running the >> assembly plugin? >> >> Off hand I'd suggest making a separate module to build the combined >> sources jar, and then you should be able to pull that into the >> assembly. >> >> Or, just use a <file> pointing at the right file in target/ instead of >> referencing a dependency? >> >> >> On Mon, Nov 21, 2011 at 3:05 PM, Paolo Castagna >> <[email protected]> wrote: >>> 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 >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
