[libspring-java] 06/18: Ignore the sonar runner plugin

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon May 30 21:26:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libspring-java.

commit a242669998f06274173c8c7223aa2300af8fd55b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri May 27 00:00:39 2016 +0200

    Ignore the sonar runner plugin
---
 debian/patches/0037-ignore-sonar-plugin.patch | 50 +++++++++++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 51 insertions(+)

diff --git a/debian/patches/0037-ignore-sonar-plugin.patch b/debian/patches/0037-ignore-sonar-plugin.patch
new file mode 100644
index 0000000..8fb54ca
--- /dev/null
+++ b/debian/patches/0037-ignore-sonar-plugin.patch
@@ -0,0 +1,50 @@
+Description: Ignore the sonar runner plugin
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -1105,22 +1105,6 @@
+ 	}
+ }
+ 
+-apply plugin: 'sonar-runner'
+-
+-sonarRunner {
+-	sonarProperties {
+-		property "sonar.projectName", "Spring Framework"
+-		property "sonar.profile", "Spring Framework"
+-		property "sonar.jacoco.reportPath", "${buildDir.name}/jacoco.exec"
+-		property "sonar.links.homepage", linkHomepage
+-		property "sonar.links.ci", linkCi
+-		property "sonar.links.issue", linkIssue
+-		property "sonar.links.scm", linkScmUrl
+-		property "sonar.links.scm_dev", linkScmDevConnection
+-		property "sonar.java.coveragePlugin", "jacoco"
+-	}
+-}
+-
+ configure(rootProject) {
+ 	description = "Spring Framework"
+ 
+@@ -1340,21 +1324,6 @@
+ 
+ }
+ 
+-configure([project(':spring-build-src'), project(':spring-framework-bom')]) {
+-	sonarRunner {
+-		skipProject = true
+-	}
+-}
+-
+-configure(project(':spring-core')) {
+-	sonarRunner {
+-		sonarProperties {
+-			property "sonar.exclusions",
+-					"src/main/java/org/springframework/cglib/**/*,src/main/java/org/springframework/asm/**/*"
+-		}
+-	}
+-}
+-
+ /*
+  * Support publication of artifacts versioned by topic branch.
+  * CI builds supply `-P BRANCH_NAME=<TOPIC>` to gradle at build time.
diff --git a/debian/patches/series b/debian/patches/series
index 26071a0..dd8d317 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0034-velocity-tools-compatibility.patch
 0035-ignore-asciidoctor-plugin.patch
 0036-ignore-compilation-warnings.patch
+0037-ignore-sonar-plugin.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libspring-java.git



More information about the pkg-java-commits mailing list