Problem with building the src
Posted: Thu Apr 07, 2011 12:47 pm
Hello,
I am trying to build LogicalDoc CE 6.1 from its source code.
When I execute mvn install using Maven version 2.0.10 I get the following build error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to initialise extensions
Component descriptor role: 'org.apache.maven.wagon.CommandExecutor', implementation: 'org.apache.maven.wagon.providers.ssh.jsch.ScpCommandExecutor', role hint: 'scp' has a hint, but there are other implementations that don't
When I use Maven version 2.2.1 I get this error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error resolving version for 'org.apache.maven.plugins:maven-site-plugin': Plugin requires Maven version 3.0
And finally when I use Maven 3.0.3, this error shows up:
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
My environment:
Java 1.6
Ant 1.8.2
I have no problem building the prior versions to 6.1
Could you please assist me with this issue.
Cheers
I am trying to build LogicalDoc CE 6.1 from its source code.
When I execute mvn install using Maven version 2.0.10 I get the following build error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to initialise extensions
Component descriptor role: 'org.apache.maven.wagon.CommandExecutor', implementation: 'org.apache.maven.wagon.providers.ssh.jsch.ScpCommandExecutor', role hint: 'scp' has a hint, but there are other implementations that don't
When I use Maven version 2.2.1 I get this error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error resolving version for 'org.apache.maven.plugins:maven-site-plugin': Plugin requires Maven version 3.0
And finally when I use Maven 3.0.3, this error shows up:
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
My environment:
Java 1.6
Ant 1.8.2
I have no problem building the prior versions to 6.1
Could you please assist me with this issue.
Cheers