[
http://jira.jboss.com/jira/browse/JBCOMMON-44?page=all ]
Dimitris Andreadis resolved JBCOMMON-44.
----------------------------------------
Resolution: Done
a) I've declared optional:
apache-httpclient:commons-httpclient
apache-slide:webdavlib
Those are only needed at runtime by org.jboss.net.protocol.http.DavURLLister which is
rarely used (if ever)
b) I've also removed completely the apache-xerces:xml-apis dependency. I dont'
think it's needed.
I'm not certain if dependencies with scope 'test' need to be declared
'optional'.
I assume they don't need to.
JBoss Common should declare optional dependencies
-------------------------------------------------
Key: JBCOMMON-44
URL:
http://jira.jboss.com/jira/browse/JBCOMMON-44
Project: JBoss Common
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: common-core
Reporter: Adrian Brock
Assigned To: Dimitris Andreadis
Fix For: 2.2.4.GA
Who ever does the 2.2.4.GA release of jboss-common,
please change the pom.xml such that things like http client are optional dependencies.
That way we don't have to exclude them in our importing poms when we don't need
them
e.g. no need for this
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>2.2.3.GA</version>
<exclusions>
<exclusion>
<groupId>jboss</groupId>
<artifactId>jboss-common-logging-spi</artifactId>
</exclusion>
<exclusion>
<groupId>apache-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>apache-slide</groupId>
<artifactId>webdavlib</artifactId>
</exclusion>
<exclusion>
<groupId>apache-xerces</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
--
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