Skip to content

Commit

Permalink
Remove duplicated declaration of required OSGi execution environment (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
HannesWell committed Jul 5, 2024
1 parent c597156 commit 73b7781
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gson/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Bundle-Name: ${project.name}
Bundle-Description: ${project.description}
Bundle-Vendor: Google Gson Project
Bundle-ContactAddress: ${project.parent.url}
Bundle-RequiredExecutionEnvironment: JavaSE-1.7, JavaSE-1.8
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"

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

0 comments on commit 73b7781

Please sign in to comment.