Bug 1014610 - No version defined for org.slf4j:slf4j-jdk14 when using eap6-supported-artifacts BOM
No version defined for org.slf4j:slf4j-jdk14 when using eap6-supported-artifa...
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: CR1
: EAP 6.2.0
Assigned To: Paul Gier
Nikoleta Ziakova
Russell Dickenson
Depends On:
  Show dependency treegraph
Reported: 2013-10-02 07:45 EDT by Rostislav Svoboda
Modified: 2013-12-15 11:17 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-15 11:17:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rostislav Svoboda 2013-10-02 07:45:04 EDT
Maven reports:
[ERROR]     'dependencies.dependency.version' for org.slf4j:slf4j-jdk14:jar is missing. 

Just fyi - using org.jboss.slf4j:slf4j-jboss-logmanager with BOM works fine, but for org.slf4j:slf4j-jdk14 there is error. slf4j-jdk14 is present in maren repo zip.

org.slf4j:slf4j-jdk14 is quite widely used, am I supposed to use org.jboss.slf4j:slf4j-jboss-logmanager for EAP 6 apps?

Profile from pom.xml


Comment 1 Paul Gier 2013-11-04 15:34:45 EST
I think it was originally added to the Maven repo because of some transitive dependency, because it's not part of the eap runtime.  The slf4j api is part of our supported API, however the impl jars are private.  If we add it to the supported artifacts BOM, then we are saying that we fully support the use of this jar in your app.  On the other hand, if we leave it out of the BOM, then we are telling users that they should use the upstream version if they need to package it in their apps.

Since we are already building it, and shipping it with the Maven repo, I guess it's ok to add it to the supported artifacts BOM.
Comment 3 Rostislav Svoboda 2013-11-14 06:02:59 EST
Verified on EAP 6.2.0 CR1

Check with test pom.xml
jboss-eap-6.2.0.GA-maven-repository/org/jboss/bom/eap6-supported-artifacts/6.2.0.GA/eap6-supported-artifacts-6.2.0.GA.pom contains:


Note You need to log in before you can comment on or make changes to this bug.