mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-09-08 13:46:05 +02:00
SONAR-1859 Add the boolean property 'sonar.copyPluginProperty'
This commit is contained in:
parent
0a09bb843c
commit
914c7e6384
@ -235,7 +235,12 @@
|
||||
<available property="has.extensions" file="${extensionsDir}"/>
|
||||
<antcall target="copy-extensions"/>
|
||||
|
||||
<available file="${pluginArtifact}" property="has.plugin.artifact"/>
|
||||
<condition property="has.plugin.artifact">
|
||||
<and>
|
||||
<available file="${pluginArtifact}" />
|
||||
<istrue value="${copyPluginArtifact}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<antcall target="copy-plugin-artifact"/>
|
||||
|
||||
</target>
|
||||
|
@ -99,6 +99,15 @@
|
||||
<type>java.lang.File</type>
|
||||
<defaultValue>${project.build.directory}/${project.build.finalName}.jar</defaultValue>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>copyPluginArtifact</name>
|
||||
<description>Should copy plugin artifact in Sonar plugins ?</description>
|
||||
<property>copyPluginArtifact</property>
|
||||
<expression>${sonar.copyPluginArtifact}</expression>
|
||||
<required>false</required>
|
||||
<type>java.lang.Boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>extensionsDir</name>
|
||||
<description>Directory from where extensions should be copied.</description>
|
||||
@ -261,6 +270,15 @@
|
||||
<type>java.lang.File</type>
|
||||
<defaultValue>${project.build.directory}/${project.build.finalName}.jar</defaultValue>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>copyPluginArtifact</name>
|
||||
<description>Should copy plugin artifact in Sonar plugins ?</description>
|
||||
<property>copyPluginArtifact</property>
|
||||
<expression>${sonar.copyPluginArtifact}</expression>
|
||||
<required>false</required>
|
||||
<type>java.lang.Boolean</type>
|
||||
<defaultValue>true</defaultValue>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>extensionsDir</name>
|
||||
<description>Directory from where extensions should be copied.</description>
|
||||
|
Loading…
Reference in New Issue
Block a user