From: SourceForge.net <no...@so...> - 2009-03-21 09:03:38
|
Bugs item #2699880, was opened at 2009-03-21 09:03 Message generated for change (Tracker Item Submitted) made by vmassol You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2699880&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vincent Massol (vmassol) Assigned to: Nobody/Anonymous (nobody) Summary: Maven pom.xml for JFreechart seems invalid Initial Comment: Hi, The maven pom.xml file published for jfreechart on the central maven repositrory doesn't look correct. The junit dependency should be marked with the test scope or be made optional. This was wrong in 1.0.0-RC1 but was fixed in 1.0.1 (http://repo2.maven.org/maven2/jfree/jfreechart/1.0.1/jfreechart-1.0.1.pom) and it's now wrong again in 1.0.11: http://repo2.maven.org/maven2/jfree/jfreechart/1.0.11/jfreechart-1.0.11.pom You also need to make gnujaxp optional I believe. optional dependency: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html maven dependency mechanism: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html I can help you but I'd need to know if the junit and gnujaxp deps are for tests only or if they're supposed to be there at runtime. If they're needed at runtime then are they required for the main features of jfreechart or not. If not they should be marked optional, ie it's the user who will add the dependency if he needs a special feature. The problem is that majority of us have to manually exclude junit since otherwise it'll find its way transitively in our distributions for our projects using jfreechart. Thanks for a great tool! -Vincent ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=2699880&group_id=15494 |