Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Some applications use the META-INF/maven/../pom.properties to read the application/jar version at runtime.
This file is generated in the package phase.
During unit tests, or running applications from the workspace (project tree), these files
are not available, which causes problems.
Suggest to move the pom.(properties|xml) generating code in the maven-jar-plugin to a separate
mojo that's bound to generate-resources.
Actually (2.0.4) the pom.properties file looks like :
#Generated by Maven
#Wed Sep 27 19:11:15 CEST 2006
version=2.1.2-SNAPSHOT
groupId=com.accor.ota.receiver
artifactId=ota-receiver-services
Should it be possible to have something like :
BuildTimeStamp=Wed Sep 27 19:11:15 CEST 2006
?
–
Olivier