Closed MedhaSrivatsa closed 9 years ago
hi Medha, have you set JAVA_7_HOME environment variable?
profiler-optional project requires JAVA_7_HOME environment variable set to a JDK7 home directory.
Yes. My /etc/environment is as follows:
JAVA_7_HOME=/usr/lib/jvm/java-7-oracle/jre/bin/java PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/apache-maven/apache-maven-3.3.1/bin"
It seems like the JAVA_7_HOME is set to a jre executable.
If your /usr/lib/jvm/java-7-oracle
is a jre installation, you'll need a jdk installation.
If the above package is a jdk installation, you'll need to set it to its home directory -
JAVA_7_HOME=/usr/lib/jvm/java-7-oracle
Please give it a whirl and let us know how it goes.
JAVA_7_HOME=/usr/local/java/jdk1.7.0_75 JAVA_6_HOME=/usr/lib/jvm/java-6-oracle
Pinpoint-profiler-optional successfully compiled.
But, build failure at: [INFO] Reactor Summary: [INFO] [INFO] pinpoint ........................................... SUCCESS [ 0.320 s] [INFO] pinpoint-thrift .................................... SUCCESS [ 4.472 s] [INFO] pinpoint-commons ................................... SUCCESS [ 4.391 s] [INFO] pinpoint-bootstrap-core ............................ SUCCESS [ 0.807 s] [INFO] pinpoint-bootstrap ................................. SUCCESS [ 2.068 s] [INFO] pinpoint-rpc ....................................... SUCCESS [ 1.898 s] [INFO] pinpoint-profiler .................................. SUCCESS [ 5.127 s] [INFO] pinpoint-profiler-optional ......................... SUCCESS [ 0.717 s] [INFO] pinpoint-servlet-plugin ............................ SUCCESS [ 0.715 s] [INFO] pinpoint-test ...................................... FAILURE [ 0.291 s] [INFO] pinpoint-tomcat-plugin ............................. SKIPPED [INFO] pinpoint-redis-plugin .............................. SKIPPED [INFO] pinpoint-plugins ................................... SKIPPED [INFO] pinpoint-agent-distribution ........................ SKIPPED [INFO] pinpoint-collector ................................. SKIPPED [INFO] pinpoint-web ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.420 s [INFO] Finished at: 2015-03-18T21:15:28-07:00 [INFO] Final Memory: 27M/302M
This is the result in Debug mode using -X
t/generated-sources/annotations -O -g -deprecation -target 1.6 -source 1.6 -encoding UTF-8
[INFO] Compiling 25 source files to /home/medha/Downloads/pinpoint-master/test/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-api/1.0.1.v20141111/aether-api-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-spi/1.0.1.v20141111/aether-spi-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-util/1.0.1.v20141111/aether-util-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-impl/1.0.1.v20141111/aether-impl-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-connector-basic/1.0.1.v20141111/aether-connector-basic-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-classpath/1.0.1.v20141111/aether-transport-classpath-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-file/1.0.1.v20141111/aether-transport-file-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-http/1.0.1.v20141111/aether-transport-http-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-wagon/1.0.1.v20141111/aether-transport-wagon-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/apache/maven/maven-aether-provider/3.2.5/maven-aether-provider-3.2.5.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar; error in opening zip file
[INFO] 11 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] pinpoint ........................................... SUCCESS [ 0.318 s]
[INFO] pinpoint-thrift .................................... SUCCESS [ 4.374 s]
[INFO] pinpoint-commons ................................... SUCCESS [ 4.289 s]
[INFO] pinpoint-bootstrap-core ............................ SUCCESS [ 0.846 s]
[INFO] pinpoint-bootstrap ................................. SUCCESS [ 2.080 s]
[INFO] pinpoint-rpc ....................................... SUCCESS [ 1.862 s]
[INFO] pinpoint-profiler .................................. SUCCESS [ 4.865 s]
[INFO] pinpoint-profiler-optional ......................... SUCCESS [ 0.697 s]
[INFO] pinpoint-servlet-plugin ............................ SUCCESS [ 0.719 s]
[INFO] pinpoint-test ...................................... FAILURE [ 0.285 s]
[INFO] pinpoint-tomcat-plugin ............................. SKIPPED
[INFO] pinpoint-redis-plugin .............................. SKIPPED
[INFO] pinpoint-plugins ................................... SKIPPED
[INFO] pinpoint-agent-distribution ........................ SKIPPED
[INFO] pinpoint-collector ................................. SKIPPED
[INFO] pinpoint-web ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.983 s
[INFO] Finished at: 2015-03-18T21:22:10-07:00
[INFO] Final Memory: 27M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-test: Compilation failure: Compilation failure:
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-api/1.0.1.v20141111/aether-api-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-spi/1.0.1.v20141111/aether-spi-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-util/1.0.1.v20141111/aether-util-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-impl/1.0.1.v20141111/aether-impl-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-connector-basic/1.0.1.v20141111/aether-connector-basic-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-classpath/1.0.1.v20141111/aether-transport-classpath-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-file/1.0.1.v20141111/aether-transport-file-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-http/1.0.1.v20141111/aether-transport-http-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/eclipse/aether/aether-transport-wagon/1.0.1.v20141111/aether-transport-wagon-1.0.1.v20141111.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/org/apache/maven/maven-aether-provider/3.2.5/maven-aether-provider-3.2.5.jar; error in opening zip file
[ERROR] error: error reading /home/medha/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar; error in opening zip file
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-test: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:745)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:118)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[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
It seems like the JAR files in your local maven repository may be corrupted. Could you remove(delete) the jar files below and try running maven again?
/home/medha/.m2/repository/org/eclipse/aether/aether-api/1.0.1.v20141111/aether-api-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-spi/1.0.1.v20141111/aether-spi-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-util/1.0.1.v20141111/aether-util-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-impl/1.0.1.v20141111/aether-impl-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-connector-basic/1.0.1.v20141111/aether-connector-basic-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-transport-classpath/1.0.1.v20141111/aether-transport-classpath-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-transport-file/1.0.1.v20141111/aether-transport-file-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-transport-http/1.0.1.v20141111/aether-transport-http-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/eclipse/aether/aether-transport-wagon/1.0.1.v20141111/aether-transport-wagon-1.0.1.v20141111.jar
/home/medha/.m2/repository/org/apache/maven/maven-aether-provider/3.2.5/maven-aether-provider-3.2.5.jar
/home/medha/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
It could also be due to the remote maven repository that provides the above jar files being inaccessible for whatever reason, but this is unlikely.
I deleted the above jars. Now pinpoint-servlet-plugin failed to compile.
[INFO] Changes detected - recompiling the module! [DEBUG] Classpath: [DEBUG] /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes [DEBUG] /home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar [DEBUG] /home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar [DEBUG] /home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar [DEBUG] /home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar [DEBUG] /home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar [DEBUG] /home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar [DEBUG] /home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar [DEBUG] /home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar [DEBUG] /home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar [DEBUG] /home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar [DEBUG] /home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar [DEBUG] /home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar [DEBUG] /home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar [DEBUG] /home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar [DEBUG] /home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar [DEBUG] Source roots: [DEBUG] /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java [DEBUG] Excutable: [DEBUG] ${env.JAVA_6_HOME}/bin/javac [DEBUG] Command line options: [DEBUG] -d /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes -classpath /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes:/home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar:/home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar:/home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar:/home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar:/home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar:/home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar:/home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar:/home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar:/home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar:/home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar:/home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar:/home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar: -sourcepath /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java: /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletTypeProvider.java /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletConstants.java /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletPlugin.java -s /home/medha/Downloads/pinpoint-master/plugins/servlet/target/generated-sources/annotations -O -g -deprecation -target 1.6 -source 1.6 -encoding UTF-8 [INFO] Compiling 3 source files to /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] pinpoint ........................................... SUCCESS [ 0.311 s] [INFO] pinpoint-thrift .................................... SUCCESS [ 1.255 s] [INFO] pinpoint-commons ................................... SUCCESS [ 2.129 s] [INFO] pinpoint-bootstrap-core ............................ SUCCESS [ 0.069 s] [INFO] pinpoint-bootstrap ................................. SUCCESS [ 0.559 s] [INFO] pinpoint-rpc ....................................... SUCCESS [ 0.085 s] [INFO] pinpoint-profiler .................................. SUCCESS [ 0.316 s] [INFO] pinpoint-profiler-optional ......................... SUCCESS [ 0.046 s] [INFO] pinpoint-servlet-plugin ............................ FAILURE [ 0.067 s] [INFO] pinpoint-test ...................................... SKIPPED [INFO] pinpoint-tomcat-plugin ............................. SKIPPED [INFO] pinpoint-redis-plugin .............................. SKIPPED [INFO] pinpoint-plugins ................................... SKIPPED [INFO] pinpoint-agent-distribution ........................ SKIPPED [INFO] pinpoint-collector ................................. SKIPPED [INFO] pinpoint-web ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.474 s [INFO] Finished at: 2015-03-18T22:13:44-07:00 [INFO] Final Memory: 27M/303M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-servlet-plugin: Compilation failure -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-servlet-plugin: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:749) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:118) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more
Could you rerun maven using Debug mode (-X) and paste the log please?
Thanks!
Seems like the debug log is too long =(
The log from pinpoint-servlet-plugin would suffice.
I should've been clearer, apologies.
[INFO] Building pinpoint-servlet-plugin 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: com.navercorp.pinpoint:pinpoint-servlet-plugin:1.1.0-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [compile, runtime, test] [DEBUG] Repositories (dependencies): [cubrid.release.repository (http://maven.cubrid.org, default, releases+snapshots), cloudera (https://repository.cloudera.com/artifactory/cloudera-repos/, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [codehaus repository (http://repository.codehaus.org, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.6:testResources (default-testResources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:2.4:jar (default-jar) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=41, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=25, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=40, DefaultDependencyCollector.collectTime=3, DefaultDependencyCollector.transformTime=1}
[DEBUG] com.navercorp.pinpoint:pinpoint-servlet-plugin:jar:1.1.0-SNAPSHOT
[DEBUG] com.navercorp.pinpoint:pinpoint-profiler:jar:1.1.0-SNAPSHOT:compile
[DEBUG] com.navercorp.pinpoint:pinpoint-commons:jar:1.1.0-SNAPSHOT:compile
[DEBUG] com.navercorp.pinpoint:pinpoint-thrift:jar:1.1.0-SNAPSHOT:compile
[DEBUG] com.navercorp.pinpoint:pinpoint-bootstrap-core:jar:1.1.0-SNAPSHOT:compile
[DEBUG] com.navercorp.pinpoint:pinpoint-bootstrap:jar:1.1.0-SNAPSHOT:compile
[DEBUG] com.navercorp.pinpoint:pinpoint-rpc:jar:1.1.0-SNAPSHOT:compile
[DEBUG] io.netty:netty:jar:3.6.6.Final:compile
[DEBUG] com.google.guava:guava:jar:17.0:compile
[DEBUG] org.javassist:javassist:jar:3.18.0-GA:compile
[DEBUG] org.apache.thrift:libthrift:jar:0.9.1:compile
[DEBUG] org.apache.commons:commons-lang3:jar:3.3.2:compile (version managed from 3.1 by com.navercorp.pinpoint:pom:1.1.0-SNAPSHOT)
[DEBUG] org.slf4j:slf4j-api:jar:1.7.5:compile
[DEBUG] org.slf4j:slf4j-log4j12:jar:1.7.5:compile
[DEBUG] log4j:log4j:jar:1.2.16:compile
[DEBUG] com.codahale.metrics:metrics-core:jar:3.0.1:compile
[DEBUG] com.codahale.metrics:metrics-jvm:jar:3.0.1:compile
[DEBUG] org.apache.tomcat:servlet-api:jar:6.0.35:provided
[DEBUG] org.apache.tomcat:catalina:jar:6.0.43:provided
[DEBUG] org.apache.tomcat:juli:jar:6.0.43:provided
[DEBUG] org.apache.tomcat:annotations-api:jar:6.0.43:provided
[DEBUG] org.apache.tomcat:coyote:jar:6.0.43:test
[DEBUG] junit:junit:jar:4.12:test
[DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG] org.hamcrest:hamcrest-library:jar:1.3:test
[DEBUG] org.mockito:mockito-all:jar:1.8.4:test
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pinpoint-servlet-plugin ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:2.6:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:2.6, parent: sun.misc.Launcher$AppClassLoader@20e90906]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.6:resources' with basic configurator -->
DEBUG buildFilters = []
DEBUG encoding = UTF-8
DEBUG escapeWindowsPaths = true
DEBUG includeEmptyDirs = false
DEBUG outputDirectory = /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
DEBUG overwrite = false
DEBUG project = MavenProject: com.navercorp.pinpoint:pinpoint-servlet-plugin:1.1.0-SNAPSHOT @ /home/medha/Downloads/pinpoint-master/plugins/servlet/pom.xml
DEBUG resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java, PatternSet [includes: {}, excludes: {**/_.java}]}}, Resource {targetPath: null, filtering: true, FileSet {directory: /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
DEBUG session = org.apache.maven.execution.MavenSession@4376c011
DEBUG supportMultiLineFiltering = false
DEBUG useBuildFilters = true
DEBUG useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {java.vendor=Oracle Corporation, env.IM_CONFIG_PHASE=1, env.LESSOPEN=| /usr/bin/lesspipe %s, sun.java.launcher=SUN_STANDARD, env.QT_IM_MODULE=ibus, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, os.name=Linux, env.UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1685, sun.boot.class.path=/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes, env.PWD=/home/medha/Downloads/pinpoint-master, sun.desktop=gnome, env.LANG=en_US.UTF-8, java.vm.specification.vendor=Oracle Corporation, httpcomponents.version=4.3, java.runtime.version=1.7.0_76-b13, env.GTK_IM_MODULE=ibus, env.DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path, env.UPSTART_EVENTS=started starting, env.XDG_VTNR=7, env.DISPLAY=:0, user.name=medha, env.QT4_IMMODULE=xim, env.=/usr/local/apache-maven/apache-maven-3.3.1/bin/mvn, maven.build.version=Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T13:10:27-07:00), env.USER=medha, env.SHELL=/bin/bash, env.DESKTOP_SESSION=ubuntu, env.XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/, env.NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, env.PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin/java:/usr/lib/jvm/java-7-oracle/bin/java:/usr/local/apache-maven/apache-maven-3.3.1/bin, env.XDG_CURRENT_DESKTOP=Unity, user.language=en, sun.boot.library.path=/usr/lib/jvm/java-7-oracle/jre/lib/amd64, classworlds.conf=/usr/local/apache-maven/apache-maven-3.3.1/bin/m2.conf, env.TEXTDOMAIN=im-config, env.UPSTART_JOB=unity-settings-daemon, env.SELINUX_INIT=YES, java.version=1.7.0_76, user.timezone=America/Los_Angeles, env.DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qZOvBhpAl1, sun.arch.data.model=64, env.COMPIZ_CONFIG_PROFILE=ubuntu, java.endorsed.dirs=/usr/lib/jvm/java-7-oracle/jre/lib/endorsed, sun.cpu.isalist=, sun.jnu.encoding=UTF-8, file.encoding.pkg=sun.io, env.SHLVL=1, file.separator=/, java.specification.name=Java Platform API Specification, env.GNOME_DESKTOP_SESSION_ID=this-is-deprecated, java.class.version=51.0, env.GDMSESSION=ubuntu, org.slf4j.simpleLogger.defaultLogLevel=debug, user.country=US, env.GNOME_KEYRING_PID=1682, java.home=/usr/lib/jvm/java-7-oracle/jre, java.vm.info=mixed mode, cloverLicenseLocation=/home/medha/Downloads/pinpoint-master/plugins/servlet/clover.license, env.LOGNAME=medha, os.version=3.13.0-46-generic, env.JAVA_7_HOME=/usr/lib/jvm/java-7-oracle, path.separator=:, java.vm.version=24.76-b04, env.UPSTART_INSTANCE=, env.LANGUAGE=en_US, env.TEXTDOMAINDIR=/usr/share/locale/, env.XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, env.QT_QPA_PLATFORMTHEME=appmenu-qt5, env.SESSIONTYPE=gnome-session, env.JAVA_HOME=/usr/lib/jvm/java-7-oracle, java.awt.printerjob=sun.print.PSPrinterJob, env.TERM=xterm, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.X11.XToolkit, env.XMODIFIERS=@im=ibus, metrics.version=3.0.1, env.GDM_LANG=en_US, user.home=/home/medha, env.JOB=gnome-session, env.OLDPWD=/home/medha/Downloads/pinpoint-master, java.specification.vendor=Oracle Corporation, env.VTE_VERSION=3409, env.WINDOWID=27262988, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor.url=http://java.oracle.com/, env.MAVEN_CMD_LINE_ARGS= install -X -Dmaven.test.skip=true, java.vm.vendor=Oracle Corporation, env.XDG_SEAT=seat0, maven.home=/usr/local/apache-maven/apache-maven-3.3.1, java.runtime.name=Java(TM) SE Runtime Environment, jedis.version=2.4.2, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher install -X -Dmaven.test.skip=true, java.class.path=/usr/local/apache-maven/apache-maven-3.3.1/boot/plexus-classworlds-2.5.2.jar, jetty.version=8.1.12.v20130726, env.XDG_SESSION_ID=c2, codehaus.jackson.version=1.9.13, maven.test.skip=true, maven.version=3.3.1, jdk.version=1.6, env.XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, jdk.home=${env.JAVA_6_HOME}, slf4j.version=1.7.5, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.7, sun.cpu.endian=little, sun.os.patch.level=unknown, env.HOME=/home/medha, java.io.tmpdir=/tmp, env.LSCOLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36:, env.XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, fastxml.jackson.version=2.3.1, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, maven.multiModuleProjectDirectory=/home/medha/Downloads/pinpoint-master, env.M3_HOME=/usr/local/apache-maven/apache-maven-3.3.1, env.SSH_AUTH_SOCK=/run/user/1000/keyring-3FySI9/ssh, env.CLUTTER_IM_MODULE=xim, os.arch=amd64, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, env.INSTANCE=Unity, java.ext.dirs=/usr/lib/jvm/java-7-oracle/jre/lib/ext:/usr/java/packages/lib/ext, env.XDG_RUNTIME_DIR=/run/user/1000, user.dir=/home/medha/Downloads/pinpoint-master, env.XAUTHORITY=/home/medha/.Xauthority, env.MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path, env.GTK_MODULES=overlay-scrollbar:unity-gtk-module, line.separator=
, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env.COLORTERM=gnome-terminal, env.XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/medha, env.M3=/usr/local/apache-maven/apache-maven-3.3.1/bin, spring.version=3.2.3.RELEASE, file.encoding=UTF-8, env.GPG_AGENT_INFO=/run/user/1000/keyring-3FySI9/gpg:0:1, java.specification.version=1.7, env.GNOME_KEYRING_CONTROL=/run/user/1000/keyring-3FySI9, env.XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg, encoding=UTF-8, env.MAVEN_PROJECTBASEDIR=/home/medha/Downloads/pinpoint-master, env.LESSCLOSE=/usr/bin/lesspipe %s %s}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java
excludes [_/.java]
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 0 resource
[DEBUG] resource with targetPath null
directory /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/resources
excludes []
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 2 resources
[DEBUG] file com.navercorp.pinpoint.bootstrap.plugin.ProfilerPlugin has a filtered file extension
[DEBUG] filtering /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/resources/META-INF/services/com.navercorp.pinpoint.bootstrap.plugin.ProfilerPlugin to /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes/META-INF/services/com.navercorp.pinpoint.bootstrap.plugin.ProfilerPlugin
[DEBUG] file com.navercorp.pinpoint.common.plugin.TypeProvider has a filtered file extension
[DEBUG] filtering /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/resources/META-INF/services/com.navercorp.pinpoint.common.plugin.TypeProvider to /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes/META-INF/services/com.navercorp.pinpoint.common.plugin.TypeProvider
[DEBUG] no use filter components
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ pinpoint-servlet-plugin ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.0, parent: sun.misc.Launcher$AppClassLoader@20e90906]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.0:compile' with basic configurator -->
DEBUG basedir = /home/medha/Downloads/pinpoint-master/plugins/servlet
DEBUG buildDirectory = /home/medha/Downloads/pinpoint-master/plugins/servlet/target
DEBUG classpathElements = [/home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes, /home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar, /home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar, /home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar, /home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar, /home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar, /home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar, /home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar, /home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar, /home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar, /home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar, /home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar, /home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar, /home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar, /home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar, /home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar, /home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar, /home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar, /home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar, /home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar, /home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar]
DEBUG compileSourceRoots = [/home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java]
DEBUG compilerId = javac
DEBUG compilerVersion = 1.6
DEBUG debug = true
DEBUG encoding = UTF-8
DEBUG executable = ${env.JAVA_6_HOME}/bin/javac
DEBUG failOnError = true
DEBUG forceJavacCompilerUse = false
DEBUG fork = true
DEBUG generatedSourcesDirectory = /home/medha/Downloads/pinpoint-master/plugins/servlet/target/generated-sources/annotations
DEBUG mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.0:compile {execution: default-compile}
DEBUG optimize = true
DEBUG outputDirectory = /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
DEBUG projectArtifact = com.navercorp.pinpoint:pinpoint-servlet-plugin:jar:1.1.0-SNAPSHOT
DEBUG showDeprecation = true
DEBUG showWarnings = false
DEBUG skipMultiThreadWarning = false
DEBUG source = 1.6
DEBUG staleMillis = 0
DEBUG target = 1.6
DEBUG verbose = false
DEBUG mavenSession = org.apache.maven.execution.MavenSession@4376c011
DEBUG session = org.apache.maven.execution.MavenSession@4376c011
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [/home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java]
[DEBUG] Classpath: [/home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
/home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar
/home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar
/home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar
/home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar
/home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar
/home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar
/home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar
/home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar
/home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar
/home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar
/home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
/home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
/home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar
/home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar
/home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar
/home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar
/home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar
/home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar
/home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar
/home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar]
[DEBUG] Output directory: /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
[DEBUG] CompilerReuseStrategy: reuseCreated
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG] /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
[DEBUG] /home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar
[DEBUG] /home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar
[DEBUG] /home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar
[DEBUG] /home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar
[DEBUG] /home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar
[DEBUG] /home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
[DEBUG] /home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
[DEBUG] /home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar
[DEBUG] /home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar
[DEBUG] /home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar
[DEBUG] /home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar
[DEBUG] /home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar
[DEBUG] /home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar
[DEBUG] /home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar
[DEBUG] /home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar
[DEBUG] Source roots:
[DEBUG] /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java
[DEBUG] Excutable:
[DEBUG] ${env.JAVA_6_HOME}/bin/javac
[DEBUG] Command line options:
[DEBUG] -d /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes -classpath /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes:/home/medha/Downloads/pinpoint-master/profiler/target/pinpoint-profiler-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/commons/target/pinpoint-commons-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/thrift/target/pinpoint-thrift-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/bootstrap-core/target/pinpoint-bootstrap-core-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/bootstrap/target/pinpoint-bootstrap-1.1.0-SNAPSHOT.jar:/home/medha/Downloads/pinpoint-master/rpc/target/pinpoint-rpc-1.1.0-SNAPSHOT.jar:/home/medha/.m2/repository/io/netty/netty/3.6.6.Final/netty-3.6.6.Final.jar:/home/medha/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jar:/home/medha/.m2/repository/org/javassist/javassist/3.18.0-GA/javassist-3.18.0-GA.jar:/home/medha/.m2/repository/org/apache/thrift/libthrift/0.9.1/libthrift-0.9.1.jar:/home/medha/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/medha/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/medha/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar:/home/medha/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/medha/.m2/repository/com/codahale/metrics/metrics-core/3.0.1/metrics-core-3.0.1.jar:/home/medha/.m2/repository/com/codahale/metrics/metrics-jvm/3.0.1/metrics-jvm-3.0.1.jar:/home/medha/.m2/repository/org/apache/tomcat/servlet-api/6.0.35/servlet-api-6.0.35.jar:/home/medha/.m2/repository/org/apache/tomcat/catalina/6.0.43/catalina-6.0.43.jar:/home/medha/.m2/repository/org/apache/tomcat/juli/6.0.43/juli-6.0.43.jar:/home/medha/.m2/repository/org/apache/tomcat/annotations-api/6.0.43/annotations-api-6.0.43.jar: -sourcepath /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java: /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletTypeProvider.java /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletConstants.java /home/medha/Downloads/pinpoint-master/plugins/servlet/src/main/java/com/navercorp/pinpoint/plugin/servlet/ServletPlugin.java -s /home/medha/Downloads/pinpoint-master/plugins/servlet/target/generated-sources/annotations -O -g -deprecation -target 1.6 -source 1.6 -encoding UTF-8
[INFO] Compiling 3 source files to /home/medha/Downloads/pinpoint-master/plugins/servlet/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] pinpoint ........................................... SUCCESS [ 0.301 s]
[INFO] pinpoint-thrift .................................... SUCCESS [ 1.246 s]
[INFO] pinpoint-commons ................................... SUCCESS [ 2.086 s]
[INFO] pinpoint-bootstrap-core ............................ SUCCESS [ 0.069 s]
[INFO] pinpoint-bootstrap ................................. SUCCESS [ 0.632 s]
[INFO] pinpoint-rpc ....................................... SUCCESS [ 0.099 s]
[INFO] pinpoint-profiler .................................. SUCCESS [ 0.357 s]
[INFO] pinpoint-profiler-optional ......................... SUCCESS [ 0.035 s]
[INFO] pinpoint-servlet-plugin ............................ FAILURE [ 0.057 s]
[INFO] pinpoint-test ...................................... SKIPPED
[INFO] pinpoint-tomcat-plugin ............................. SKIPPED
[INFO] pinpoint-redis-plugin .............................. SKIPPED
[INFO] pinpoint-plugins ................................... SKIPPED
[INFO] pinpoint-agent-distribution ........................ SKIPPED
[INFO] pinpoint-collector ................................. SKIPPED
[INFO] pinpoint-web ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.526 s
[INFO] Finished at: 2015-03-18T22:26:20-07:00
[INFO] Final Memory: 27M/302M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-servlet-plugin: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-servlet-plugin: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:749)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:118)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[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
It looks like JAVA_6_HOME environment variable hasn't been picked up by maven as can be seen here: [DEBUG] ${env.JAVA_6_HOME}/bin/javac
.
Could you check JAVA_6_HOME/JAVA_7_HOME env variables are set and exported correctly?
It's weird cuz the all the other projects prior to pinpoint-servlet-plugin compiled successfully, not sure what went wrong between these maven runs but exporting JAVA_6_HOME/JAVA_7_HOME may have gone missing between different sessions.
I had a similar issue. My workaround was seting the JAVA_6_HOME=$JAVA_7_HOME. Hope that works for you too.
Setting JAVA_6_HOME=$JAVA_7_HOME worked. Build Successful. Thank you. Closing the issue now.
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] pinpoint ........................................... SUCCESS [ 0.286 s] [INFO] pinpoint-thrift .................................... SUCCESS [ 18.558 s] [INFO] pinpoint-commons ................................... SUCCESS [04:07 min] [INFO] pinpoint-bootstrap-core ............................ SUCCESS [ 0.955 s] [INFO] pinpoint-bootstrap ................................. SUCCESS [ 16.387 s] [INFO] pinpoint-rpc ....................................... SUCCESS [ 10.787 s] [INFO] pinpoint-profiler .................................. SUCCESS [02:16 min] [INFO] pinpoint-profiler-optional ......................... FAILURE [ 0.020 s] [INFO] pinpoint-servlet-plugin ............................ SKIPPED [INFO] pinpoint-test ...................................... SKIPPED [INFO] pinpoint-tomcat-plugin ............................. SKIPPED [INFO] pinpoint-redis-plugin .............................. SKIPPED [INFO] pinpoint-plugins ................................... SKIPPED [INFO] pinpoint-agent-distribution ........................ SKIPPED [INFO] pinpoint-collector ................................. SKIPPED [INFO] pinpoint-web ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:11 min [INFO] Finished at: 2015-03-18T17:24:37-07:00 [INFO] Final Memory: 32M/286M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-profiler-optional: Compilation failure -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project pinpoint-profiler-optional: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:749) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:118) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more [ERROR] [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 -rf :pinpoint-profiler-optional