Skip to content

Commit

Permalink
Merge pull request #177 from gsmet/fix-osgi-manifest
Browse files Browse the repository at this point in the history
Override Require-Capability in manifest to keep 1.8 compatibility
  • Loading branch information
gsmet committed May 26, 2022
2 parents c8d9bd7 + 6879979 commit bfd51ab
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 bfd51ab

Please sign in to comment.