Skip to content

Commit 73b7781

Browse files
authored
Remove duplicated declaration of required OSGi execution environment (#2711)
The bnd-maven-plugin used to generate the OSGi metadata can determine the required EE automatically based on the version of the generated class-files. This avoids inconsistencies if the release target is raised in the future.
1 parent c597156 commit 73b7781

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gson/bnd.bnd

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Bundle-Name: ${project.name}
33
Bundle-Description: ${project.description}
44
Bundle-Vendor: Google Gson Project
55
Bundle-ContactAddress: ${project.parent.url}
6-
Bundle-RequiredExecutionEnvironment: JavaSE-1.7, JavaSE-1.8
7-
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"
86

97
# Optional dependency for JDK's sun.misc.Unsafe
108
# https://bnd.bndtools.org/chapters/920-faq.html#remove-unwanted-imports-

0 commit comments

Comments
 (0)