Add objectweb-asm to BND pluginpath
This commit is contained in:
parent
ee77186fd9
commit
ffe986089d
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: objectweb-asm
|
Name: objectweb-asm
|
||||||
Version: 6.1.1
|
Version: 6.1.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Java bytecode manipulation and analysis framework
|
Summary: Java bytecode manipulation and analysis framework
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://asm.ow2.org/
|
URL: http://asm.ow2.org/
|
||||||
@ -35,6 +35,11 @@ BuildRequires: mvn(org.junit.jupiter:junit-jupiter-params)
|
|||||||
BuildRequires: mvn(org.junit.platform:junit-platform-surefire-provider)
|
BuildRequires: mvn(org.junit.platform:junit-platform-surefire-provider)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# asm-all needs to be in pluginpath for BND. If this self-dependency
|
||||||
|
# becomes a problem then ASM core will have to be build from source
|
||||||
|
# with javac before main maven build, just like bnd-module-plugin
|
||||||
|
BuildRequires: objectweb-asm >= 6.1.1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ASM is an all purpose Java bytecode manipulation and analysis
|
ASM is an all purpose Java bytecode manipulation and analysis
|
||||||
framework. It can be used to modify existing classes or dynamically
|
framework. It can be used to modify existing classes or dynamically
|
||||||
@ -87,7 +92,7 @@ for pom in asm asm-analysis asm-commons asm-test asm-tree asm-util asm-xml; do
|
|||||||
<Bundle-SymbolicName>$bsn</Bundle-SymbolicName>
|
<Bundle-SymbolicName>$bsn</Bundle-SymbolicName>
|
||||||
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
|
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
|
||||||
<_removeheaders>Bnd-LastModified,Build-By,Created-By,Include-Resource,Require-Capability,Tool</_removeheaders>
|
<_removeheaders>Bnd-LastModified,Build-By,Created-By,Include-Resource,Require-Capability,Tool</_removeheaders>
|
||||||
<_pluginpath>$(pwd)/tools/bnd-module-plugin/bnd-module-plugin.jar</_pluginpath>
|
<_pluginpath>$(pwd)/tools/bnd-module-plugin/bnd-module-plugin.jar, $(find-jar objectweb-asm/asm-all)</_pluginpath>
|
||||||
<_plugin>org.objectweb.asm.tools.ModuleInfoBndPlugin;</_plugin>
|
<_plugin>org.objectweb.asm.tools.ModuleInfoBndPlugin;</_plugin>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>"
|
</configuration>"
|
||||||
@ -135,6 +140,9 @@ popd
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.1.1-3
|
||||||
|
- Add objectweb-asm to BND pluginpath
|
||||||
|
|
||||||
* Thu Jun 28 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.1.1-2
|
* Thu Jun 28 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 6.1.1-2
|
||||||
- Allow conditionally building without junit5
|
- Allow conditionally building without junit5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user