openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ognjen Blagojevic (JIRA)" <>
Subject [jira] [Created] (OPENJPA-2009) OpenJPA trunk won't compile if folder %m2_home%/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT does not exist
Date Wed, 08 Jun 2011 15:31:58 GMT
OpenJPA trunk won't compile if folder %m2_home%/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT
does not exist

                 Key: OPENJPA-2009
             Project: OpenJPA
          Issue Type: Bug
         Environment: Windows XP, Maven 2.2.1, Oracle JDK 1.6.0_24
            Reporter: Ognjen Blagojevic
            Priority: Minor

With clean maven repo, when running mvn compile it fails with message:

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

     [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

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this
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 file.


1. add


to openjpa-examples\pom.xml, run:

2. Fetch jar file using:

  cd openjpa-examples
  mvn dependency:tree

3. Return to root and compile:

  cd ..
  mvn compile

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message