Skip to content

Commit

Permalink
Merge pull request #303 from Gmugra/302_info_about_compiler_source_ta…
Browse files Browse the repository at this point in the history
…rget

[misc] add info about compiler source/target JDK in JARs MANIFEST.MF …
  • Loading branch information
Gmugra authored Feb 2, 2022
2 parents 3cf759b + b921f59 commit 21c01d9
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 21c01d9

Please sign in to comment.