See <http://ci.codelutin.com/jenkins/job/sispea-sonar/17/changes> Changes: [Tony CHEMIT] correction de la license [Tony CHEMIT] ajout d'un readme pour bien vérifier qu'on peut supprimer le module sispea-opencsv et utiliser la dépendance citée [Tony CHEMIT] correction de la license (bis avec l'option license.force ça marche mieux^^) ------------------------------------------ [...truncated 409 lines...] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sispea-exchange --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.15.0.2-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-exchange --- [INFO] [INFO] --- maven-assembly-plugin:2.5.4:single (make-assembly) @ sispea-exchange --- [INFO] Reading assembly descriptor: src/main/assembly/exportApp.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.15.0.2-SNAPSHOT-with-dependencies.jar> [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 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA web application 2.15.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-webapp --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-webapp --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3: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-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-webapp --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7: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:3.3:testCompile (default-testCompile) @ sispea-webapp --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-webapp --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.6: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 [3396 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-webapp --- [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 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 22.503 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 15.510 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 3.461 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 2.104 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 13.183 s] [INFO] SISPEA Data model .................................. SUCCESS [ 5.394 s] [INFO] SISPEA Services .................................... SUCCESS [ 20.593 s] [INFO] SISPEA export application .......................... SUCCESS [ 8.018 s] [INFO] SISPEA web application ............................. SUCCESS [ 19.333 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:17 min [INFO] Finished at: 2015-06-21T01:26:12+02:00 [INFO] Final Memory: 43M/234M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data 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 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] ------------------------------------------------------------------------ [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... [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-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/groups/sispea-group/fr/onema/sispea-se... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 3.812 s] [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: 7.454 s [INFO] Finished at: 2015-06-21T01:26:23+02:00 [INFO] Final Memory: 19M/240M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. Connection refused -> [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: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:70) at org.codehaus.mojo.sonar.ServerMetadata.logSettings(ServerMetadata.java:84) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 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/PluginExecutionException 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