aboutsummaryrefslogtreecommitdiffstats
path: root/it/projects/multi-module/customization
diff options
context:
space:
mode:
Diffstat (limited to 'it/projects/multi-module/customization')
-rw-r--r--it/projects/multi-module/customization/deep-path-for-modules/modules/module1/src/Hello.java2
-rw-r--r--it/projects/multi-module/customization/deep-path-for-modules/modules/module2/src/Hello.java2
-rw-r--r--it/projects/multi-module/customization/deep-path-for-modules/sonar-project.properties13
-rw-r--r--it/projects/multi-module/customization/module-path-with-space/my module 1/src/Hello.java2
-rw-r--r--it/projects/multi-module/customization/module-path-with-space/my module 2/src/Hello.java2
-rw-r--r--it/projects/multi-module/customization/module-path-with-space/sonar-project.properties14
-rw-r--r--it/projects/multi-module/customization/overwriting-parent-properties/module1/src1/Hello.java2
-rw-r--r--it/projects/multi-module/customization/overwriting-parent-properties/module2/sonar-project.properties4
-rw-r--r--it/projects/multi-module/customization/overwriting-parent-properties/module2/src2/Hello.java2
-rw-r--r--it/projects/multi-module/customization/overwriting-parent-properties/sonar-project.properties16
10 files changed, 59 insertions, 0 deletions
diff --git a/it/projects/multi-module/customization/deep-path-for-modules/modules/module1/src/Hello.java b/it/projects/multi-module/customization/deep-path-for-modules/modules/module1/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/deep-path-for-modules/modules/module1/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/deep-path-for-modules/modules/module2/src/Hello.java b/it/projects/multi-module/customization/deep-path-for-modules/modules/module2/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/deep-path-for-modules/modules/module2/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/deep-path-for-modules/sonar-project.properties b/it/projects/multi-module/customization/deep-path-for-modules/sonar-project.properties
new file mode 100644
index 0000000..e366eaa
--- /dev/null
+++ b/it/projects/multi-module/customization/deep-path-for-modules/sonar-project.properties
@@ -0,0 +1,13 @@
+sonar.projectKey=deep-path-for-modules
+sonar.projectName=Project with deep path for modules
+sonar.projectVersion=1.2.3
+
+sonar.sources=src
+
+sonar.modules=mod1,mod2
+
+mod1.sonar.projectBaseDir=modules/module1
+mod1.sonar.projectName=Module 1
+
+mod2.sonar.projectBaseDir=modules/module2
+mod2.sonar.projectName=Module 2 \ No newline at end of file
diff --git a/it/projects/multi-module/customization/module-path-with-space/my module 1/src/Hello.java b/it/projects/multi-module/customization/module-path-with-space/my module 1/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/module-path-with-space/my module 1/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/module-path-with-space/my module 2/src/Hello.java b/it/projects/multi-module/customization/module-path-with-space/my module 2/src/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/module-path-with-space/my module 2/src/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/module-path-with-space/sonar-project.properties b/it/projects/multi-module/customization/module-path-with-space/sonar-project.properties
new file mode 100644
index 0000000..4a2c774
--- /dev/null
+++ b/it/projects/multi-module/customization/module-path-with-space/sonar-project.properties
@@ -0,0 +1,14 @@
+sonar.projectKey=module-path-with-space
+sonar.projectName=Project with module path that contain spaces
+sonar.projectVersion=1.2.3
+
+sonar.sources=src
+
+sonar.modules=module1,module2
+
+# module1 and module2 are located in a path that differs from their id AND that contains a space
+module1.sonar.projectName=Module 1
+module1.sonar.projectBaseDir=my module 1
+
+module2.sonar.projectName=Module 2
+module2.sonar.projectBaseDir=my module 2
diff --git a/it/projects/multi-module/customization/overwriting-parent-properties/module1/src1/Hello.java b/it/projects/multi-module/customization/overwriting-parent-properties/module1/src1/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/overwriting-parent-properties/module1/src1/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/overwriting-parent-properties/module2/sonar-project.properties b/it/projects/multi-module/customization/overwriting-parent-properties/module2/sonar-project.properties
new file mode 100644
index 0000000..19d46fb
--- /dev/null
+++ b/it/projects/multi-module/customization/overwriting-parent-properties/module2/sonar-project.properties
@@ -0,0 +1,4 @@
+sonar.projectKey=module2-new-key
+sonar.projectName=Module 2
+sonar.projectDescription=Description of module 2
+sonar.sources=src2
diff --git a/it/projects/multi-module/customization/overwriting-parent-properties/module2/src2/Hello.java b/it/projects/multi-module/customization/overwriting-parent-properties/module2/src2/Hello.java
new file mode 100644
index 0000000..8a94806
--- /dev/null
+++ b/it/projects/multi-module/customization/overwriting-parent-properties/module2/src2/Hello.java
@@ -0,0 +1,2 @@
+public class Hello {
+}
diff --git a/it/projects/multi-module/customization/overwriting-parent-properties/sonar-project.properties b/it/projects/multi-module/customization/overwriting-parent-properties/sonar-project.properties
new file mode 100644
index 0000000..b2dff8d
--- /dev/null
+++ b/it/projects/multi-module/customization/overwriting-parent-properties/sonar-project.properties
@@ -0,0 +1,16 @@
+sonar.projectKey=overwriting-parent-properties
+sonar.projectName=Project with modules that overwrite properties
+sonar.projectVersion=1.2.3
+sonar.projectDescription=Description of root project
+
+sonar.sources=src
+
+sonar.modules=module1,module2
+
+# For module 1, we overwrite properties here
+module1.sonar.projectKey=module1-new-key
+module1.sonar.projectName=Module 1
+module1.sonar.projectDescription=Description of module 1
+module1.sonar.sources=src1
+
+# For module 2, we do it in the "sonar-project.properties" defined in the module