aboutsummaryrefslogtreecommitdiffstats
path: root/it/projects/multi-module/simplest/simplest-with-props-on-each-module
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-07-16 13:51:30 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-07-20 12:59:15 +0200
commit73b46e381ff0a7a0b3bc280ac45de592e547513a (patch)
treea784542f624aa1a97be6f77eed75eda094be2166 /it/projects/multi-module/simplest/simplest-with-props-on-each-module
parentf20b8927e6b8747b37ae750de393215312b774c2 (diff)
downloadsonar-scanner-cli-73b46e381ff0a7a0b3bc280ac45de592e547513a.tar.gz
sonar-scanner-cli-73b46e381ff0a7a0b3bc280ac45de592e547513a.zip
merge it-sonar-runner and update groupId
Diffstat (limited to 'it/projects/multi-module/simplest/simplest-with-props-on-each-module')
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/sonar-project.properties2
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/src/Hello.java2
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/sonar-project.properties3
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/src/Hello.java2
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/sonar-project.properties7
-rw-r--r--it/projects/multi-module/simplest/simplest-with-props-on-each-module/src/placeholder.txt1
6 files changed, 17 insertions, 0 deletions
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/sonar-project.properties b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/sonar-project.properties
new file mode 100644
index 0000000..f5e701d
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/sonar-project.properties
@@ -0,0 +1,2 @@
+# no need to set the "sonar.projectKey": it defaults to the module ID ('module1')
+# no need to set the "sonar.projectName": it defaults to the module ID ('module1') \ No newline at end of file
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/src/Hello.java b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module1/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/sonar-project.properties b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/sonar-project.properties
new file mode 100644
index 0000000..93a6c21
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/sonar-project.properties
@@ -0,0 +1,3 @@
+# here, we overwrite "sonar.projectKey" and "sonar.projectName" for 'module2'
+sonar.projectKey=overridden-key-for-module2
+sonar.projectName=Module 2 \ No newline at end of file
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/src/Hello.java b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/module2/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/sonar-project.properties b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/sonar-project.properties
new file mode 100644
index 0000000..6bfae93
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/sonar-project.properties
@@ -0,0 +1,7 @@
+sonar.projectKey=simplest-with-props-each-module
+sonar.projectName=Simplest multi-module project with properties set on each module
+sonar.projectVersion=1.2.3
+
+sonar.sources=src
+
+sonar.modules=module1,module2 \ No newline at end of file
diff --git a/it/projects/multi-module/simplest/simplest-with-props-on-each-module/src/placeholder.txt b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/src/placeholder.txt
new file mode 100644
index 0000000..1a5bdeb
--- /dev/null
+++ b/it/projects/multi-module/simplest/simplest-with-props-on-each-module/src/placeholder.txt
@@ -0,0 +1 @@
+The root module contains a src folder but it will not be analysed (SONARPLUGINS-2295) and a warning will be displayed. \ No newline at end of file