First run a complete installation mvn clean install -DskipTests
fastinstall on 2.x doesn't work like on master, it's older and it doesn't have the enhancements done by Guillaume. So first run should be done normally, then you can try to use the fastinstall profile. Il giorno gio 17 ott 2019 alle ore 12:04 Omar Al-Safi <[email protected]> ha scritto: > Hello guys, > > I have a very weird issue with with maven locally, whenever I try to build > camel-2.24.2, my build fails with the following error with no further > information: > [INFO] Camel :: Tooling ................................... SUCCESS [ > 0.025 s] > [INFO] Camel :: Maven Plugins ............................. SUCCESS [ > 0.127 s] > [INFO] Camel :: Maven Plugins :: BOM Generator ............ FAILURE [ > 3.760 s] > [INFO] Camel :: BOM :: Generator .......................... SKIPPED > .. > ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile > (default-compile) on project bom-generator-maven-plugin: Compilation > failure -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile > (default-compile) on project bom-generator-maven-plugin: Compilation > failure > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:154) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:146) > .. > Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: > Compilation failure > at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute > (AbstractCompilerMojo.java:1219) > at org.apache.maven.plugin.compiler.CompilerMojo.execute > (CompilerMojo.java:188) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:208) > .. > I am using mvn clean install -P fastinstall -e to build it and I > have deleted my local maven repo in order to make sure it doesnt conflict > with 3.X build. However it always fails with the above error with no > further info to debug, any hints what I could do about it? > P/S: I recall I used to build the branch 2.x fine last month but not sure > why it is misbehaving now :/ or maybe I did something wrong somewhere? > > P/S: I am using jdk8 > > Regards, > Omar >
