You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by emiddio-verizon <em...@verizon.net> on 2010/01/08 04:40:32 UTC

building http://www.apache.org/dyn/closer.cgi/openjpa/2.0.0-M3/apache-openjpa-2.0.0-M3-source.zip

http://www.apache.org/dyn/closer.cgi/openjpa/2.0.0-M3/apache-openjpa-2.0.0-M3-source.zip

i can build the current openJPA2.0 trunk successfully.

i cannot build the source referenced above;

typically problem is missing/un-download-able required artifacts/jars

or appears to be complaints about missing newlines in files ---see below

how do i fix???

............
starting audit...
C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\ObjectData.java:0: 
File does not end with a newline.
C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLConfiguration.java:0: 
File does not end with a newline.
C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLFileHandler.java:0: 
File does not end with a newline.
C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLStore.java:0: 
File does not end with a newline.
C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLStoreManager.java:0: 
File does not end with a newline.
Audit done.

Error for project: OpenJPA XML Store (during install)
------------------------------------------------------------------------
An error has occurred in Checkstyle report generation.

Embedded error: There are 5 checkstyle errors.
------------------------------------------------------------------------
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has 
occurred in Checkstyle report generation.
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
         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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An error has 
occurred in Checkstyle report generation.
         at 
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:79)
         at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
         ... 16 more
Caused by: org.apache.maven.reporting.MavenReportException: There are 5 
checkstyle errors.
         at 
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(CheckstyleReport.java:955)
         at 
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:635)
         at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
         at 
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)
         ... 18 more
------------------------------------------------------------------------
  + Ignoring failures
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: 8 seconds
Finished at: Thu Jan 07 19:38:01 PST 2010
Final Memory: 18M/118M
------------------------------------------------------------------------


Re: building http://www.apache.org/dyn/closer.cgi/openjpa/2.0.0-M3/apache-openjpa-2.0.0-M3-source.zip

Posted by Donald Woods <dw...@apache.org>.
Which level of Maven and Java JDK are you using?
I built the original M3 release using Maven 2.0.10 and the latest Sun 
1.6.0 JDK at the time.

Also, the reported errors look like a file extract problem.  Can you 
verify that the listed files below are valid (are not 0 byte length)?


-Donald


emiddio-verizon wrote:
> http://www.apache.org/dyn/closer.cgi/openjpa/2.0.0-M3/apache-openjpa-2.0.0-M3-source.zip 
> 
> 
> i can build the current openJPA2.0 trunk successfully.
> 
> i cannot build the source referenced above;
> 
> typically problem is missing/un-download-able required artifacts/jars
> 
> or appears to be complaints about missing newlines in files ---see below
> 
> how do i fix???
> 
> ............
> starting audit...
> C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\ObjectData.java:0: 
> File does not end with a newline.
> C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLConfiguration.java:0: 
> File does not end with a newline.
> C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLFileHandler.java:0: 
> File does not end with a newline.
> C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLStore.java:0: 
> File does not end with a newline.
> C:\Sun\apache-openjpa-2.0.0-M3-source2\apache-openjpa-2.0.0-M3-source\openjpa-xmlstore\src\main\java\org\apache\openjpa\xmlstore\XMLStoreManager.java:0: 
> File does not end with a newline.
> Audit done.
> 
> Error for project: OpenJPA XML Store (during install)
> ------------------------------------------------------------------------
> An error has occurred in Checkstyle report generation.
> 
> Embedded error: There are 5 checkstyle errors.
> ------------------------------------------------------------------------
> Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has 
> occurred in Checkstyle report generation.
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
> 
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>         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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An error has 
> occurred in Checkstyle report generation.
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:79) 
> 
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) 
> 
>         ... 16 more
> Caused by: org.apache.maven.reporting.MavenReportException: There are 5 
> checkstyle errors.
>         at 
> org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(CheckstyleReport.java:955) 
> 
>         at 
> org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:635) 
> 
>         at 
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) 
> 
>         at 
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73) 
> 
>         ... 18 more
> ------------------------------------------------------------------------
>  + Ignoring failures
> ------------------------------------------------------------------------
> BUILD SUCCESSFUL
> ------------------------------------------------------------------------
> Total time: 8 seconds
> Finished at: Thu Jan 07 19:38:01 PST 2010
> Final Memory: 18M/118M
> ------------------------------------------------------------------------
> 
>