Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Anton Makeev 
Subsystem
Maven Integration 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7590
Fixed in build
8242
Severity
0
  • Submitted by   Cedric CHAMPEAU
    2 years ago (14 Dec 2007 16:49)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:56)
  • Jira: IDEA-42282
    (history, comments)

IDEA-42282

Web module with transitive dependencies does not produce a valid war

3
Added by <no user>
15 Sep 2009
capture.png   (68 KB)

On a single Maven 2 project with 3 modules :
* project defines the 3 modules
* web module with external jar dependencies
* module A (jar) with external jar dependencies
* module B (jar) with external jar dependencies

I defined the following dependencies (through my pom.xml files) :
* Web module depends on B
* B depends on A

When I create a Tomcat run/debug configuration for the web module, the generated web facet does not package jars correctly : module A is not packaged while module B is (correctly) copied to WEB-INF/lib. Module A + its dependencies are not copied to WEB-INF/lib.

Screenshot attached (note that there are more modules than the previous description, but does not impact)


Issue was resolved
Comments (1)
 
History (1)
 
Links
 
Anton Makeev
  Anton Makeev
21 Jan 2008 14:00
(2 years ago)
#permalink
The problem is with the maven embedded what we use to process dependencies.
There is the relevant issue http://jira.codehaus.org/browse/MNG-3339.

You can try the workaround - installing modules into a repository preliminary.