feat: always populate MANIFEST with project.name and .version
Compare changes
Files
2- Nicholas Blair authored
+ 6
− 1
@@ -61,7 +61,12 @@ cpublish {
If you received inactive project deletion emails on 4/30/25, you can ignore them. The projects named in those emails will NOT be deleted on 7/30/25. Some type of inactive project deletion will be implemented later this year, but you'll receive further communications before any deletions are scheduled.
This pull request directs the plugin to configure the jar
task (if present, provided by the java
plugin) and/or the war
task (if present, provided by the war
plugin) to set the Implementation-Version
and Implementation-Title
attributes in the MANIFEST.MF file included in the result.
The end result is that issue #1 (closed) can be satisfied by pulling out Implementation-Version
from the MANIFEST. By using MANIFEST, we use a file in Java specifications and we don't have to pollute the build of downstream projects with our own custom properties file.
Manifest reference:
https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html