openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk
Date Wed, 28 Mar 2007 22:25:25 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485012
] 

Jacek Laskowski commented on OPENJPA-186:
-----------------------------------------

mvn package -Dtest=false did the trick. mvn clean package works now too! mvn install fails.
See the following build error (after the successful build message). It looks install isn't
for faint-hearted.  It should be documented somewhere on the website. 

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] OpenJPA ............................................... SUCCESS [1.328s]
[INFO] OpenJPA Utilities ..................................... SUCCESS [29.250s]
[INFO] OpenJPA Kernel ........................................ SUCCESS [15.453s]
[INFO] OpenJPA JDBC .......................................... SUCCESS [12.203s]
[INFO] OpenJPA XML Store ..................................... SUCCESS [0.407s]
[INFO] OpenJPA Kernel 1.5 .................................... SUCCESS [0.312s]
[INFO] OpenJPA JDBC 1.5 ...................................... SUCCESS [0.297s]
[INFO] OpenJPA JPA ........................................... SUCCESS [2.015s]
[INFO] OpenJPA JPA JDBC ...................................... SUCCESS [11.203s]
[INFO] OpenJPA Aggregate Jar ................................. SUCCESS [20.438s]
[INFO] OpenJPA Persistence Examples .......................... SUCCESS [0.562s]
[INFO] OpenJPA Distribution .................................. SUCCESS [35.578s]
[INFO] OpenJPA Integration Tests ............................. SUCCESS [0.000s]
[INFO] OpenJPA Examples Integration Tests .................... SUCCESS [0.000s]
[INFO] OpenJPA JPA TCK Integration Tests ..................... SUCCESS [0.000s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 9 seconds
[INFO] Finished at: Thu Mar 29 00:07:18 CEST 2007
[INFO] Final Memory: 26M/254M
[INFO] ------------------------------------------------------------------------

     [echo] Running Sun JPA TCK
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The TCK file C:\.m2/../privaterepos/jpa-1_0a-tck.zip does not exist. This
file must be downloaded separately in order to be able to run the JPA TCK
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 36 seconds
[INFO] Finished at: Thu Mar 29 00:18:28 CEST 2007
[INFO] Final Memory: 35M/254M
[INFO] ------------------------------------------------------------------------

> Build failure of OpenJPA sources from trunk
> -------------------------------------------
>
>                 Key: OPENJPA-186
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-186
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: build / infrastructure
>    Affects Versions: 0.9.7
>            Reporter: Jacek Laskowski
>         Assigned To: Marc Prud'hommeaux
>             Fix For: 0.9.7
>
>         Attachments: OPENJPA-186-builderror-2.txt, OPENJPA-186.buildfailure.txt, OPENJPA-186.patch
>
>
> (I have sent it to the mailing list on March 26th, but it didn't get through)
> As I'm not alone with the build failure, see http://www.nabble.com/error-building-openjpa-tf3478705.html,
here goes the issue report.
> I've been trying to build OpenJPA source from trunk for a couple of days and no joy so
far. Anything missing?
> jlaskowski@dev /cygdrive/c/oss/openjpa
> $ svn up
> At revision 522565.
> jlaskowski@dev /cygdrive/c/oss/openjpa
> $ svn status
> jlaskowski@dev /cygdrive/c/oss/openjpa
> $ mvn clean install
> [INFO] Executing tasks
>     [echo] Revision: 406193:522097
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: delete sun.misc.Perf}]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 33 source files to
> c:\oss\openjpa\openjpa-lib\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> c:\oss\openjpa\openjpa-lib\target\surefire-reports
> [INFO] Building jar: c:\DOCUME~1\JLASKO~1\LOCALS~1\Temp\surefirebooter30238.jar
> java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Mon Mar 26 19:16:09 CEST 2007
> [INFO] Final Memory: 21M/254M
> [INFO] ------------------------------------------------------------------------
> jlaskowski@dev /cygdrive/c/oss/openjpa
> $ mvn -v
> Maven version: 2.0.5
> jlaskowski@dev /cygdrive/c/oss/openjpa
> $ java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message