Hi Armin,
Maven produces one artifact per module/project, which is usually the best
way to go..
If you do need the dependencies of a module packaged within the final
artifact:
- for maven 1: check out the uberjar plugin at
http://maven.apache.org/maven-1.x/plugins/uberjar/
- for maven 2: configure the assembly plugin appropriately
Here's a maven 2 snippet:
<build>
<plugins>
<!-- snip -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<!-- snip -->
</plugins>
</build>
Good luck
Jo
On 2/26/07, Armin Ehrenfels <[EMAIL PROTECTED]> wrote:
Hi,
say, I have projects A, B, C, all subprojects of project D, each
creating its own class files. How can maven package the class files of
all three projects into one jar archive ? Any ideas ?
TIA
Armin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]