Hi Robert, Exact, https connection was successful and the db error is expected as you don't have url and credentials.
Regards <http://twitter.com/SimonBrandhof> On 9 November 2013 19:07, Robert Scholte <[email protected]> wrote: > Hi Simon, > > I'm not sure how I can verify the fix at runtime. > The issue is also missing the revision(s) with the fix, so it's a bit hard > to verify it based on code. > > I've tried this: > > E:\java-workspace\codehaus-mojo\siteskinner-maven-plugin>mvn > org.codehaus.mojo:s > onar-maven-plugin:2.2:sonar -Pverify-stage -Dsonar.host.url=https:// > sonar-ci.cod > ehaus.org/ > [INFO] Scanning for projects... > [INFO] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building SiteSkinner Maven Plugin 1.1-SNAPSHOT > [INFO] ------------------------------------------------------------ > ------------ > [INFO] > [INFO] --- sonar-maven-plugin:2.2:sonar (default-cli) @ > siteskinner-maven-plugin > --- > [INFO] SonarQube version: 3.4 > [INFO] [17:58:11.319] Load project settings > [INFO] [17:58:12.302] Install plugins > [INFO] [17:58:45.913] Apply project exclusions > [INFO] [17:58:45.915] Install JDBC driver > [WARN] [17:58:48.332] H2 database should be used for evaluation purpose > only > [INFO] [17:58:48.332] Create JDBC datasource for > jdbc:h2:tcp://localhost/sonar > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 48.854s > [INFO] Finished at: Sat Nov 09 17:58:51 CET 2013 > [INFO] Final Memory: 20M/183M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.2:sonar > (d > efault-cli) on project siteskinner-maven-plugin: Can not execute SonarQube > analy > sis: Fail to connect to database: Cannot create PoolableConnectionFactory > (Conne > ction is broken: "java.net.ConnectException: Connection refused: connect: > localh > ost" [90067-167]) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [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 rea > d the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ > MojoExecutionE > xception > > > So it seems like it can connect can connect to > https://sonar-ci.codehaus.org/ > I don't know the jdbc connection data, so the failure is as expected. > > Robert > > Op Fri, 08 Nov 2013 17:16:29 +0100 schreef Simon Brandhof < > [email protected]>: > > Hi, >> I'd like to release Maven Sonar Plugin 2.2. It improves support of HTTPS. >> >> Staging repo: >> https://nexus.codehaus.org/content/repositories/orgcodehausmojo-1027/ >> Site updated: http://mojo.codehaus.org/sonar-maven-plugin/<http:// >> mojo.codehaus.org/clirr-maven-plugin/> >> Changelog: *http://jira.codehaus.org/browse/MSONAR/fixforversion/19525 >> <http://jira.codehaus.org/browse/MSONAR/fixforversion/19525>* >> >> >> Vote open for 72 hours with lazy consensus. >> >> [+1] >> [0] >> [-1] >> >> Thanks, >> Simon >> >> -- >> Simon Brandhof >> twitter.com/SimonBrandhof >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
