diff --git a/pom.xml b/pom.xml index e0efc6ed1..e505234fa 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,11 @@ 1.9.0-SNAPSHOT pom + + yyyy-MM-dd HH:mm:ss + ${maven.build.timestamp} + + Vitro @@ -37,6 +42,24 @@ 1.7 + + org.codehaus.mojo + buildnumber-maven-plugin + 1.4 + + + validate + + create + + + + + false + false + 7 + + @@ -47,4 +70,16 @@ https://raw.github.com/vivo-project/dependencies/master/ + + + + scm:git:git@github.com:vivo-project/Vitro.git + scm:git:git@github.com:vivo-project/Vitro.git + git@github.com:vivo-project/Vitro.git + HEAD + diff --git a/webapp/pom.xml b/webapp/pom.xml index beea6bbe3..8a888dd99 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -27,6 +27,12 @@ WEB-INF/lib/*.jar false + + + 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 000000000..6221cbb37 --- /dev/null +++ b/webapp/src/main/webResources/WEB-INF/resources/revisionInfo.txt @@ -0,0 +1,2 @@ +${build.timestamp} +Vitro ~ ${project.version} ~ ${buildNumber} \ No newline at end of file