maven connecting to Sonar

后端 未结 5 1795
不知归路
不知归路 2020-12-24 02:57

I have maven installed on my local machine and I\'m trying to test out Sonar installed on a remote box.

I found a few post online to configure settings.xml

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-24 03:40

    Problem 1

    As explained you need to specify the JDBC connection details, otherwise Sonar will attempt to talk to the embedded Derby instance, it assumes is running on localhost.

    Problem 2

    Are you using Derby? Well, the default configuration of Derby does not accept remote connections, but only connections from the same host.

    The SONAR-1039 issue explains how to work-around this problem, but my advise would be to setup a full-blown database such as MySQL or Postgresql.

提交回复
热议问题