See <http://ci.codelutin.com/jenkins/job/sispea-sonar/7/changes> Changes: [Tony CHEMIT] Réactivation des drivers oracles ------------------------------------------ [...truncated 383 lines...] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sispea-webapp --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target> [INFO] [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 74 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ sispea-webapp --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ sispea-webapp --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.1-beta-1:war (default-war) @ sispea-webapp --- [INFO] Packaging webapp [INFO] Assembling webapp[sispea-webapp] in [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp resources[<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.15.0.2-SNAPSHOT.jar> [INFO] Webapp assembled in [375 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea.war> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 1.049 s] [INFO] SISPEA drupal ...................................... SUCCESS [ 3.841 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 1.278 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 1.490 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 1.451 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 3.002 s] [INFO] SISPEA Data model .................................. SUCCESS [ 1.871 s] [INFO] SISPEA Services .................................... SUCCESS [ 5.469 s] [INFO] SISPEA export application .......................... SUCCESS [ 4.290 s] [INFO] SISPEA web application ............................. SUCCESS [ 5.799 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.148 s [INFO] Finished at: 2015-05-27T13:31:30+02:00 [INFO] Final Memory: 84M/412M [INFO] ------------------------------------------------------------------------ channel stopped [sispea-sonar] $ /opt/maven3/bin/mvn -f <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/pom.xml> -s /var/local/forge/data/codelutin.com/maven/settings.xml -e -B sonar:sonar -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-codelutin.com ******** ******** -Dsonar.host.url=http://qa.codelutin.com/ ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] SISPEA [INFO] SISPEA drupal [INFO] SISPEA Open CSV [INFO] SISPEA Utils [INFO] SISPEA jRTF adaption [INFO] SISPEA Persistence [INFO] SISPEA Data model [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:tests:2.15.0.2-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.15.0.2-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-opencsv:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-jrtf:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-model:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.15.0.2-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-model:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-jrtf:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-opencsv:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.15.0.2-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-model:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-jrtf:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-opencsv:jar:2.15.0.2-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.15.0.2-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] SonarQube version: 4.3.2 INFO: Default locale: "en_GB", source code encoding: "UTF-8" INFO: Work directory: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/target/sonar> INFO: SonarQube Server 4.3.2 [INFO] [13:31:35.404] Load batch settings [INFO] [13:31:35.515] User cache: /home/tomcat/.sonar/cache [INFO] [13:31:35.522] Install plugins [INFO] [13:31:35.563] Install JDBC driver [INFO] [13:31:35.568] Create JDBC datasource for jdbc:postgresql://localhost/sonar-codelutin.com [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 2.251 s] [INFO] SISPEA drupal ...................................... SKIPPED [INFO] SISPEA Open CSV .................................... SKIPPED [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA jRTF adaption ............................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Data model .................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.066 s [INFO] Finished at: 2015-05-27T13:31:35+02:00 [INFO] Final Memory: 22M/433M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Fail to connect to database: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Fail to connect to database at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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.MojoExecutionException: Fail to connect to database at org.codehaus.mojo.sonar.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:41) at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:139) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:132) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: Fail to connect to database at org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java:80) 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.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) at org.picocontainer.behaviors.Stored.start(Stored.java:110) at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015) at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008) at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74) at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48) 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.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87) at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69) at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50) at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102) at org.sonar.runner.api.Runner.execute(Runner.java:100) at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:135) ... 23 more Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) at org.apache.commons.dbcp.BasicDataSource.getLogWriter(BasicDataSource.java:1098) at org.apache.commons.dbcp.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:350) at org.sonar.core.persistence.DefaultDatabase.initDatasource(DefaultDatabase.java:125) at org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java:75) ... 53 more Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420) ... 58 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/MojoExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds