Hi,

I am trying to build the trunk, and I have two problems:

1. First it reports:

[INFO] Building OpenJPA Examples - OpenBooks
...
[INFO] Executing tasks
     [echo] Running OpenBooks genmodel

info:
     [echo]
     [echo]                     Builds OpenBooks demo application.
[echo] OpenJPA Library: d:/java/lib-maven2/repo/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT
     [echo]                     Build mode     : jse
[echo] Deploy Location: D:\java-ext\openjpa\openjpa-examples\openbooks/target/openbooks
     [echo]

check-env:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
D:\java-ext\openjpa\openjpa-examples\openbooks\build.xml:116: *** Error:
The directory for OpenJPA libraries can not be located at d:/java/lib-maven2/repo/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT. Make sure openjpa.lib property value is correct in build.properties file.


This one is possible to workaroud by manually creating folder openjpa-all/2.2.0-SNAPSHOT inside d:/java/lib-maven2/repo/org/apache/openjpa.


2. Afther that one, it reports:

[INFO] Building OpenJPA Examples - OpenBooks
...
generate-canonical-model:
[javac] Compiling 8 source files to D:\java-ext\openjpa\openjpa-examples\openbooks\target\classes [javac] D:\java-ext\openjpa\openjpa-examples\openbooks\src\main\java\openbook\domain\Author.java:20: package javax.persistence does not exist
    [javac] import javax.persistence.Entity;
...

And bunch of similar errors regarding javax.persistence package.

Is some dependency missing in pom.xml of openjpa-exmaples?


Regards,
Ognjen

Reply via email to