Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: PDF-REPORT-1.1
    • Fix Version/s: PDF-REPORT-1.3
    • Component/s: PDF Report
    • Labels:
      None
    • Environment:
      OS name: "linux" version: "2.6.9-42.elsmp" arch: "i386" Family: "unix"
    • Patch Submitted:
      Yes
    • Number of attachments :
      0

      Description

      Is it possible to implement support to https in PDG report generation? I'm getting this error in my environment

      [INFO]  Executing post-job class org.sonar.report.pdf.batch.PDFPostJob
      [INFO] ------------------------------------------------------------------------
      [INFO] Building PSF : Accounts
      [INFO]    task-segment: [es.klicap.sonar:pdf-report:1.1:generate] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [INFO] [pdf-report:generate {execution: default-cli}]
      [INFO] Team workbook report type selected
      [ERROR] Internal error: SSL not supported yet: https://my.server.com/sonar
      org.sonar.report.pdf.entity.exception.ReportException: SSL not supported yet: https://my.server.com/sonar
      	at org.sonar.report.pdf.util.SonarAccess.<init>(SonarAccess.java:86)
      	at org.sonar.report.pdf.PDFReporter.getProject(PDFReporter.java:111)
      	at org.sonar.report.pdf.PDFReporter.getReport(PDFReporter.java:70)
      	at org.sonar.report.pdf.mojo.SonarPDFMojo.execute(SonarPDFMojo.java:161)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.sonar.maven2.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:65)
      	at org.sonar.maven2.Maven2PluginExecutor.execute(Maven2PluginExecutor.java:47)
      	at org.sonar.batch.PostJobsExecutor.executeMavenPlugin(PostJobsExecutor.java:77)
      	at org.sonar.batch.PostJobsExecutor.execute(PostJobsExecutor.java:56)
      	at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:53)
      	at org.sonar.batch.AggregatorBatch.analyzeProject(AggregatorBatch.java:109)
      	at org.sonar.batch.AggregatorBatch.analyzeProjects(AggregatorBatch.java:101)
      	at org.sonar.batch.AggregatorBatch.execute(AggregatorBatch.java:85)
      	at org.sonar.maven2.BatchMojo.executeBatch(BatchMojo.java:149)
      	at org.sonar.maven2.BatchMojo.execute(BatchMojo.java:131)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)
      	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
      	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      

        Activity

        Hide
        Antonio Manuel Muñiz Martín added a comment -

        Hi Francisco,

        We had thought about this some time ago. Generally the relation between "mvn sonar:sonar" and Sonar host is a trust relationship (i.e. internal LAN or DMZ which contains CI Server and Sonar server). Anyway this functionality will be implemented.

        Antonio.

        Show
        Antonio Manuel Muñiz Martín added a comment - Hi Francisco, We had thought about this some time ago. Generally the relation between "mvn sonar:sonar" and Sonar host is a trust relationship (i.e. internal LAN or DMZ which contains CI Server and Sonar server). Anyway this functionality will be implemented. Antonio.
        Hide
        Taciano Tres added a comment -

        Any improvement in this issue?

        Show
        Taciano Tres added a comment - Any improvement in this issue?
        Hide
        Taciano Tres added a comment -

        This feature is provided in comercial version: http://blog.klicap.es/en/products/sonarpdfreportplugin.
        I think this issue should be closed.

        Show
        Taciano Tres added a comment - This feature is provided in comercial version: http://blog.klicap.es/en/products/sonarpdfreportplugin . I think this issue should be closed.
        Hide
        Antonio Manuel Muñiz Martín added a comment -

        But this is open source edition, so it should remain open.
        Commercial edition has its own issue tracking.

        Show
        Antonio Manuel Muñiz Martín added a comment - But this is open source edition, so it should remain open. Commercial edition has its own issue tracking.
        Show
        nicolas de loof added a comment - proposed fix : https://github.com/ndeloof/sonar-plugins/commit/9c2fa055dc72887c8a00e373ccf768da37b4dafc
        Hide
        Antonio Manuel Muñiz Martín added a comment -

        Hello Nicolas,

        Patch is ok for me, I will apply it asap in trunk.

        Thanks,
        Antonio.

        Show
        Antonio Manuel Muñiz Martín added a comment - Hello Nicolas, Patch is ok for me, I will apply it asap in trunk. Thanks, Antonio.
        Hide
        Evgeny Mandrikov added a comment -

        Don't forget to add unit test

        Show
        Evgeny Mandrikov added a comment - Don't forget to add unit test
        Hide
        nicolas de loof added a comment -

        "test" ? What's that beast ?

        Show
        nicolas de loof added a comment - "test" ? What's that beast ?
        Hide
        Antonio Manuel Muñiz Martín added a comment -

        Added patch provided by Nicolas.

        Show
        Antonio Manuel Muñiz Martín added a comment - Added patch provided by Nicolas.

          People

          • Assignee:
            Antonio Manuel Muñiz Martín
            Reporter:
            Francisco Herrera
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: