From 145f8c52d0b5ee4d3d42e679041c8c7a20b88418 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 22 Jan 2015 16:56:38 -0800 Subject: [PATCH] [About] Inject version during build Inject version during build, to populate About dialog. WTD-699. --- platform/core/bundle.json | 2 +- pom.xml | 38 +++++++++++++++++++++++++------------- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/platform/core/bundle.json b/platform/core/bundle.json index 3ae730083c..ef1fd9ccd4 100644 --- a/platform/core/bundle.json +++ b/platform/core/bundle.json @@ -6,7 +6,7 @@ "versions": [ { "name": "Open MCT Web", - "value": "0.3.0-dev", + "value": "${project.version}", "priority": 1000 }, { diff --git a/pom.xml b/pom.xml index 74cac18a90..768e9320bb 100644 --- a/pom.xml +++ b/pom.xml @@ -22,19 +22,31 @@ maven-war-plugin 2.4 - . - - index.html, - *.json, - **/src/**/*, - **/res/**/*, - **/lib/**/*, - **/bundle.json - - - example/**/*, - **/test/lib/* - + + + . + + index.html + *.json + **/src/**/* + **/res/**/* + **/lib/**/* + **/bundle.json + + + platform/core/bundle.json + example/**/* + **/test/lib/* + + + + . + + platform/core/bundle.json + + true + + false