Hmm, it is useless, slf4j-log4j12 have the relation to slf4j-api 1.4.2,
anyway I tried it and it still complains about missing version 1.5.2
1) org.slf4j:slf4j-api:jar:1.5.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.slf4j
-DartifactId=slf4j-api -Dversion=1.5.2 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.slf4j -DartifactId=slf4j-api
-Dversion=1.5.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.jboss.seam:jboss-seam:ejb:2.2.0-SNAPSHOT
2) org.hibernate:hibernate-core:jar:3.3.1.GA
3) org.slf4j:slf4j-api:jar:1.5.2
So I will let the exclusion in hibernate-core dependency specification
for slf4j-api.
Pete Muir píše v Pá 12. 06. 2009 v 12:39 +0100:
oic, it is for Wicket examples.
Try
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.4.2</version>
</dependency>
On 12 Jun 2009, at 12:12, Marek Novotny wrote:
> I don't know why we specify this, but I am asking, because the
> specification is already in root.pom.xml
>
> See line 1221
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-log4j12</artifactId>
> <version>1.4.2</version>
> </dependency>
>
> Pete Muir píše v Pá 12. 06. 2009 v 12:00 +0100:
>> Why are we specifying a slf4j impl? Surely that should be the
>> responsibility of the project which uses Seam?
>>
>> On 12 Jun 2009, at 11:52, Marek Novotny wrote:
>>
>>> I have noticed that the build in 2_2 branch is broken due missing
>>> transitive dependency org.slf4j:slf4j:1.5.2
>>>
>>> I had to add exclusion to hibernate-core dependency on my local
>>> disk:
>>>
>>> <exclusion>
>>> <groupId>org.slf4j</groupId>
>>> <artifactId>slf4j-api</artifactId>
>>> </exclusion>
>>>
>>> to finish build.
>>>
>>> What version of slf4j-api should be in Seam 2.2 if we have specified
>>> version 1.4.2 of slf4j-log4j12?
>>>
>>> --
>>> Marek Novotny
>>> --
>>> JBoss Seam Product Lead
>>>
>>> Red Hat Czech s.r.o.
>>> Purkynova 99
>>> 612 45 Brno
>>>
>>> Email: mnovotny(a)redhat.com
>>> Office phone: +420 532 294 287, ext. 82-62 087
>>> mobile: +420 608 509 230
>>>
>>> ------------------------------------------------------
>>> Looking to carve out IT costs?
>>>
www.europe.redhat.com/promo/carveoutcosts/
>>> _______________________________________________
>>> seam-dev mailing list
>>> seam-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/seam-dev
>>
> --
> Marek Novotny
> --
> JBoss Seam Product Lead
>
> Red Hat Czech s.r.o.
> Purkynova 99
> 612 45 Brno
>
> Email: mnovotny(a)redhat.com
> Office phone: +420 532 294 287, ext. 82-62 087
> mobile: +420 608 509 230
>
> ------------------------------------------------------
> Looking to carve out IT costs?
>
www.europe.redhat.com/promo/carveoutcosts/
--
Marek Novotny
--
JBoss Seam Product Lead
Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno
Email: mnovotny(a)redhat.com
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230
------------------------------------------------------
Looking to carve out IT costs?
www.europe.redhat.com/promo/carveoutcosts/