Hi Thomas,

Can you try mvn clean install -DskipTests ?

Regards
JB

On 10/14/2016 01:47 PM, Thomas Termin wrote:
Hello,

why is it not possible to build the karaf source code? If I download the
src for 4.0.7 or checkout the tag and try to build karaf with mvn
-Pfastinstall I always get the output below. It seems that there are
missing dependencies on apache.commons. What do I wrong?

Regards,
Thomas


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
(default-compile) on project karaf-maven-plugin: Compilation failure:
Compilation failure:
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency30Helper.java:[22,46]
package org.apache.commons.lang.reflect does not exist
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency30Helper.java:[22,1]
static import only from classes and interfaces
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java:[50,46]
package org.apache.commons.lang.reflect does not exist
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java:[50,1]
static import only from classes and interfaces
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency30Helper.java:[22,46]
package org.apache.commons.lang.reflect does not exist
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency30Helper.java:[22,1]
static import only from classes and interfaces
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java:[50,46]
package org.apache.commons.lang.reflect does not exist
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java:[50,1]
static import only from classes and interfaces
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency30Helper.java:[95,25]
cannot find symbol
[ERROR] symbol:   method
invokeMethod(org.apache.maven.project.ProjectBuildingRequest,java.lang.String,org.sonatype.aether.RepositorySystemSession)
[ERROR] location: class org.apache.karaf.tooling.utils.Dependency30Helper
[ERROR]
/local/tterm/apache-karaf-4.0.7/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/Dependency31Helper.java:[91,25]
cannot find symbol
[ERROR] symbol:   method
invokeMethod(org.apache.maven.project.ProjectBuildingRequest,java.lang.String,org.eclipse.aether.RepositorySystemSession)
[ERROR] location: class org.apache.karaf.tooling.utils.Dependency31Helper
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :karaf-maven-plugin


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to