Remove test and missing deps from pom.xml
This commit is contained in:
parent
59ecfa34e7
commit
bf6ca62c38
61
0001-Remove-test-and-missing-deps-from-core-pom.xml.patch
Normal file
61
0001-Remove-test-and-missing-deps-from-core-pom.xml.patch
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
From 0790a9ffbe05520dd0eafc2fb7fd812e17fa5eee Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
|
||||||
|
Date: Thu, 12 May 2011 15:42:28 +0200
|
||||||
|
Subject: [PATCH] Remove test and missing deps from core pom.xml
|
||||||
|
|
||||||
|
---
|
||||||
|
core/pom.xml | 31 +------------------------------
|
||||||
|
1 files changed, 1 insertions(+), 30 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/core/pom.xml b/core/pom.xml
|
||||||
|
index d0410c5..d12ab39 100644
|
||||||
|
--- a/core/pom.xml
|
||||||
|
+++ b/core/pom.xml
|
||||||
|
@@ -23,43 +23,14 @@
|
||||||
|
<artifactId>javax.inject</artifactId>
|
||||||
|
<version>1</version>
|
||||||
|
</dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>aopalliance</groupId>
|
||||||
|
- <artifactId>aopalliance</artifactId>
|
||||||
|
- <version>1.0</version>
|
||||||
|
- </dependency>
|
||||||
|
<!--
|
||||||
|
| Replace with official CGLIB artifact when it's released
|
||||||
|
-->
|
||||||
|
<dependency>
|
||||||
|
- <groupId>org.sonatype.sisu.inject</groupId>
|
||||||
|
+ <groupId>net.sf.cglib</groupId>
|
||||||
|
<artifactId>cglib</artifactId>
|
||||||
|
<version>${cglib.version}</version>
|
||||||
|
</dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>javax.inject</groupId>
|
||||||
|
- <artifactId>javax.inject-tck</artifactId>
|
||||||
|
- <version>1</version>
|
||||||
|
- <scope>test</scope>
|
||||||
|
- </dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>org.springframework</groupId>
|
||||||
|
- <artifactId>spring-beans</artifactId>
|
||||||
|
- <version>3.0.5.RELEASE</version>
|
||||||
|
- <scope>test</scope>
|
||||||
|
- </dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>biz.aQute</groupId>
|
||||||
|
- <artifactId>bnd</artifactId>
|
||||||
|
- <version>0.0.384</version>
|
||||||
|
- <scope>test</scope>
|
||||||
|
- </dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>org.apache.felix</groupId>
|
||||||
|
- <artifactId>org.apache.felix.framework</artifactId>
|
||||||
|
- <version>3.0.5</version>
|
||||||
|
- <scope>test</scope>
|
||||||
|
- </dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
--
|
||||||
|
1.7.4.4
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: google-%{short_name}
|
Name: google-%{short_name}
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 0.1.rc2%{?dist}
|
Release: 0.2.rc2%{?dist}
|
||||||
Summary: Lightweight dependency injection framework
|
Summary: Lightweight dependency injection framework
|
||||||
|
|
||||||
|
|
||||||
@ -19,6 +19,9 @@ Source0: https://%{name}.googlecode.com/files/%{short_name}-%{version}-rc
|
|||||||
# needed for maven 3 to work
|
# needed for maven 3 to work
|
||||||
Patch0: sisu-custom.patch
|
Patch0: sisu-custom.patch
|
||||||
|
|
||||||
|
# bz#704222
|
||||||
|
Patch1: 0001-Remove-test-and-missing-deps-from-core-pom.xml.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
@ -31,6 +34,7 @@ BuildRequires: junit
|
|||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildRequires: slf4j
|
BuildRequires: slf4j
|
||||||
|
BuildRequires: jpackage-utils
|
||||||
|
|
||||||
Requires: java >= 1:1.6.0
|
Requires: java >= 1:1.6.0
|
||||||
Requires(post): jpackage-utils
|
Requires(post): jpackage-utils
|
||||||
@ -66,6 +70,7 @@ Requires: jpackage-utils
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{short_name}-%{version}-rc2-src
|
%setup -q -n %{short_name}-%{version}-rc2-src
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
# remove parent definition referencing google-parent
|
# remove parent definition referencing google-parent
|
||||||
sed -ie '/<parent>/,/<\/parent/ {d}' pom.xml
|
sed -ie '/<parent>/,/<\/parent/ {d}' pom.xml
|
||||||
@ -149,9 +154,7 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|||||||
%postun
|
%postun
|
||||||
%update_maven_depmap
|
%update_maven_depmap
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/*
|
||||||
@ -159,13 +162,15 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|||||||
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 12 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0-0.2.rc2
|
||||||
|
- Remove test and missing deps from pom.xml
|
||||||
|
|
||||||
* Tue Mar 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0-0.1.rc2
|
* Tue Mar 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0-0.1.rc2
|
||||||
- Update to 3.0rc2
|
- Update to 3.0rc2
|
||||||
- Changes according to new guidelines (versionless jars & javadocs)
|
- Changes according to new guidelines (versionless jars & javadocs)
|
||||||
|
Loading…
Reference in New Issue
Block a user