Hello,
I've downloaded the jackrabbit-1.6.0-src.jar and I've tried to build all the
components.
When it comes to build jackrabbit-core-1.6.0 I get this error:
------------------------------------<FROM maven -e install
CONSOLE>--------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Building Jackrabbit Core
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-resources-
plugin:2.3. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-compiler-p
lugin:2.0.2. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-resources-
plugin:2.3. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-compiler-p
lugin:2.0.2. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-jar-plugin
:2.2. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-compiler-p
lugin:2.0.2. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-resources-
plugin:2.3. The plugin artifact has changed.
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-jar-plugin
:2.2. The plugin artifact has changed.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 60 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 662 source files to
D:\test\jackrabbit-1.6.0\jackrabbit-core\ta
rget\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Error while executing the compiler.
Java heap space
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error
compiling
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:703)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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: Fatal error
compiling
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:498)
at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
... 16 more
Caused by: org.codehaus.plexus.compiler.CompilerException: Error while
executing
the compiler.
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:434)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
r.java:141)
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:493)
... 19 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:420)
... 21 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:315)
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:310)
at java.util.jar.Manifest.read(Manifest.java:178)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:165)
at java.util.jar.JarFile.getManifest(JarFile.java:146)
at
sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:693)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:221)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(Isol
atedClassLoader.java:56)
at
java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2383)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
at com.sun.tools.javac.util.Messages.add(Messages.java:66)
at com.sun.tools.javac.util.Messages.<init>(Messages.java:52)
at com.sun.tools.javac.main.Main.getLocalizedString(Main.java:447)
at com.sun.tools.javac.main.Main.resourceMessage(Main.java:421)
at com.sun.tools.javac.main.Main.compile(Main.java:364)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 55 seconds
[INFO] Finished at: Tue Apr 14 14:48:22 EEST 2009
[INFO] Final Memory: 43M/63M
[INFO]
------------------------------------------------------------------------
D:\test\jackrabbit-1.6.0>
--------------------------------------------------------------------------------------------------------------------------------------
Does anyone know where can I have the prebuilt components, as I searched
already Maven central repository and didn't find anything.
Best regards,
Dan Damian