Conflicting versions of datanucleus enhancer in a maven google app engine project

后端 未结 6 571
南方客
南方客 2020-12-09 09:54

I\'m having a problem setting up datanucleus enhancer to use with a google app engine project. If I use the datanucleus eclipse plugin everything goes well, but in my maven

6条回答
  •  臣服心动
    2020-12-09 10:24

    The DN M2 plugin pulls in the latest versions of the available DN jars that it needs to do its job (there is no other sensible way to do it other than use the latest). You want to restrict "core" to a different version, either by specifying the plugin dependency of core, or by specifying that in your application to

    
        org.datanucleus
        datanucleus-core
        1.1.0
        runtime 
    
    

提交回复
热议问题