A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Ant, Maven and Other Build Tools
maven packaging is not including dependent jars
Joined: Feb 10, 2011
Apr 17, 2012 10:20:22
MY APPLICATION STRUCTURE :My project (let us say AAA) which has packaging as JAR. project AAA is added dependent for web project BBB and BBB inturn module for CCC which is an EAR.
while doing AAA project
build, maven is not including the dependent jars as part of packaging, and deployment eventually fails when i deploy the ear package.
1) how to make common libraries share among parent and child projects so that avoid duplicates
2) how to include individual project libraries (which is not common) during maven build
Joined: May 14, 2008
Apr 17, 2012 13:23:48
I think that what you are looking for is the Assembly plugin (
). It will create a JAR file that contains all of the classes from dependencies. The Jar plugin only includes classes that the project compiled.
JBoss In Action
I agree. Here's the link:
- it saves me about five hours per week
subject: maven packaging is not including dependent jars
package structure during design
Weblogic Workshop 9.2 Building EAR
maven: the war directory structure
maven / web inf
Netbeans 5.x Libraries...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013