aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml')
-rw-r--r--subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml362
1 files changed, 362 insertions, 0 deletions
diff --git a/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml b/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml
new file mode 100644
index 00000000000..ee9d8f8c41f
--- /dev/null
+++ b/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.mojos.xml
@@ -0,0 +1,362 @@
+<pluginMetadata>
+ <mojos>
+ <mojo>
+ <goal>start</goal>
+ <call>start</call>
+ <requiresProject>false</requiresProject>
+ <parameters>
+ <parameter>
+ <name>sonar.runtimeVersion</name>
+ <property>sonar.runtimeVersion</property>
+ <expression>${sonar.runtimeVersion}</expression>
+ <required>true</required>
+ <type>java.lang.String</type>
+ <description>Sonar version</description>
+ <defaultValue>2.2</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.database</name>
+ <property>sonar.database</property>
+ <required>false</required>
+ <expression>${sonar.database}</expression>
+ <type>java.lang.String</type>
+ <description>Database profile: [derby, mssql, mysql, oracle, postgresql]</description>
+ <defaultValue>derby</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.dropDatabase</name>
+ <property>sonar.dropDatabase</property>
+ <expression>${sonar.dropDatabase}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>false</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.url</name>
+ <property>sonar.jdbc.url</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.url}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.driver</name>
+ <property>sonar.jdbc.driver</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.driver}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootUsername</name>
+ <property>sonar.jdbc.rootUsername</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootUsername}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootPassword</name>
+ <property>sonar.jdbc.rootPassword</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootPassword}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootUrl</name>
+ <property>sonar.jdbc.rootUrl</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootUrl}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.username</name>
+ <property>sonar.jdbc.username</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.username}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.password</name>
+ <property>sonar.jdbc.password</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.password}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.pluginArtifact</name>
+ <property>sonar.pluginArtifact</property>
+ <expression>${sonar.pluginArtifact}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ <defaultValue>${project.build.directory}/${project.build.finalName}.jar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.extensionsDir</name>
+ <property>sonar.extensionsDir</property>
+ <expression>${sonar.extensionsDir}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ <defaultValue>${project.build.directory}/extensions</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.background</name>
+ <property>sonar.background</property>
+ <expression>${sonar.background}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>false</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.clean</name>
+ <property>sonar.clean</property>
+ <expression>${sonar.clean}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>true</defaultValue>
+ </parameter>
+ <parameter>
+ <name>settings.localRepository</name>
+ <property>settings.localRepository</property>
+ <expression>${settings.localRepository}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ </parameter>
+ <parameter>
+ <name>sonar.configBackup</name>
+ <property>sonar.configBackup</property>
+ <expression>${sonar.configBackup}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ </parameter>
+ </parameters>
+ </mojo>
+
+ <mojo>
+ <goal>stop</goal>
+ <call>stop</call>
+ <requiresProject>false</requiresProject>
+ <parameters>
+ <parameter>
+ <name>sonar.runtimeVersion</name>
+ <property>sonar.runtimeVersion</property>
+ <required>true</required>
+ <type>java.lang.String</type>
+ <description>Sonar version</description>
+ <expression>${sonar.runtimeVersion}</expression>
+ <defaultValue>2.2</defaultValue>
+ </parameter>
+ </parameters>
+ </mojo>
+
+ <mojo>
+ <goal>start-war</goal>
+ <call>start-war</call>
+ <requiresProject>false</requiresProject>
+ <parameters>
+ <parameter>
+ <name>sonar.runtimeVersion</name>
+ <property>sonar.runtimeVersion</property>
+ <required>true</required>
+ <type>java.lang.String</type>
+ <description>Sonar version</description>
+ <expression>${sonar.runtimeVersion}</expression>
+ <defaultValue>2.2</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.database</name>
+ <property>sonar.database</property>
+ <required>false</required>
+ <expression>${sonar.database}</expression>
+ <type>java.lang.String</type>
+ <description>Database profile: [derby, mssql, mysql, oracle, postgresql]</description>
+ <defaultValue>derby</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.dropDatabase</name>
+ <property>sonar.dropDatabase</property>
+ <expression>${sonar.dropDatabase}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>false</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.url</name>
+ <property>sonar.jdbc.url</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.url}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.driver</name>
+ <property>sonar.jdbc.driver</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.driver}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootUsername</name>
+ <property>sonar.jdbc.rootUsername</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootUsername}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootPassword</name>
+ <property>sonar.jdbc.rootPassword</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootPassword}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.rootUrl</name>
+ <property>sonar.jdbc.rootUrl</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.rootUrl}</expression>
+ <type>java.lang.String</type>
+ <description>Used when dropDatabase is true</description>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.username</name>
+ <property>sonar.jdbc.username</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.username}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.password</name>
+ <property>sonar.jdbc.password</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.password}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.pluginArtifact</name>
+ <property>sonar.pluginArtifact</property>
+ <expression>${sonar.pluginArtifact}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ <defaultValue>${project.build.directory}/${project.build.finalName}.jar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.extensionsDir</name>
+ <property>sonar.extensionsDir</property>
+ <expression>${sonar.extensionsDir}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ <defaultValue>${project.build.directory}/extensions</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.background</name>
+ <property>sonar.background</property>
+ <expression>${sonar.background}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>false</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.clean</name>
+ <property>sonar.clean</property>
+ <expression>${sonar.clean}</expression>
+ <required>false</required>
+ <type>java.lang.Boolean</type>
+ <defaultValue>true</defaultValue>
+ </parameter>
+ <parameter>
+ <name>settings.localRepository</name>
+ <property>settings.localRepository</property>
+ <expression>${settings.localRepository}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ </parameter>
+ <parameter>
+ <name>sonar.configBackup</name>
+ <property>sonar.configBackup</property>
+ <expression>${sonar.configBackup}</expression>
+ <required>false</required>
+ <type>java.lang.File</type>
+ </parameter>
+ </parameters>
+ </mojo>
+
+ <mojo>
+ <goal>stop-war</goal>
+ <call>stop-war</call>
+ <requiresProject>false</requiresProject>
+ <parameters>
+ <parameter>
+ <name>sonar.runtimeVersion</name>
+ <property>sonar.runtimeVersion</property>
+ <required>true</required>
+ <type>java.lang.String</type>
+ <description>Sonar version</description>
+ <expression>${sonar.runtimeVersion}</expression>
+ <defaultValue>2.2</defaultValue>
+ </parameter>
+ </parameters>
+ </mojo>
+
+
+ <mojo>
+ <goal>analyze</goal>
+ <call>analyze</call>
+ <requiresProject>false</requiresProject>
+ <parameters>
+ <parameter>
+ <name>sonar.database</name>
+ <property>sonar.database</property>
+ <required>false</required>
+ <expression>${sonar.database}</expression>
+ <type>java.lang.String</type>
+ <description>Database profile: [derby, mssql, mysql, oracle, postgresql]</description>
+ <defaultValue>derby</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.url</name>
+ <property>sonar.jdbc.url</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.url}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.driver</name>
+ <property>sonar.jdbc.driver</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.driver}</expression>
+ <type>java.lang.String</type>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.username</name>
+ <property>sonar.jdbc.username</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.username}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.jdbc.password</name>
+ <property>sonar.jdbc.password</property>
+ <required>false</required>
+ <expression>${sonar.jdbc.password}</expression>
+ <type>java.lang.String</type>
+ <defaultValue>sonar</defaultValue>
+ </parameter>
+ <parameter>
+ <name>sonar.projectsDir</name>
+ <property>sonar.projectsDir</property>
+ <expression>${sonar.projectsDir}</expression>
+ <required>true</required>
+ <type>java.lang.File</type>
+ <defaultValue>${basedir}</defaultValue>
+ </parameter>
+ </parameters>
+ </mojo>
+
+ </mojos>
+</pluginMetadata> \ No newline at end of file