Hey, It is my understanding that Datanucleus uses JDO for its core functionality and only provides JPA as an interface - JDO libraries are still required. I'm basing this on http://www.datanucleus.org/products/accessplatform_2_0/index.html and the "Dependencies" and "Architecture" links in the menu. Perhaps that is related?
Jake On Mar 4, 2:02 pm, tkinsella <[email protected]> wrote: > Hello, > > I'm trying to "enhance" my JPA entities using the maven-datanucleus- > plugin. > > I have the following plugin configuration: > > <plugin> > <groupId>org.datanucleus</groupId> > <artifactId>maven-datanucleus-plugin</artifactId> > <version>2.0.0-release</version> > <configuration> > <mappingIncludes>**/*.class</mappingIncludes> > <verbose>true</verbose> > <enhancerName>ASM</enhancerName> > <api>JPA</api> > </configuration> > <executions> > <execution> > <phase>compile</phase> > <goals> > <goal>enhance</goal> > </goals> > </execution> > </executions> > </plugin> > > When I try to install the module, I get this: > INFO: DataNucleus Enhancer : Using ClassEnhancer "ASM" for API "JDO" > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > error: Exception thrown while constructing Processor object: javax/jdo/ > PersistenceManagerFactory > > So, I'm wondering why it says it picked JDO when I specified JPA in my > configuration. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
