Skip to content

Commit

Permalink
Override Require-Capability in manifest to keep 1.8 compatibility
Browse files Browse the repository at this point in the history
Fixes #175
  • Loading branch information
gsmet committed May 24, 2022
1 parent c8d9bd7 commit 6879979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
<Export-Package>
jakarta.validation.*;version="${project.version}",
</Export-Package>
<!-- Make sure we keep 1.8 compatibility for JavaSE in the manifest -->
<Require-Capability><![CDATA[osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"]]></Require-Capability>
</instructions>
</configuration>
<executions>
Expand Down

0 comments on commit 6879979

Please sign in to comment.