Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
v0.5.0
-
None
-
None
Description
# Get git-head commit ID COMMITID=`git rev-parse HEAD` # Get current maven version VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` DATE=`date` # Generate classes/assets/build-version.json # Access as static resource /build-version.json { version: "$VERSION" commit: "$COMMITID" built: "$, MacOSX, 1.8.0_74-b02" }
Attachments
Issue Links
- is related to
-
EAGLE-734 Integrate maven-buildNumber-plugin and Version.java
- Resolved