Enable tests
This commit is contained in:
parent
cef3fb6a29
commit
f356f63363
14
xmvn.spec
14
xmvn.spec
@ -1,6 +1,6 @@
|
|||||||
Name: xmvn
|
Name: xmvn
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 0.6%{?dist}
|
Release: 0.7%{?dist}
|
||||||
Summary: Local Extensions for Apache Maven
|
Summary: Local Extensions for Apache Maven
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://mizdebsk.fedorapeople.org/xmvn
|
URL: http://mizdebsk.fedorapeople.org/xmvn
|
||||||
@ -10,9 +10,9 @@ Source1: %{name}-classworlds.conf
|
|||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: beust-jcommander
|
BuildRequires: beust-jcommander
|
||||||
|
BuildRequires: cglib
|
||||||
BuildRequires: guava
|
BuildRequires: guava
|
||||||
BuildRequires: plexus-classworlds
|
BuildRequires: plexus-classworlds
|
||||||
BuildRequires: plexus-classworlds
|
|
||||||
BuildRequires: plexus-containers-container-default
|
BuildRequires: plexus-containers-container-default
|
||||||
BuildRequires: plexus-utils
|
BuildRequires: plexus-utils
|
||||||
BuildRequires: xbean
|
BuildRequires: xbean
|
||||||
@ -22,7 +22,6 @@ Requires: maven
|
|||||||
Requires: beust-jcommander
|
Requires: beust-jcommander
|
||||||
Requires: guava
|
Requires: guava
|
||||||
Requires: plexus-classworlds
|
Requires: plexus-classworlds
|
||||||
Requires: plexus-classworlds
|
|
||||||
Requires: plexus-containers-container-default
|
Requires: plexus-containers-container-default
|
||||||
Requires: plexus-utils
|
Requires: plexus-utils
|
||||||
Requires: xbean
|
Requires: xbean
|
||||||
@ -42,11 +41,13 @@ This package provides %{summary}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-snapshot
|
%setup -q -n %{name}-snapshot
|
||||||
|
# Add cglib test dependency as a workaround for rhbz#911365
|
||||||
|
%pom_xpath_inject pom:project "<dependencies/>"
|
||||||
|
#%%pom_add_dep cglib:cglib::test
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_file ":{xmvn-{core,connector}}" %{name}/@1 %{_datadir}/%{name}/lib/@1
|
%mvn_file ":{xmvn-{core,connector}}" %{name}/@1 %{_datadir}/%{name}/lib/@1
|
||||||
# Tests are skipped as a workaround for rhbz#911365
|
%mvn_build -X
|
||||||
%mvn_build -f
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -82,6 +83,9 @@ EOF
|
|||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.4.0-0.7
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
* Thu Mar 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.4.0-0.6
|
* Thu Mar 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.4.0-0.6
|
||||||
- Update to newer snapshot
|
- Update to newer snapshot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user