Open user20161119 opened 9 years ago
my customize property:higo-build-time and the property is in MANIFEST.MF file:
Manifest-Version: 1.0
higo-build-time: 20150820064447
Build-Jdk: 1.7.0_79
Built-By: janwen
Created-By: Maven Integration for Eclipse
@yegor256 please pay attention to this issue
@janwen you need to give more information about your configuration, etc. Also, you may turn on logging for com.jcabi.manifests.*
and you will see which MANIFEST.MF
files are read.
I believe that a MANIFEST.MF that is not in a jar file is not read. So if you don't archive your classes in a webapp the war files MANIFEST.MF is not processed.
I was unable to read web-app MANIFEST.MF until I added the following to my pom
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archiveClasses>true</archiveClasses>
</configuration>
</plugin>