Skip to content

Commit

Permalink
Adding Sonarqube configuration for Java modules
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed May 22, 2015
1 parent ac2a47e commit 0653357
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,6 @@ GRTAGS
GSYMS
GTAGS
Gemfile.lock
/rb/.bundle
/rb/.bundle
.sonar/
.idea/sonarIssues.xml
38 changes: 38 additions & 0 deletions .idea/sonarSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions common/common-web.iml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
<content url="file://$MODULE_DIR$/src/web" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
</component>
</module>
4 changes: 4 additions & 0 deletions ide/ide.iml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
<content url="file://$MODULE_DIR$" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
</component>
</module>
7 changes: 7 additions & 0 deletions java/client/client.iml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@
<orderEntry type="library" name="objenesis-1.0" level="project" />
<orderEntry type="library" name="commons-httpclient" level="project" />
</component>
<component name="sonarModuleSettings">
<option name="alternativeWorkingDirPath" value="" />
<option name="localAnalysisScripName" value="&lt;NO LOCAL ANALYSIS&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
<option name="useAlternativeWorkingDir" value="false" />
<option name="workingDirSelection" value="&lt;PROJECT&gt;" />
</component>
</module>
7 changes: 7 additions & 0 deletions java/server/server.iml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,11 @@
<orderEntry type="library" name="objenesis-1.0" level="project" />
<orderEntry type="library" name="apache-httpclient" level="project" />
</component>
<component name="sonarModuleSettings">
<option name="alternativeWorkingDirPath" value="" />
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
<option name="useAlternativeWorkingDir" value="false" />
<option name="workingDirSelection" value="&lt;MODULE&gt;" />
</component>
</module>
7 changes: 5 additions & 2 deletions javascript/javascript.iml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
<LOAD_PATH number="0" />
<I18N_FOLDERS number="1" string0="$MODULE_DIR$/../third_party/closure/goog/i18n" />
</component>
</module>

<component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
</component>
</module>
7 changes: 5 additions & 2 deletions py/python.iml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
<orderEntry type="jdk" jdkName="Python 2.7" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

<component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
</component>
</module>
4 changes: 4 additions & 0 deletions rb/ruby.iml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@
<orderEntry type="library" scope="PROVIDED" name="webmock (v1.20.4, ruby-2.1.3-p242) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.1, ruby-2.1.3-p242) [gem]" level="application" />
</component>
<component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />
<option name="serverName" value="&lt;PROJECT&gt;" />
</component>
</module>
16 changes: 16 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
sonar.projectKey=org.openqa.selenium
sonar.projectName=Selenium
sonar.projectVersion=2.0
sonar.sourceEncoding=UTF-8

sonar.modules=java_client,java_server

java_client.sonar.projectName=Java Client
java_client.sonar.projectBaseDir=java/client
java_client.sonar.sources=src
java_client.sonar.tests=test

java_server.sonar.projectName=Java Server
java_server.sonar.projectBaseDir=java/server
java_server.sonar.sources=src
java_server.sonar.tests=test

0 comments on commit 0653357

Please sign in to comment.