Kind of. It’s not as bad as I thought first. If you build with mvn clean 
INSTALL then it runs.
But during the release there is no ‚install‘ but only ‚package‘ being called. 
And the antrun build.xml doesn’t find openjpa-all.jar in the m2 repo as a 
consequence.

So I need a bit help with the openjpa-examples/openbooks example. The whole 
project setup certainly don’t look like something we like to propagate (the 
code itself is fine though). 

Anyway, to get a bit further I will set preparationGoals to clean install.
It’s a bit ugly but that might do the trick for now.

LieGrue,
strub


> Am 18.04.2015 um 18:30 schrieb Romain Manni-Bucau <rmannibu...@gmail.com>:
> 
> Hmm
> 
> Doesnt it need to build the project twice? Already saw it
> Le 18 avr. 2015 13:39, "Mark Struberg" <strub...@yahoo.de> a écrit :
> 
>> Yea, trying at least.
>> Struggling a lot with things which I wonder how they worked for previous
>> releases.
>> I know that I basically did disable all kind of doc creation for the 2.3.0
>> release and now I start to remember why:
>> 
>> [INFO] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-antrun-plugin:1.3:run (genmodel) on project
>> openbooks: An Ant BuildException has occured: The following error occurred
>> while executing this line:
>> [INFO] [ERROR]
>> /Users/struberg/develop/java/apache/openjpa/trunk/openjpa-examples/openbooks/build.xml:117:
>> *** Error:
>> [INFO] [ERROR] The directory for OpenJPA libraries can not be located at
>> /Users/struberg/.m2/repository/org/apache/openjpa/openjpa-all/2.4.0.
>> [INFO] [ERROR] Make sure openjpa.lib property value is correct in
>> build.properties file.
>> [INFO] [ERROR] -> [Help 1]
>> [INFO] [ERROR]
>> [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven
>> with the -e switch.
>> 
>> 
>> This is a PERFECT build cycle. openbooks/build.xml references openjpa-all.
>> But this only gets built later in the process :/
>> 
>> LieGrue,
>> strub
>> 
>> 
>>> Am 18.04.2015 um 09:24 schrieb Romain Manni-Bucau <rmannibu...@gmail.com
>>> :
>>> 
>>> +1
>>> Le 18 avr. 2015 08:53, "Mark Struberg" <strub...@yahoo.de> a écrit :
>>> 
>>>> Hi folks!
>>>> 
>>>> I’m currently running the 2.4.0 release.
>>>> 
>>>> I did _not_ create a branch for it _yet_!
>>>> We can do that later anyway.
>>>> The next step _I_ like to work on do _not_ change the API (no JPA-2.1
>> yet)
>>>> but will be a cleanup of internal stuff. Like getting rid of all non-asm
>>>> bytecode stuff and of course fix bugs.
>>>> 
>>>> LieGrue,
>>>> strub
>> 
>> 

Reply via email to