On 1/5/07, Barrie Treloar <[EMAIL PROTECTED]> wrote:
On 1/5/07, Christian Goetze <[EMAIL PROTECTED]> wrote:
> As subject says ... it would seem that the assembly descriptors assume
> you're packaging main. Am I supposed to use full paths in the assembly
> descriptor? Anyone have an example?

This should be added to the assembly docs, do you want to file a JIRA
issue with the steps?

You might be able to use a fileSet as your source jar should be in
target/<artifactId>-test.jar.


Alternatively, play with
  moduleSet> binaries > attachmentClassifier
where attachmentClassifer would probably be "tests".
I've never used this one.


Another option is to create another project whose sole job is to
provide packaging.
Then you can follow the instructions at
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html

This is how I create a distributable containing multiple assemblies.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to