Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BB68430C for ; Sun, 12 Jun 2011 21:42:15 +0000 (UTC) Received: (qmail 12325 invoked by uid 500); 12 Jun 2011 21:42:15 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 12269 invoked by uid 500); 12 Jun 2011 21:42:15 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 12261 invoked by uid 99); 12 Jun 2011 21:42:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 21:42:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 21:42:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 75845416E0F for ; Sun, 12 Jun 2011 21:41:51 +0000 (UTC) Date: Sun, 12 Jun 2011 21:41:51 +0000 (UTC) From: "Ognjen Blagojevic (JIRA)" To: dev@openjpa.apache.org Message-ID: <1294327831.1520.1307914911462.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1865692263.3363.1307547119001.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OPENJPA-2009) OpenJPA trunk won't compile if folder %m2_home%/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048436#comment-13048436 ] Ognjen Blagojevic commented on OPENJPA-2009: -------------------------------------------- 'mvn install' also works for me. 'mvn compile' of top level OpenJPA project fails. 'mvn compile' of openjpa-examples, or openbooks works ok. Steps to reproduce: 1. Checkout top level OpenJPA trunk (http://svn.apache.org/repos/asf/openjpa/trunk) 2. make sure that %MAVEN_REPO%/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT does not exist 3. mvn compile (at the top level) > OpenJPA trunk won't compile if folder %m2_home%/org/apache/openjpa/openjpa-all/2.2.0-SNAPSHOT does not exist > ------------------------------------------------------------------------------------------------------------ > > Key: OPENJPA-2009 > URL: https://issues.apache.org/jira/browse/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 > 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. > Workaround: > 1. add > > > org.apache.openjpa > openjpa-all > 2.2.0-SNAPSHOT > > > 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: http://www.atlassian.com/software/jira