[OLINGO-266] timestamp support for tecsvc

This commit is contained in:
Stephan Klevenz 2014-05-22 13:19:40 +02:00
parent 92a4404dd4
commit df5ce63af6
5 changed files with 499 additions and 473 deletions

View File

@ -83,6 +83,21 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>com.keyboardsamurais.maven</groupId>
<artifactId>maven-timestamp-plugin</artifactId>
<configuration>
<propertyName>timestamp</propertyName>
<timestampPattern>dd.MM.yyyy HH:mm</timestampPattern>
</configuration>
<executions>
<execution>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -26,7 +26,8 @@
<tfoot> <tfoot>
<tr> <tr>
<td colspan=2><a href="http://olingo.apache.org" target="self">Apache <td>Home</td>
<td><a href="http://olingo.apache.org" target="self">Apache
Olingo</a></td> Olingo</a></td>
</tr> </tr>
</tfoot> </tfoot>
@ -39,5 +40,9 @@
<td>version</td> <td>version</td>
<td>${version}</td> <td>${version}</td>
</tr> </tr>
<tr>
<td>timestamp</td>
<td>${timestamp}</td>
</tr>
</tbody> </tbody>
</table> </table>

View File

@ -83,7 +83,8 @@ hr {
border-bottom: 1px solid #8904B1; border-bottom: 1px solid #8904B1;
} }
.version { .version {
font-family: "Courier New", monospace; font-family: "Courier New", monospace;
font-size: 9px; font-size: 10px;
} }

View File

@ -41,11 +41,15 @@
<hr> <hr>
</div> </div>
<h2>Technical Service</h2> <h2>Technical Service</h2>
<lu> <div>
<ul>
<li><a href="odata.svc/">Service Document</a></li> <li><a href="odata.svc/">Service Document</a></li>
<li><a href="odata.svc/$metadata">Metadata</a></li> <li><a href="odata.svc/$metadata">Metadata</a></li>
</lu> </ul>
</div>
<p> <p>
<hr> <hr>
<p> <p>

43
pom.xml
View File

@ -1,24 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
Licensed to the Apache Software Foundation (ASF) under one information regarding copyright ownership. The ASF licenses this file to
or more contributor license agreements. See the NOTICE file you under the Apache License, Version 2.0 (the "License"); you may not use
distributed with this work for additional information this file except in compliance with the License. You may obtain a copy of
regarding copyright ownership. The ASF licenses this file the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
to you under the Apache License, Version 2.0 (the by applicable law or agreed to in writing, software distributed under the
"License"); you may not use this file except in compliance License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
with the License. You may obtain a copy of the License at OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -369,6 +359,11 @@
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version> <version>2.9.1</version>
</plugin> </plugin>
<plugin>
<groupId>com.keyboardsamurais.maven</groupId>
<artifactId>maven-timestamp-plugin</artifactId>
<version>1.0</version>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
@ -421,7 +416,13 @@
<failOnViolation>true</failOnViolation> <failOnViolation>true</failOnViolation>
<violationSeverity>warning</violationSeverity> <violationSeverity>warning</violationSeverity>
<!-- fit autogenerated (via pojogen plugin) resources --> <!-- fit autogenerated (via pojogen plugin) resources -->
<excludes>**/fit/proxy/v4/staticservice/**/*.java, **/fit/proxy/v3/staticservice/**/*.java, **/fit/proxy/v3/actionoverloading/**/*.java, **/fit/proxy/v3/primitivekeys/**/*.java, **/fit/proxy/v3/opentype/**/*.java, **/fit/proxy/v4/opentype/**/*.java, **/fit/proxy/v4/demo/**/*.java</excludes> <excludes>**/fit/proxy/v4/staticservice/**/*.java,
**/fit/proxy/v3/staticservice/**/*.java,
**/fit/proxy/v3/actionoverloading/**/*.java,
**/fit/proxy/v3/primitivekeys/**/*.java,
**/fit/proxy/v3/opentype/**/*.java,
**/fit/proxy/v4/opentype/**/*.java,
**/fit/proxy/v4/demo/**/*.java</excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>