History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25381
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anton Makeev
Reporter: Cedric CHAMPEAU
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Web module with transitive dependencies does not produce a valid war

Created: 14 Dec 07 16:49   Updated: 01 Apr 08 17:15
Component/s: Maven Integration
Fix Version/s: Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. capture.png
(69 kb)
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-17586 Regression: Transitive dependencies n... Resolved

Build: 7,590
Fixed in build: 8,242
Severity: High


 Description  « Hide
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)



 All   Comments   Work Log   Change History      Sort Order:
Anton Makeev - 21 Jan 08 14:00
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.