liu4lin / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

msm-kyro-serializer 1.5.1 pom in maven central includes invalid dependencies #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The de.javakaffee.msm.msm-kryo-serializer 1.5.1 pom in Maven central repo 
includes 2 dependencies that cannot be resolved (from Maven central.)  
Presumably the pom is out of date.

1. com.esotericsoftware artifact kryo does not exist in maven central.  Its 
group id should be 'com.googlecode'.

and

2. The de.javakaffee artifact kryo-serializers version specified does not exist 
in maven central.

The workaround is to exclude the invalid dependencies and replace them with 
valid ones.  This works for me:

    <dependency>
      <groupId>de.javakaffee.msm</groupId>
      <artifactId>msm-kryo-serializer</artifactId>
      <version>1.5.1</version>
      <scope>runtime</scope>
      <exclusions>
        <exclusion>
          <groupId>com.esotericsoftware</groupId>
          <artifactId>kryo</artifactId>
        </exclusion>
        <exclusion>
          <groupId>de.javakaffee</groupId> 
          <artifactId>kryo-serializers</artifactId> 
        </exclusion>
      </exclusions>
    </dependency>

    <!-- Replace the excluded dependencies from above -->
    <dependency> 
      <groupId>com.googlecode</groupId> 
      <artifactId>kryo</artifactId> 
      <version>1.04</version>
      <scope>runtime</scope> 
    </dependency>

    <dependency> 
      <groupId>de.javakaffee</groupId> 
      <artifactId>kryo-serializers</artifactId> 
      <version>0.9</version> 
    </dependency> 

Original issue reported on code.google.com by colin...@gmail.com on 28 Nov 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Fixed in master. kryo-serializers are now set to version 0.9, kryo is removed 
as it's pulled in as transitive dependency.

Original comment by martin.grotzke on 10 Dec 2011 at 10:25