[jboss-jira] [JBoss JIRA] Created: (JBRULES-992) Optional dependencies not marked as optional in maven pom xmls
Tuomas Kiviaho (JIRA)
jira-events at lists.jboss.org
Tue Jul 10 02:05:31 EDT 2007
Optional dependencies not marked as optional in maven pom xmls
--------------------------------------------------------------
Key: JBRULES-992
URL: http://jira.jboss.com/jira/browse/JBRULES-992
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.MR3
Environment: Maven 2.0.7
Reporter: Tuomas Kiviaho
Assigned To: Mark Proctor
Slimming (<http://markproctor.blogspot.com/2007/05/jboss-rules-even-slimmer.html>) could be taken even further by marking optional dependencies listed in <http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/README_DEPENDENCIES.txt> with <optional>true<optional/>.
This would effectively remove transitional dependencies by default. Now I have to exclude them manually as a workaround.
Having xerces and xml-apis as transitive dependencies reminds me of commons-logging 1.1 situation where container/JDK provided packages emerge in wrong places of classpath hierarchy. Here endorsement via provided scope is in my opinion more appropriate. XPP3 could probably be replaced with StaxDriver, thus replacing one dependency with JDK provided dependency, but this goes already into implementation details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list