Skip to content

Commit

Permalink
Update format of build info on index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Woods committed Oct 10, 2013
1 parent b711ab7 commit 18d2cc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions fcrepo-webapp/pom.xml
Expand Up @@ -24,6 +24,9 @@

<!-- sonar -->
<sonar.artifact.path>${project.build.directory}${file.separator}${project.artifactId}-${project.version}.war</sonar.artifact.path>

<build.timestamp>${maven.build.timestamp}</build.timestamp>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
</properties>

<dependencies>
Expand Down Expand Up @@ -209,14 +212,10 @@
</execution>
</executions>
<configuration>
<format>Build: ${project.version} on {0,date,yyyy-MM-dd}</format>
<items>
<item>timestamp</item>
</items>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<shortRevisionLength>5</shortRevisionLength>
<shortRevisionLength>8</shortRevisionLength>
</configuration>
</plugin>

Expand Down
2 changes: 1 addition & 1 deletion fcrepo-webapp/src/main/webapp/index.html
Expand Up @@ -9,6 +9,6 @@

<p>You probably want to visit something a little more interesting, such as the
Fedora <a href="rest/">REST API</a> endpoint.</p>
<p>${buildNumber}</p>
<p>Release: ${project.version} | Git build: ${buildNumber}, ${build.timestamp}</p>
</body>
</html>

0 comments on commit 18d2cc8

Please sign in to comment.