[sonar-runner] Initial packaging
Michael Šimáček
msimacek at fedoraproject.org
Mon Nov 17 14:12:03 UTC 2014
commit 351adc57ec23b409d0d1c211fa090294771fdcc0
Author: Michael Simacek <msimacek at redhat.com>
Date: Mon Nov 17 15:11:55 2014 +0100
Initial packaging
.gitignore | 1 +
sonar-runner.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e7a22ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2.0.tar.gz
diff --git a/sonar-runner.spec b/sonar-runner.spec
new file mode 100644
index 0000000..5efde29
--- /dev/null
+++ b/sonar-runner.spec
@@ -0,0 +1,50 @@
+Name: sonar-runner
+Version: 2.0
+Release: 2%{?dist}
+Summary: Default launcher to analyze a project with SonarQube
+
+License: LGPLv3+
+URL: http://www.sonarqube.org
+Source0: https://github.com/SonarSource/%{name}/archive/%{version}.tar.gz
+
+BuildRequires: maven-local
+BuildRequires: mvn(ch.qos.logback:logback-classic)
+BuildRequires: mvn(org.codehaus.sonar-plugins:parent:pom:)
+BuildRequires: mvn(org.codehaus.sonar:sonar-batch)
+BuildRequires: mvn(org.codehaus.sonar:sonar-plugin-api)
+
+BuildArch: noarch
+
+%description
+The SonarQube Runner is recommended as the default launcher to analyze
+a project with SonarQube.
+
+%package javadoc
+Summary: JavaDoc for %{name}
+
+%description javadoc
+%{summary}.
+
+%prep
+%setup -q
+
+%pom_remove_plugin :maven-assembly-plugin
+
+%mvn_file ':{*}' sonar/@1
+
+%build
+# missing fest-assert, sonar-testing-harness
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%files javadoc -f .mfiles-javadoc
+
+%changelog
+* Mon Nov 17 2014 Michael Simacek <msimacek at redhat.com> - 2.0-2
+- Remove assembly-plugin
+
+* Tue Oct 28 2014 Michael Simacek <msimacek at redhat.com> - 2.0-1
+- Initial version
diff --git a/sources b/sources
index e69de29..34ec6f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d568ba245b368813fd99bba815f69bac 2.0.tar.gz
More information about the scm-commits
mailing list