Skip to content

Commit bfd51ab

Browse files
authored
Merge pull request #177 from gsmet/fix-osgi-manifest
Override Require-Capability in manifest to keep 1.8 compatibility
2 parents c8d9bd7 + 6879979 commit bfd51ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
<Export-Package>
108108
jakarta.validation.*;version="${project.version}",
109109
</Export-Package>
110+
<!-- Make sure we keep 1.8 compatibility for JavaSE in the manifest -->
111+
<Require-Capability><![CDATA[osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"]]></Require-Capability>
110112
</instructions>
111113
</configuration>
112114
<executions>

0 commit comments

Comments
 (0)