See <http://ci.codelutin.com/jenkins/job/sispea-sonar/5/> ------------------------------------------ [...truncated 635 lines...] [INFO] SISPEA ............................................. SUCCESS [ 1.544 s] [INFO] SISPEA drupal ...................................... SUCCESS [ 3.912 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 1.310 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 1.495 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 1.451 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 2.712 s] [INFO] SISPEA Data model .................................. SUCCESS [ 1.851 s] [INFO] SISPEA Services .................................... SUCCESS [ 6.029 s] [INFO] SISPEA export application .......................... SUCCESS [ 4.715 s] [INFO] SISPEA web application ............................. SUCCESS [ 7.765 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 36.295 s [INFO] Finished at: 2015-05-27T13:11:56+02:00 [INFO] Final Memory: 83M/277M [INFO] ------------------------------------------------------------------------ Sending e-mails to: adminsys-build@list.forge.codelutin.com 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] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... (8 KB at 51.6 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... (104 KB at 2158.3 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/apache/mave... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/codehaus/mo... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/code... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/apache/maven/p... (13 KB at 24.9 KB/sec) [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... (20 KB at 28.1 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/codehaus/mo... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/code... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... (714 B at 2.0 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/code... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... (8 KB at 66.3 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/code... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/sispea-group/org/codehaus/mojo/... (49 KB at 1162.5 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [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" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [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" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [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" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-op... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-jr... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-mo... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-op... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-jr... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-mo... [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" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [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:12:04.001] Load batch settings [INFO] [13:12:04.212] User cache: /home/tomcat/.sonar/cache [INFO] [13:12:04.220] Install plugins [INFO] [13:12:04.545] Install JDBC driver [INFO] [13:12:04.550] Create JDBC datasource for jdbc:postgresql://localhost/sonar-codelutin.com [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 4.001 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: 6.679 s [INFO] Finished at: 2015-05-27T13:12:04+02:00 [INFO] Final Memory: 22M/307M [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