vancetang / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Use #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reflections currently uses the Javassist artifact from the old "javassist" 
group:

<dependency>
    <groupId>javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.12.1.GA</version>
</dependency>

Javassist no longer publish with this group id, instead they use 
"org.javassist" :

http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22javassist%22

This leads to dependency resolution failure when combining Reflections with a 
more recently updated project, like Play 2.1, which uses a current 
Javassist artifact - both jars are pulled in simultaneously as there's no way 
to tell they represent different versions of the same thing.

To fix this, please update Reflections to use this artifact:

<dependency>
    <groupId>org.javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.17.1-GA</version>
</dependency>

What version of the product are you using?

reflections v0.9.8

http://search.maven.org/#artifactdetails%7Corg.reflections%7Creflections%7C0.9.8
%7Cjar

Original issue reported on code.google.com by roberto....@gmail.com on 22 Jan 2013 at 11:21

GoogleCodeExporter commented 9 years ago
Apologies for the poor title on this bug :( Unfortunately Google Code gives me 
no way to fix it. It should be:

"Use Javassist from 'org.javassist' group to fix dependency resolution"

Original comment by roberto....@gmail.com on 22 Jan 2013 at 11:23

GoogleCodeExporter commented 9 years ago
fixed on trunk, comments are welcomed

Original comment by ronm...@gmail.com on 20 Feb 2013 at 9:04

GoogleCodeExporter commented 9 years ago
Thanks, I see this is fixed in the not-yet-unreleased v0.9.9 release of 
Reflections:

https://code.google.com/p/reflections/source/diff?spec=svn166&r=166&format=side&
path=/trunk/reflections/pom.xml

Original comment by roberto....@gmail.com on 12 Mar 2013 at 2:54