[
http://jira.jboss.com/jira/browse/JBRULES-992?page=comments#action_12370004 ]
Tuomas Kiviaho commented on JBRULES-992:
----------------------------------------
Forgot to mention that xstream is needed by drools compiler as well when using XML files.
Dependency comes transitively from core. There is also references in
ProcessBuilder.addProcessFromFile to this artifact.
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
Attachments: pom.20070725.patch
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.t... 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