Rob Dickens a écrit :
Dear Maven Users,

My project contains three sub-projects as follows:

mylib
|
+-mylib-core (jar packaging)
|
+-mylib-demo (jar packaging)
|
+-mylib-dist (jar packaging)

I want the last sub-project to produce a jar-file containing the following:

index.html
demo.html
demo.jnlp
juice-core-<version>.jar
juice-demo-<version>.jar

So I put the first three files into mylib/mylib-dist/src/main/ resources/. The question is, how do I get the jarfiles copied?

Should I be using the assembly plugin perhaps? If so, would the preferred format be zip?

You can use the assembly plugin (http://maven.apache.org/guides/mini/guide-assemblies.html), it will be the best solution.
The preferred format is what you want ;-) (zip, tar, tar.gz, tar.bz2, jar...)

Emmanuel


Thanks,

Rob

---------------------------------------------------------------------
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]

Reply via email to