[slf4j-dev] [Bug 319] New: Missing version in pom files

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Mon Jul 7 12:54:59 CEST 2014


http://bugzilla.slf4j.org/show_bug.cgi?id=319

          Priority: P5
            Bug ID: 319
          Assignee: slf4j-dev at qos.ch
           Summary: Missing version in pom files
          Severity: blocker
    Classification: Unclassified
                OS: other
          Reporter: bdupraz.ext at deltadore.com
          Hardware: PC
            Status: NEW
           Version: 1.7.x
         Component: Implementations
           Product: SLF4J

When using Ivy to resolve dependency in my project with this line:

<dependency org="org.slf4j" name="slf4j-log4j12" rev="1.7.5" />

slf4j-api-1.7.5.jar and log4j-1.2.17.jar aren't resolve. I've open the
ivy-1.7.5.xml file in Ivy cache, I've got this :

<dependency org="org.slf4j" name="working at xxxxxxxx" rev="1.7.5" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="log4j" name="log4j" rev="working at xxxxxxxx" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>

At working at xxxxxxxx, the xxxxxxxx are my machine host name. When I edit the
file with dependency found on Maven central like this:

<dependency org="org.slf4j" name="slf4j-api" rev="1.7.5" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>
<dependency org="log4j" name="log4j" rev="1.2.17" force="true"
conf="compile->compile(*),master(*);runtime->runtime(*)"/>

It works as soon as I trigger a new resolve with Ivy. So I looked in the pom
file on Maven Central and I found that the required version attribute in
dependencies are missing. Here the extract of the pom file currently on Maven
Central:

<dependencies>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
    </dependency>
</dependencies>

and here is what it should be:

<dependencies>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.7.5</version>
    </dependency>
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.17</version>
    </dependency>
</dependencies>

This problem appears on every versions of slf4j-log4j12

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20140707/22398fe8/attachment.html>


More information about the slf4j-dev mailing list