diff --git a/pom.xml b/pom.xml index 19340f8a..2e2c401c 100644 --- a/pom.xml +++ b/pom.xml @@ -14,6 +14,8 @@ ../Vitro ${project.version} ${basedir} + yyyy-MM-dd HH:mm:ss + ${maven.build.timestamp} VIVO @@ -113,9 +115,31 @@ 1.7 + + org.codehaus.mojo + buildnumber-maven-plugin + 1.4 + + + validate + + create + + + + + false + false + 7 + + + vivo-dependencies @@ -123,4 +147,16 @@ https://raw.github.com/vivo-project/dependencies/master/ + + + + scm:git:git@github.com:vivo-project/VIVO.git + scm:git:git@github.com:vivo-project/VIVO.git + git@github.com:vivo-project/VIVO.git + HEAD + diff --git a/webapp/pom.xml b/webapp/pom.xml index 15d83636..7191930e 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -40,6 +40,12 @@ war + + + src/main/webResources + true + + diff --git a/webapp/src/main/webResources/WEB-INF/resources/revisionInfo.txt b/webapp/src/main/webResources/WEB-INF/resources/revisionInfo.txt new file mode 100644 index 00000000..96e26ad2 --- /dev/null +++ b/webapp/src/main/webResources/WEB-INF/resources/revisionInfo.txt @@ -0,0 +1,2 @@ +${build.timestamp} +VIVO ~ ${project.version} ~ ${buildNumber} \ No newline at end of file