Use NO_AOP guice variant

This commit is contained in:
Mikolaj Izdebski 2020-05-17 08:55:11 +02:00
parent e5de902381
commit c2b902c2e3

View File

@ -21,7 +21,7 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(com.beust:jcommander)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.inject:guice)
BuildRequires: mvn(com.google.inject:guice::no_aop:)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@ -62,6 +62,8 @@ rm src/main/java/org/testng/Converter.java
%pom_remove_dep :bsh
%pom_xpath_inject "pom:dependency[pom:artifactId='guice']" "<classifier>no_aop</classifier>"
# missing test deps
sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java