Skip to content

Commit 5ec1e8e

Browse files
committed
build.xml: Add Build-Jdk-Spec to MANIFEST.MF
Its real-world usage is more consistent than that of Created-By. It's already used at least by Maven Archiver.
1 parent 2103742 commit 5ec1e8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@
8888
It's already used by Maven Archiver for Build-Jdk-Spec. -->
8989
<attribute name="Created-By" value="${java.specification.version}"
9090
if:true="${manifest_cleanup}"/>
91+
92+
<!-- Unconditionally add Build-Jdk-Spec too because its real-world
93+
use is more clearly defined than that of Created-By. -->
94+
<attribute name="Build-Jdk-Spec"
95+
value="${java.specification.version}"/>
9196
</manifest>
9297
</target>
9398

0 commit comments

Comments
 (0)