openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreelatha S <sreelat...@yahoo.com>
Subject Re: Issue compiling OpenJPA source using Maven 3.0 (JDK 1.5)
Date Mon, 15 Nov 2010 03:43:21 GMT
Hello

My OS is Windows XP Vesion 5.1 ServicePack 3, I am using SunJDK 1.6 Update 22, Maven 3.0
I get the following when i do a testCompile, (seems to have gone thru well)
======================================================
.....
....
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence/2.1.0-SNAPSHOT/maven-metadata.xml (375 B at 0.3 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence/2.1.0-SNAPSHOT/openjpa-persistence-2.1.0-20101114.073347-113.pom
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence/2.1.0-SNAPSHOT/openjpa-persistence-2.1.0-20101114.073347-113.pom (3 KB
 at 1.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.5 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-j
dbc/2.1.0-SNAPSHOT/openjpa-jdbc-2.1.0-20101114.073347-105.jar
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence/2.1.0-SNAPSHOT/openjpa-persistence-2.1.0-20101114.073347-113.jar
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence/2.1.0-SNAPSHOT/openjpa-persistence-2.1.0-20101114.073347-113.jar (783
KB at 39.8 KB/sec)
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-jd
bc/2.1.0-SNAPSHOT/openjpa-jdbc-2.1.0-20101114.073347-105.jar (1379 KB at 43.3 KB
/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-persi
stence-jdbc ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Persistence Locking Tests 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence-jdbc/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence-jdbc/2.1.0-SNAPSHOT/maven-metadata.xml (380 B at 0.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-10
5.pom
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-105
.pom (53 KB at 20.6 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.5 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-10
5.jar
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-p
ersistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-10
5-tests.jar
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-105
.jar (144 KB at 35.9 KB/sec)
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-pe
rsistence-jdbc/2.1.0-SNAPSHOT/openjpa-persistence-jdbc-2.1.0-20101114.073347-105
-tests.jar (7271 KB at 41.2 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-persi
stence-locking ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA XML Store 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-xmlst
ore ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Slice 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.3 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-slice
 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Aggregate Jar 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-x
mlstore/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-xm
lstore/2.1.0-SNAPSHOT/maven-metadata.xml (372 B at 0.3 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-x
mlstore/2.1.0-SNAPSHOT/openjpa-xmlstore-2.1.0-20101114.073347-101.pom
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-xm
lstore/2.1.0-SNAPSHOT/openjpa-xmlstore-2.1.0-20101114.073347-101.pom (6 KB at 5.
4 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-s
lice/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-sl
ice/2.1.0-SNAPSHOT/maven-metadata.xml (368 B at 0.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-x
mlstore/2.1.0-SNAPSHOT/openjpa-xmlstore-2.1.0-20101114.073347-101.jar
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-xm
lstore/2.1.0-SNAPSHOT/openjpa-xmlstore-2.1.0-20101114.073347-101.jar (29 KB at 7
.9 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Aggregate Jar with Dependencies 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa/2
.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa/2.
1.0-SNAPSHOT/maven-metadata.xml (362 B at 0.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.2 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-all -
--
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Project Docs and Assemblies 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-a
ll/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-al
l/2.1.0-SNAPSHOT/maven-metadata.xml (366 B at 0.3 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ apache-openjp
a ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Examples 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-examp
les ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Examples - Simple 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.2 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ simple ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Examples - image-gallery 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ image-gallery
 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Examples - OpenBooks 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openbooks ---

[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - Daytrader 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.2 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-daytrader ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - Examples 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.5 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-examples ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - SLF4JLogFactory 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.4 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-slf4j ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - JPA TCK 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-tck ---
[INFO] No sources to compile
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - Bean Validation 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.5 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-validation ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJPA Integration Tests - JMX Platform MBeans 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-k
ernel/2.1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/openjpa/openjpa-ke
rnel/2.1.0-SNAPSHOT/maven-metadata.xml (370 B at 0.5 KB/sec)
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ openjpa-integ
ration-jmx ---
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenJPA Parent POM ................................ SUCCESS [1.922s]
[INFO] OpenJPA Utilities Library ......................... SUCCESS [1.485s]
[INFO] OpenJPA Kernel .................................... SUCCESS [17.375s]
[INFO] OpenJPA JDBC ...................................... SUCCESS [36.890s]
[INFO] OpenJPA Persistence ............................... SUCCESS [1.672s]
[INFO] OpenJPA Persistence JDBC .......................... SUCCESS [1:08.235s]
[INFO] OpenJPA Persistence Locking Tests ................. SUCCESS [3:02.546s]
[INFO] OpenJPA XML Store ................................. SUCCESS [1.063s]
[INFO] OpenJPA Slice ..................................... SUCCESS [3.109s]
[INFO] OpenJPA Aggregate Jar ............................. SUCCESS [9.453s]
[INFO] OpenJPA Aggregate Jar with Dependencies ........... SUCCESS [4.844s]
[INFO] OpenJPA Project Docs and Assemblies ............... SUCCESS [2.250s]
[INFO] OpenJPA Examples .................................. SUCCESS [0.016s]
[INFO] OpenJPA Examples - Simple ......................... SUCCESS [1.594s]
[INFO] OpenJPA Examples - image-gallery .................. SUCCESS [0.921s]
[INFO] OpenJPA Examples - OpenBooks ...................... SUCCESS [1.422s]
[INFO] OpenJPA Integration Tests ......................... SUCCESS [0.000s]
[INFO] OpenJPA Integration Tests - Daytrader ............. SUCCESS [2.063s]
[INFO] OpenJPA Integration Tests - Examples .............. SUCCESS [0.875s]
[INFO] OpenJPA Integration Tests - SLF4JLogFactory ....... SUCCESS [1.078s]
[INFO] OpenJPA Integration Tests - JPA TCK ............... SUCCESS [0.016s]
[INFO] OpenJPA Integration Tests - Bean Validation ....... SUCCESS [0.859s]
[INFO] OpenJPA Integration Tests - JMX Platform MBeans ... SUCCESS [0.906s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:41.297s
[INFO] Finished at: Mon Nov 15 09:06:47 IST 2010
[INFO] Final Memory: 8M/21M
[INFO] ------------------------------------------------------------------------

======================================================


--- On Fri, 11/12/10, Michael Dick <michael.d.dick@gmail.com> wrote:

> From: Michael Dick <michael.d.dick@gmail.com>
> Subject: Re: Issue compiling OpenJPA source using Maven 3.0 (JDK 1.5)
> To: dev@openjpa.apache.org
> Date: Friday, November 12, 2010, 8:58 PM
> Well here's what I'm getting :
> 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) @
> openjpa-persistence-locking ---
> [INFO] Compiling 49 source files to
> /home/mikedd/workspaces/trunk/openjpa-parent/openjpa-persistence-locking/target/test-classes
> [INFO]
> [INFO] --- maven-dependency-plugin:2.1:unpack (unpack) @
> openjpa-persistence-locking ---
> [INFO] Configured Artifact:
> org.apache.openjpa:openjpa-persistence-jdbc:2.1.0-SNAPSHOT:test-jar
> [INFO] Unpacking
> /home/mikedd/workspaces/trunk/openjpa-parent/openjpa-persistence-jdbc/target/test-classes
> to
> 
> /home/mikedd/workspaces/trunk/openjpa-parent/openjpa-persistence-locking/target/test-classes
>    with includes
> org/apache/openjpa/persistence/test/*.class and
> excludes:null
> org.codehaus.plexus.archiver.ArchiverException: The source
> must not be a
> directory.
>     at
> org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:174)
>     at
> org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:107)
> 
> 
> I can send you the full log if you need more context. I
> didn't look into it
> beyond a quick scan, but it looks like there's a problem
> pulling the
> o-p-jdbc tests into the o-p-locking module. Either that's
> happening too
> early for me (before there's a jar, so it defaults to
> targat/test-classes or
> there's a config problem).
> 
> Or of course there's something I haven't thought of :-).
> Maybe I have
> something screwy in my ~/.m2/settings.xml file.
> 
> -mike
> 
> On Thu, Nov 11, 2010 at 8:45 PM, Donald Woods <dwoods@apache.org>
> wrote:
> 
> > Maven 3.0 with Sun 1.6.0_22 on MacOSX, Win7 and Linux
> all worked for me
> > (us_EN).  What locale are you using?  We've
> seen issues before on Apache
> > Geronimo where some files in svn were missing or had
> incorrect
> > svn:mime-type or included Windows specific codepages
> and caused strange
> > failures for Chinese developers.
> >
> >
> > -Donald
> >
> > On 11/11/10 4:53 AM, Sreelatha S wrote:
> > > Got around this issue by using
> javacc-maven-plugin version 2.6 instead of
> > 2.4, and this seems to have resolved this error.
> Thanks.
> > >
> > >
> > > --- On Thu, 11/11/10, Sreelatha S <sreelathae@yahoo.com>
> wrote:
> > >
> > >> From: Sreelatha S <sreelathae@yahoo.com>
> > >> Subject: Re: Issue compiling OpenJPA source
> using Maven 3.0 (JDK 1.5)
> > >> To: dev@openjpa.apache.org
> > >> Date: Thursday, November 11, 2010, 3:11 PM
> > >> Thank you for the responses, as
> > >> suggested I tried to run mvn clean compile by
> pointing to
> > >> Sun JDK 1.6 and I am consistently getting the
> following
> > >> error
> > >> when building the OpenJPA Kernel, is this a
> known problem,
> > >> is there something I need to do to get around
> this problem ?
> > >>
> > >>
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Building OpenJPA Kernel
> 2.1.0-SNAPSHOT
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO]
> > >> [INFO] --- maven-clean-plugin:2.3:clean
> (default-clean) @
> > >> openjpa-kernel ---
> > >> [INFO] Deleting file set:
> > >>
> >
> C:\user-folder\work\OpenSource\svn-work-folder\openjpa-trunk\openjpa-kernel\target
> > >> (included: [**], excluded: [])
> > >> [INFO]
> > >> [INFO] ---
> buildnumber-maven-plugin:1.0-beta-4:create
> > >> (default) @ openjpa-kernel ---
> > >> [INFO]
> > >> [INFO] ---
> maven-enforcer-plugin:1.0-beta-1:enforce
> > >> (default) @ openjpa-kernel ---
> > >> [INFO]
> > >> [INFO] ---
> javacc-maven-plugin:2.4:jjtree-javacc
> > >> (jjtree-javacc-jpql) @ openjpa-kernel ---
> > >> Java Compiler Compiler Version 4.0 (Tree
> Builder)
> > >> (type "jjtree" with no arguments for help)
> > >> Reading from file
> > >>
> >
> C:\user-folder\work\OpenSource\svn-work-folder\openjpa-trunk\openjpa-kernel\src\main\jjtree\org\apache\openjpa\kernel\jpql
> > >> \JPQL.jjt . . .
> > >> File
> > >>
> >
> "C:\user-folder\work\OpenSource\svn-work-folder\openjpa-trunk\openjpa-kernel\target\generated-sources\jjtree\org\apache\openjpa\kernel\
> > >> jpql\Node.java" does not exist.  Will
> create one.
> > >> Annotated grammar generated successfully in
> > >>
> >
> C:\user-folder\work\OpenSource\svn-work-folder\openjpa-trunk\openjpa-kernel\target\generated-sou
> > >>
> rces\jjtree\org\apache\openjpa\kernel\jpql\JPQL.jj
> > >> Java Compiler Compiler Version 4.0 (Parser
> Generator)
> > >> (type "javacc" with no arguments for help)
> > >> Reading from file
> > >>
> >
> C:\user-folder\work\OpenSource\svn-work-folder\openjpa-trunk\openjpa-kernel\target\generated-sources\jjtree\org\apache\ope
> > >> njpa\kernel\jpql\JPQL.jj . . .
> > >>
> ---------------------------------------------------
> > >> constituent[0]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/aether-api-1.7.jar
> > >> constituent[1]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/aether-connector-wagon-1.7.jar
> > >> constituent[2]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/aether-impl-1.7.jar
> > >> constituent[3]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/aether-spi-1.7.jar
> > >> constituent[4]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/aether-util-1.7.jar
> > >> constituent[5]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/commons-cli-1.2.jar
> > >> constituent[6]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-aether-provider-3.0.jar
> > >> constituent[7]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-artifact-3.0.jar
> > >> constituent[8]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-compat-3.0.jar
> > >> constituent[9]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-core-3.0.jar
> > >> constituent[10]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-embedder-3.0.jar
> > >> constituent[11]:
> > >>
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-model-3.0.jar
> > >> constituent[12]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-model-builder-3.0.jar
> > >> constituent[13]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-plugin-api-3.0.jar
> > >> constituent[14]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-repository-metadata-3.0.jar
> > >> constituent[15]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-settings-3.0.jar
> > >> constituent[16]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/maven-settings-builder-3.0.jar
> > >> constituent[17]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/nekohtml-1.9.6.2.jar
> > >> constituent[18]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/plexus-cipher-1.4.jar
> > >> constituent[19]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/plexus-component-annotations-1.5.5.jar
> > >> constituent[20]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/plexus-interpolation-1.14.jar
> > >> constituent[21]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/plexus-sec-dispatcher-1.3.jar
> > >> constituent[22]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/plexus-utils-2.0.4.jar
> > >> constituent[23]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/sisu-guice-2.1.7-noaop.jar
> > >> constituent[24]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/sisu-inject-bean-1.4.2.jar
> > >> constituent[25]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/sisu-inject-plexus-1.4.2.jar
> > >> constituent[26]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/wagon-file-1.0-beta-6.jar
> > >> constituent[27]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/wagon-http-lightweight-1.0-beta-6.jar
> > >> constituent[28]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/wagon-http-shared-1.0-beta-6.jar
> > >> constituent[29]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/wagon-provider-api-1.0-beta-6.jar
> > >> constituent[30]:
> > >>
> >
> file:/C:/install-location/Maven/apache-maven-3.0/lib/xercesMinimal-1.9.6.2.jar
> > >>
> ---------------------------------------------------
> > >> Exception in thread "main" java.lang.Error:
> Invalid escape
> > >> character at line 1 column 64.
> > >>         at
> > >>
> org.javacc.parser.JavaCharStream.readChar(Unknown Source)
> > >>         at
> > >>
> org.javacc.parser.JavaCCParserTokenManager.getNextToken(Unknown
> > >> Source)
> > >>         at
> > >> org.javacc.parser.JavaCCParser.jj_ntk(Unknown
> Source)
> > >>         at
> > >>
> org.javacc.parser.JavaCCParser.javacc_options(Unknown
> > >> Source)
> > >>         at
> > >>
> org.javacc.parser.JavaCCParser.javacc_input(Unknown Source)
> > >>         at
> > >> org.javacc.parser.Main.mainProgram(Unknown
> Source)
> > >>         at
> > >>
> org.codehaus.mojo.javacc.JavaCC.execute(JavaCC.java:413)
> > >>         at
> > >>
> org.codehaus.mojo.javacc.ToolFacade.run(ToolFacade.java:92)
> > >>         at
> > >>
> >
> org.codehaus.mojo.javacc.JJTreeJavaCCMojo.processGrammar(JJTreeJavaCCMojo.java:297)
> > >>         at
> > >>
> >
> org.codehaus.mojo.javacc.AbstractJavaCCMojo.execute(AbstractJavaCCMojo.java:333)
> > >>         at
> > >>
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > >>         at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > >>         at
> > >>
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
> > >>         at
> > >>
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> > >>         at
> > >>
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> > >>         at
> > >>
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> > >>         at
> > >>
> org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> > >>         at
> > >>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>         at
> > >>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>         at
> > >>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>         at
> > >>
> java.lang.reflect.Method.invoke(Method.java:597)
> > >>         at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > >>         at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > >>         at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > >>         at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > >>
> > >>
> > >>
> > >> --- On Wed, 11/10/10, Michael Dick <michael.d.dick@gmail.com>
> > >> wrote:
> > >>
> > >>> From: Michael Dick <michael.d.dick@gmail.com>
> > >>> Subject: Re: Issue compiling OpenJPA
> source using
> > >> Maven 3.0 (JDK 1.5)
> > >>> To: dev@openjpa.apache.org
> > >>> Date: Wednesday, November 10, 2010, 8:53
> PM
> > >>> Looks like it's trunk (earlier
> > >>> versions use the compiler plugin at
> version
> > >>> 2.3.1, not 2.3.2), so you'll need jdk 6.
> > >>>
> > >>> FWIW I just tried mvn clean compile with
> Maven 3.0,
> > >> Sun JDK
> > >>> 6 and it
> > >>> completed with no errors.
> > >>>
> > >>> -mike
> > >>>
> > >>> On Wed, Nov 10, 2010 at 7:53 AM, Kevin
> Sutter <kwsutter@gmail.com>
> > >>> wrote:
> > >>>
> > >>>> Hi,
> > >>>> What version of OpenJPA are you
> attempting to
> > >>> build?  The mainline trunk
> > >>>> build requires Java 6.  I know
> that Donald has
> > >>> been doing some
> > >>>> experimentation with Maven 3, but I'm
> not
> > >> positive if
> > >>> it's ready yet.  The
> > >>>> current build dependencies are
> documented on
> > >> this
> > >>> page:
> > >>>>
> > >>>> http://openjpa.apache.org/build-and-runtime-dependencies.html
> > >>>>
> > >>>> Kevin
> > >>>>
> > >>>> On Wed, Nov 10, 2010 at 7:09 AM,
> Sreelatha S
> > >> <sreelathae@yahoo.com>
> > >>> wrote:
> > >>>>
> > >>>>>
> > >>>>> Hello,
> > >>>>>
> > >>>>> I am attempting to compile the
> source for
> > >> the
> > >>> OpenJPA using Maven version
> > >>>>>
> > >>>>> Apache Maven 3.0 (r1004208;
> 2010-10-04
> > >>> 17:20:56+0530)
> > >>>>> Java version: 1.5.0
> > >>>>> Java home:
> > >>>
> C:\install-location\WebSphere\AppServer\java\jre
> > >>>>> Default locale: en_US, platform
> encoding:
> > >> Cp1252
> > >>>>> OS name: "windows xp" version:
> "5.1 build
> > >> 2600
> > >>> service pack 3" arch:
> > >>>> "x86"
> > >>>>> Famil
> > >>>>> y: "dos"
> > >>>>>
> > >>>>>
> > >>>>> And I constant get the following
> error
> > >>>>> [ERROR] -> [Help 1]
> > >>>>>
> > >>>
> > >>
> org.apache.maven.lifecycle.LifecycleExecutionException:
> > >>> Failed to execute
> > >>>>> goal o
> > >>>>>
> > >>>
> > >>
> rg.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> > >>>>> (default-compile) on
> > >>>>>   project
> openjpa-lib: Compilation failure
> > >>>>> Failure executing javac, but
> could not parse
> > >> the
> > >>> error:
> > >>>>> javac: invalid flag: -s
> > >>>>> Usage: javac <options>
> <source
> > >>> files>
> > >>>>>
> > >>>>> Can some one tell me how to
> correct this.
> > >>> Thanks.
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> >
> 


      

Mime
View raw message