Skip to content

Commit

Permalink
[misc] add info about compiler source/target JDK in JARs MANIFEST.MF (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexei Khatskevich committed Jan 31, 2022
1 parent 3cf759b commit b921f59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@
<Implementation-Group-Id>${project.groupId}</Implementation-Group-Id>
<Implementation-Artifact-Id>${project.artifactId}</Implementation-Artifact-Id>
<Build-Time>${maven.build.timestamp}</Build-Time>
<X-Compile-Source-JDK>${jdk.version}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${jdk.version}</X-Compile-Target-JDK>
</manifestEntries>
<pomPropertiesFile>${project.build.directory}/pom.properties</pomPropertiesFile>
</archive>
Expand All @@ -504,7 +506,11 @@
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Group-Id>${project.groupId}</Implementation-Group-Id>
<Implementation-Artifact-Id>${project.artifactId}</Implementation-Artifact-Id>
<Build-Time>${maven.build.timestamp}</Build-Time>
<X-Compile-Source-JDK>${jdk.version}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${jdk.version}</X-Compile-Target-JDK>
</manifestEntries>
<pomPropertiesFile>${project.build.directory}/pom.properties</pomPropertiesFile>
</archive>
Expand Down Expand Up @@ -765,7 +771,11 @@
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Group-Id>${project.groupId}</Implementation-Group-Id>
<Implementation-Artifact-Id>${project.artifactId}</Implementation-Artifact-Id>
<Build-Time>${maven.build.timestamp}</Build-Time>
<X-Compile-Source-JDK>${jdk.version}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${jdk.version}</X-Compile-Target-JDK>
</manifestEntries>
<pomPropertiesFile>${project.build.directory}/pom.properties</pomPropertiesFile>
</archive>
Expand Down

0 comments on commit b921f59

Please sign in to comment.