Excluded tool.jar from transitive byteman dep

This commit is contained in:
Jiri Vanek 2021-08-16 13:07:27 +02:00
commit e4c6fef5c9
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,16 @@
--- runtime-decompiler/pom.xml
+++ runtime-decompiler/pom.xml
@@ -163,6 +163,12 @@
<artifactId>byteman-install</artifactId>
<version>4.0.15</version>
<type>jar</type>
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- For tests -->

View file

@ -13,6 +13,8 @@ Patch2: systemProcyon.patch
Patch4: systemCfr.patch
Patch5: systemJasm.patch
Patch6: systemJcoder.patch
#to fix issue, when byteman requires tools.jar
Patch7: excludeTrasnitiveTools.patch
BuildArch: noarch
@ -23,7 +25,7 @@ BuildRequires: ant-junit
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-surefire
BuildRequires: maven-surefire-plugin
BuildRequires: java-11-devel
BuildRequires: java-11-openjdk-devel
BuildRequires: google-gson
BuildRequires: desktop-file-utils
BuildRequires: classpathless-compiler
@ -53,6 +55,7 @@ This package contains the API documentation for %{name}.
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%build
pushd runtime-decompiler