Skip to content

Commit 0653357

Browse files
committedMay 22, 2015
Adding Sonarqube configuration for Java modules
1 parent ac2a47e commit 0653357

File tree

10 files changed

+93
-5
lines changed

10 files changed

+93
-5
lines changed
 

‎.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,6 @@ GRTAGS
6565
GSYMS
6666
GTAGS
6767
Gemfile.lock
68-
/rb/.bundle
68+
/rb/.bundle
69+
.sonar/
70+
.idea/sonarIssues.xml

‎.idea/sonarSettings.xml

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎common/common-web.iml

+4
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
<content url="file://$MODULE_DIR$/src/web" />
66
<orderEntry type="sourceFolder" forTests="false" />
77
</component>
8+
<component name="sonarModuleSettings">
9+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
10+
<option name="serverName" value="&lt;PROJECT&gt;" />
11+
</component>
812
</module>

‎ide/ide.iml

+4
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
<content url="file://$MODULE_DIR$" />
66
<orderEntry type="sourceFolder" forTests="false" />
77
</component>
8+
<component name="sonarModuleSettings">
9+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
10+
<option name="serverName" value="&lt;PROJECT&gt;" />
11+
</component>
812
</module>

‎java/client/client.iml

+7
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,11 @@
4242
<orderEntry type="library" name="objenesis-1.0" level="project" />
4343
<orderEntry type="library" name="commons-httpclient" level="project" />
4444
</component>
45+
<component name="sonarModuleSettings">
46+
<option name="alternativeWorkingDirPath" value="" />
47+
<option name="localAnalysisScripName" value="&lt;NO LOCAL ANALYSIS&gt;" />
48+
<option name="serverName" value="&lt;PROJECT&gt;" />
49+
<option name="useAlternativeWorkingDir" value="false" />
50+
<option name="workingDirSelection" value="&lt;PROJECT&gt;" />
51+
</component>
4552
</module>

‎java/server/server.iml

+7
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@
2727
<orderEntry type="library" name="objenesis-1.0" level="project" />
2828
<orderEntry type="library" name="apache-httpclient" level="project" />
2929
</component>
30+
<component name="sonarModuleSettings">
31+
<option name="alternativeWorkingDirPath" value="" />
32+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
33+
<option name="serverName" value="&lt;PROJECT&gt;" />
34+
<option name="useAlternativeWorkingDir" value="false" />
35+
<option name="workingDirSelection" value="&lt;MODULE&gt;" />
36+
</component>
3037
</module>

‎javascript/javascript.iml

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
<LOAD_PATH number="0" />
1111
<I18N_FOLDERS number="1" string0="$MODULE_DIR$/../third_party/closure/goog/i18n" />
1212
</component>
13-
</module>
14-
13+
<component name="sonarModuleSettings">
14+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
15+
<option name="serverName" value="&lt;PROJECT&gt;" />
16+
</component>
17+
</module>

‎py/python.iml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
<orderEntry type="jdk" jdkName="Python 2.7" jdkType="Python SDK" />
1515
<orderEntry type="sourceFolder" forTests="false" />
1616
</component>
17-
</module>
18-
17+
<component name="sonarModuleSettings">
18+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
19+
<option name="serverName" value="&lt;PROJECT&gt;" />
20+
</component>
21+
</module>

‎rb/ruby.iml

+4
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@
2727
<orderEntry type="library" scope="PROVIDED" name="webmock (v1.20.4, ruby-2.1.3-p242) [gem]" level="application" />
2828
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.1, ruby-2.1.3-p242) [gem]" level="application" />
2929
</component>
30+
<component name="sonarModuleSettings">
31+
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
32+
<option name="serverName" value="&lt;PROJECT&gt;" />
33+
</component>
3034
</module>

‎sonar-project.properties

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
sonar.projectKey=org.openqa.selenium
2+
sonar.projectName=Selenium
3+
sonar.projectVersion=2.0
4+
sonar.sourceEncoding=UTF-8
5+
6+
sonar.modules=java_client,java_server
7+
8+
java_client.sonar.projectName=Java Client
9+
java_client.sonar.projectBaseDir=java/client
10+
java_client.sonar.sources=src
11+
java_client.sonar.tests=test
12+
13+
java_server.sonar.projectName=Java Server
14+
java_server.sonar.projectBaseDir=java/server
15+
java_server.sonar.sources=src
16+
java_server.sonar.tests=test

0 commit comments

Comments
 (0)
Please sign in to comment.