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

Key: XFIRE-298
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dan Diephouse
Reporter: Emil A. Lefkof III
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Maven2 POMs

Created: 10/Mar/06 07:04 AM   Updated: 13/Mar/06 01:50 PM
Component/s: Core, Spring
Affects Version/s: 1.0
Fix Version/s: 1.1-beta-1

Time Tracking:
Not Specified


 Description  « Hide
So following your Book example it only has two dependencies in the Maven2 POM which are the servlet-api.jar and the xfire-spring.jar. So when you add xfire-spring Maven2 is smart enough to pull down all of its dependenices and put them in WEB-INF/lib. That is exactly what you want for Maven2, HOWEVER it is pulling down TOO MUCH. HttpUnit, Junit, and many other Jars I don't think are needed for execution are included which bloat the size of the WAR. Those jar's in the XFire Spring POM should be listed as <optional>true</optional> which will use them for compilation of Xfire but not when someone references your jar in a POM. I use the org.hibernate POM as an example. They need CP30 and SwarmCache to compile, but when I ask for org.hibernate in my POM, C3PO and SwarmCache do not get downloaded and included because it is marked as optional.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 13/Mar/06 01:50 PM
Fixed in CVS.