Repository: olingo-odata4 Updated Branches: refs/heads/olingo-266-tecsvc 92a4404dd -> 44e0c6495
[OLINGO-266] timestamp support for tecsvc Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/df5ce63a Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/df5ce63a Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/df5ce63a Branch: refs/heads/olingo-266-tecsvc Commit: df5ce63af6fb993524a9046cc093dda15e2c1432 Parents: 92a4404 Author: Stephan Klevenz <stephan.klev...@sap.com> Authored: Thu May 22 13:19:40 2014 +0200 Committer: Stephan Klevenz <stephan.klev...@sap.com> Committed: Thu May 22 13:19:40 2014 +0200 ---------------------------------------------------------------------- lib/server-tecsvc/pom.xml | 15 + lib/server-tecsvc/src/main/version/version.html | 7 +- .../src/main/webapp/css/olingo.css | 9 +- lib/server-tecsvc/src/main/webapp/index.jsp | 12 +- pom.xml | 989 ++++++++++--------- 5 files changed, 529 insertions(+), 503 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/df5ce63a/lib/server-tecsvc/pom.xml ---------------------------------------------------------------------- diff --git a/lib/server-tecsvc/pom.xml b/lib/server-tecsvc/pom.xml index cf367d7..1371a00 100644 --- a/lib/server-tecsvc/pom.xml +++ b/lib/server-tecsvc/pom.xml @@ -83,6 +83,21 @@ </execution> </executions> </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> </build> http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/df5ce63a/lib/server-tecsvc/src/main/version/version.html ---------------------------------------------------------------------- diff --git a/lib/server-tecsvc/src/main/version/version.html b/lib/server-tecsvc/src/main/version/version.html index 1537389..a7d74f4 100644 --- a/lib/server-tecsvc/src/main/version/version.html +++ b/lib/server-tecsvc/src/main/version/version.html @@ -26,7 +26,8 @@ <tfoot> <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> </tr> </tfoot> @@ -39,5 +40,9 @@ <td>version</td> <td>${version}</td> </tr> + <tr> + <td>timestamp</td> + <td>${timestamp}</td> + </tr> </tbody> </table> http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/df5ce63a/lib/server-tecsvc/src/main/webapp/css/olingo.css ---------------------------------------------------------------------- diff --git a/lib/server-tecsvc/src/main/webapp/css/olingo.css b/lib/server-tecsvc/src/main/webapp/css/olingo.css index c2323fc..b71723b 100644 --- a/lib/server-tecsvc/src/main/webapp/css/olingo.css +++ b/lib/server-tecsvc/src/main/webapp/css/olingo.css @@ -32,8 +32,8 @@ a:VISITED { color: #D358F7; } -td { - padding:5px; +td { + padding: 5px; } h1,h2,h3,h4,h5,h6 { @@ -83,7 +83,8 @@ hr { border-bottom: 1px solid #8904B1; } + .version { font-family: "Courier New", monospace; - font-size: 9px; -} + font-size: 10px; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/df5ce63a/lib/server-tecsvc/src/main/webapp/index.jsp ---------------------------------------------------------------------- diff --git a/lib/server-tecsvc/src/main/webapp/index.jsp b/lib/server-tecsvc/src/main/webapp/index.jsp index aa3bfcf..0a72eb4 100644 --- a/lib/server-tecsvc/src/main/webapp/index.jsp +++ b/lib/server-tecsvc/src/main/webapp/index.jsp @@ -41,11 +41,15 @@ <hr> </div> <h2>Technical Service</h2> - <lu> - <li><a href="odata.svc/">Service Document</a></li> - <li><a href="odata.svc/$metadata">Metadata</a></li> - </lu> + <div> + + + <ul> + <li><a href="odata.svc/">Service Document</a></li> + <li><a href="odata.svc/$metadata">Metadata</a></li> + </ul> + </div> <p> <hr> <p> http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/df5ce63a/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0f4af7c..bfa468f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,499 +1,500 @@ <?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 information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - 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. - ---> +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor + license agreements. See the NOTICE file distributed with this work for additional + information regarding copyright ownership. The ASF licenses this file to + you under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of + the License at 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" - 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> - - <groupId>org.apache.olingo</groupId> - <artifactId>olingo-parent</artifactId> - <version>0.1.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>${project.artifactId}</name> - - <inceptionYear>2013</inceptionYear> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>14</version> - </parent> - - <licenses> - <license> - <name>The Apache Software License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - - <url>http://olingo.apache.org</url> - - <mailingLists> - <mailingList> - <name>Apache Olingo Developers Mailinglist</name> - <archive>http://mail-archives.apache.org/mod_mbox/olingo-dev/</archive> - <post>mailto:d...@olingo.apache.org</post> - <subscribe>mailto:dev-subscr...@olingo.apache.org</subscribe> - </mailingList> - </mailingLists> - - <modules> - <module>lib</module> - <module>ext</module> - <module>fit</module> - </modules> - - <properties> - <commons.codec.version>1.9</commons.codec.version> - <commons.io.version>2.4</commons.io.version> - <commons.lang3.version>3.3.2</commons.lang3.version> - <commons.beanutils.version>1.9.1</commons.beanutils.version> - - <commons.logging.version>1.1.3</commons.logging.version> - <commons.vfs.version>2.0</commons.vfs.version> - <esigate.version>4.3</esigate.version> - <servlet.version>3.0.1</servlet.version> - <cxf.version>2.7.11</cxf.version> - <spring.version>4.0.3.RELEASE</spring.version> - - <velocity.version>1.7</velocity.version> - <maven.plugin.api.version>3.1.0</maven.plugin.api.version> - <maven.plugin.tools.version>3.2</maven.plugin.tools.version> - - <hc.client.version>4.2.6</hc.client.version> - <jackson.version>2.3.3</jackson.version> - - <antlr.version>4.1</antlr.version> - - <sl4j.version>1.7.7</sl4j.version> - - <log.directory>${project.build.directory}/log</log.directory> - - <cargo.servlet.port>9080</cargo.servlet.port> - <cargo.tomcat.ajp.port>9889</cargo.tomcat.ajp.port> - <cargo.rmi.port>9805</cargo.rmi.port> - <cargo.log>${log.directory}/cargo.log</cargo.log> - <cargo.output>${log.directory}/cargo-output.log</cargo.output> - <tomcat.version>7.0.53</tomcat.version> - - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>commons-codec</groupId> - <artifactId>commons-codec</artifactId> - <version>${commons.codec.version}</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons.io.version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>${commons.lang3.version}</version> - </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>${commons.logging.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - <version>${commons.beanutils.version}</version> - </dependency> - - <dependency> - <groupId>org.antlr</groupId> - <artifactId>antlr4-runtime</artifactId> - <version>${antlr.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>${hc.client.version}</version> - </dependency> - - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-annotations</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.dataformat</groupId> - <artifactId>jackson-dataformat-xml</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml.jackson.jaxrs</groupId> - <artifactId>jackson-jaxrs-json-provider</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>com.fasterxml</groupId> - <artifactId>aalto-xml</artifactId> - <version>0.9.9</version> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${sl4j.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-vfs2</artifactId> - <version>${commons.vfs.version}</version> - </dependency> - <dependency> - <groupId>org.esigate</groupId> - <artifactId>esigate-core</artifactId> - <version>${esigate.version}</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>javax.servlet-api</artifactId> - <version>${servlet.version}</version> - </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-frontend-jaxrs</artifactId> - <version>${cxf.version}</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-web</artifactId> - <version>${spring.version}</version> - </dependency> - - <!-- Pojogen Maven Plugin depenencies --> - <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> - <version>${velocity.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>${maven.plugin.api.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>${maven.plugin.tools.version}</version> - </dependency> - <!-- /Pojogen Maven Plugin depenencies --> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.9.5</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>xmlunit</groupId> - <artifactId>xmlunit</artifactId> - <version>1.5</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <version>${sl4j.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </dependencyManagement> - - <build> - <finalName>${project.artifactId}-${project.version}</finalName> - - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>0.10</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.12.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <showWarnings>true</showWarnings> - <showDeprecation>true</showDeprecation> - <compilerArgument>-Xlint:unchecked</compilerArgument> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <version>2.9</version> - </plugin> - - <plugin> - <groupId>org.codehaus.cargo</groupId> - <artifactId>cargo-maven2-plugin</artifactId> - <version>1.4.8</version> - <configuration> - <container> - <containerId>tomcat7x</containerId> - <zipUrlInstaller> - <url>http://archive.apache.org/dist/tomcat/tomcat-7/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.zip</url> - <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir> - <extractDir>${project.build.directory}/cargo/extract</extractDir> - </zipUrlInstaller> - <log>${cargo.log}</log> - <output>${cargo.output}</output> - </container> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.17</version> - <configuration> - <redirectTestOutputToFile>true</redirectTestOutputToFile> - <runOrder>alphabetical</runOrder> - <encoding>UTF-8</encoding> - <inputEncoding>UTF-8</inputEncoding> - <outputEncoding>UTF-8</outputEncoding> - <argLine>-Dfile.encoding=UTF-8</argLine> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <version>2.17</version> - <configuration> - <redirectTestOutputToFile>true</redirectTestOutputToFile> - <runOrder>alphabetical</runOrder> - <encoding>UTF-8</encoding> - <inputEncoding>UTF-8</inputEncoding> - <outputEncoding>UTF-8</outputEncoding> - <argLine>-Dfile.encoding=UTF-8</argLine> - </configuration> - <executions> - <execution> - <id>integration-test</id> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.6</version> - <configuration> - <encoding>UTF-8</encoding> - <useDefaultDelimiters>false</useDefaultDelimiters> - <delimiters> - <delimiter>${*}</delimiter> - </delimiters> - </configuration> - </plugin> - - <plugin> - <groupId>org.sonatype.plugins</groupId> - <artifactId>jarjar-maven-plugin</artifactId> - <version>1.8</version> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <version>2.4</version> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-invoker-plugin</artifactId> - <version>1.8</version> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9.1</version> - </plugin> - </plugins> - </pluginManagement> - - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <configuration> - <addGroupIdToProjectName>true</addGroupIdToProjectName> - <addVersionToProjectName>true</addVersionToProjectName> - <wtpversion>2.0</wtpversion> - <downloadSources>true</downloadSources> - <downloadJavadocs>true</downloadJavadocs> - - <sourceExcludes> - <excludes> - target/** - </excludes> - </sourceExcludes> - - </configuration> - </plugin> - <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> - <executions> - <execution> - <id>checkstyle</id> - <phase>verify</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - <configuration> - <outputFileFormat>xml</outputFileFormat> - <consoleOutput>true</consoleOutput> - <enableRSS>false</enableRSS> - <linkXRef>false</linkXRef> - <configLocation>src/checkstyle/config.xml</configLocation> - <sourceDirectory>${basedir}/src</sourceDirectory> - <encoding>UTF-8</encoding> - <failOnViolation>true</failOnViolation> - <violationSeverity>warning</violationSeverity> - <!-- 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> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <executions> - <execution> - <id>rat-check</id> - <phase>test</phase> - <goals> - <goal>check</goal> - </goals> - <configuration> - <excludes> - <exclude>**/META-INF/**</exclude> - <exclude>**/*.txt</exclude> - <exclude>**/*.ini</exclude> - <exclude>**/*.bin</exclude> - <exclude>**/MANIFEST.MF</exclude> - <exclude>.gitignore</exclude> - <exclude>.git/**</exclude> - <exclude>bin/**</exclude> - <exclude>**/*.local</exclude> - <exclude>**/*.project</exclude> - <exclude>**/*.classpath</exclude> - <exclude>**/*.json</exclude> - <exclude>**/*.batch</exclude> - <exclude>**/NOTICE</exclude> - <exclude>**/DEPENDENCIES</exclude> - <exclude>**/nb-configuration.xml</exclude> - <exclude>**/.externalToolBuilders/**</exclude> - <exclude>**/maven-eclipse.xml</exclude> - <exclude>**/ref/**</exclude> - <exclude>**/server-ref/**</exclude> - </excludes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>javadocs</id> - - <build> - <defaultGoal>javadoc:aggregate</defaultGoal> - + 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> + + <groupId>org.apache.olingo</groupId> + <artifactId>olingo-parent</artifactId> + <version>0.1.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>${project.artifactId}</name> + + <inceptionYear>2013</inceptionYear> + + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>14</version> + </parent> + + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + + <url>http://olingo.apache.org</url> + + <mailingLists> + <mailingList> + <name>Apache Olingo Developers Mailinglist</name> + <archive>http://mail-archives.apache.org/mod_mbox/olingo-dev/</archive> + <post>mailto:d...@olingo.apache.org</post> + <subscribe>mailto:dev-subscr...@olingo.apache.org</subscribe> + </mailingList> + </mailingLists> + + <modules> + <module>lib</module> + <module>ext</module> + <module>fit</module> + </modules> + + <properties> + <commons.codec.version>1.9</commons.codec.version> + <commons.io.version>2.4</commons.io.version> + <commons.lang3.version>3.3.2</commons.lang3.version> + <commons.beanutils.version>1.9.1</commons.beanutils.version> + + <commons.logging.version>1.1.3</commons.logging.version> + <commons.vfs.version>2.0</commons.vfs.version> + <esigate.version>4.3</esigate.version> + <servlet.version>3.0.1</servlet.version> + <cxf.version>2.7.11</cxf.version> + <spring.version>4.0.3.RELEASE</spring.version> + + <velocity.version>1.7</velocity.version> + <maven.plugin.api.version>3.1.0</maven.plugin.api.version> + <maven.plugin.tools.version>3.2</maven.plugin.tools.version> + + <hc.client.version>4.2.6</hc.client.version> + <jackson.version>2.3.3</jackson.version> + + <antlr.version>4.1</antlr.version> + + <sl4j.version>1.7.7</sl4j.version> + + <log.directory>${project.build.directory}/log</log.directory> + + <cargo.servlet.port>9080</cargo.servlet.port> + <cargo.tomcat.ajp.port>9889</cargo.tomcat.ajp.port> + <cargo.rmi.port>9805</cargo.rmi.port> + <cargo.log>${log.directory}/cargo.log</cargo.log> + <cargo.output>${log.directory}/cargo-output.log</cargo.output> + <tomcat.version>7.0.53</tomcat.version> + + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>${commons.codec.version}</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons.io.version}</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>${commons.lang3.version}</version> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons.logging.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + <version>${commons.beanutils.version}</version> + </dependency> + + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr4-runtime</artifactId> + <version>${antlr.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${hc.client.version}</version> + </dependency> + + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-xml</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-json-provider</artifactId> + <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml</groupId> + <artifactId>aalto-xml</artifactId> + <version>0.9.9</version> + </dependency> + + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${sl4j.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-vfs2</artifactId> + <version>${commons.vfs.version}</version> + </dependency> + <dependency> + <groupId>org.esigate</groupId> + <artifactId>esigate-core</artifactId> + <version>${esigate.version}</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>${servlet.version}</version> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxrs</artifactId> + <version>${cxf.version}</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-web</artifactId> + <version>${spring.version}</version> + </dependency> + + <!-- Pojogen Maven Plugin depenencies --> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + <version>${velocity.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>${maven.plugin.api.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>${maven.plugin.tools.version}</version> + </dependency> + <!-- /Pojogen Maven Plugin depenencies --> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.9.5</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>xmlunit</groupId> + <artifactId>xmlunit</artifactId> + <version>1.5</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + <version>${sl4j.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <finalName>${project.artifactId}-${project.version}</finalName> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.10</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.12.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <showWarnings>true</showWarnings> + <showDeprecation>true</showDeprecation> + <compilerArgument>-Xlint:unchecked</compilerArgument> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <version>2.9</version> + </plugin> + + <plugin> + <groupId>org.codehaus.cargo</groupId> + <artifactId>cargo-maven2-plugin</artifactId> + <version>1.4.8</version> + <configuration> + <container> + <containerId>tomcat7x</containerId> + <zipUrlInstaller> + <url>http://archive.apache.org/dist/tomcat/tomcat-7/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.zip</url> + <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir> + <extractDir>${project.build.directory}/cargo/extract</extractDir> + </zipUrlInstaller> + <log>${cargo.log}</log> + <output>${cargo.output}</output> + </container> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.17</version> + <configuration> + <redirectTestOutputToFile>true</redirectTestOutputToFile> + <runOrder>alphabetical</runOrder> + <encoding>UTF-8</encoding> + <inputEncoding>UTF-8</inputEncoding> + <outputEncoding>UTF-8</outputEncoding> + <argLine>-Dfile.encoding=UTF-8</argLine> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <version>2.17</version> + <configuration> + <redirectTestOutputToFile>true</redirectTestOutputToFile> + <runOrder>alphabetical</runOrder> + <encoding>UTF-8</encoding> + <inputEncoding>UTF-8</inputEncoding> + <outputEncoding>UTF-8</outputEncoding> + <argLine>-Dfile.encoding=UTF-8</argLine> + </configuration> + <executions> + <execution> + <id>integration-test</id> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.6</version> + <configuration> + <encoding>UTF-8</encoding> + <useDefaultDelimiters>false</useDefaultDelimiters> + <delimiters> + <delimiter>${*}</delimiter> + </delimiters> + </configuration> + </plugin> + + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>jarjar-maven-plugin</artifactId> + <version>1.8</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>2.4</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>1.8</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9.1</version> + </plugin> + <plugin> + <groupId>com.keyboardsamurais.maven</groupId> + <artifactId>maven-timestamp-plugin</artifactId> + <version>1.0</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <inherited>true</inherited> - <configuration> - <destDir>javadocs</destDir> - <detectLinks>true</detectLinks> - <detectJavaApiLink>true</detectJavaApiLink> - <links> - <link>http://docs.oracle.com/javaee/6/api/</link> - <link>http://www.slf4j.org/api/</link> - <link>http://commons.apache.org/proper/commons-lang/javadocs/api-release/</link> - <link>http://commons.apache.org/proper/commons-io/javadocs/api-release/</link> - <link>http://commons.apache.org/proper/commons-beanutils/javadocs/v1.9.1/apidocs/</link> - <link>http://commons.apache.org/proper/commons-codec/archives/1.9/apidocs/</link> - <link>http://www.viste.com/Java/Language/http-client/httpcomponents-client-4.2.3-bin/httpcomponents-client-4.2.3/javadoc/</link> - <link>http://fasterxml.github.io/jackson-databind/javadoc/2.3.0/</link> - </links> - </configuration> - </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <configuration> + <addGroupIdToProjectName>true</addGroupIdToProjectName> + <addVersionToProjectName>true</addVersionToProjectName> + <wtpversion>2.0</wtpversion> + <downloadSources>true</downloadSources> + <downloadJavadocs>true</downloadJavadocs> + + <sourceExcludes> + <excludes> + target/** + </excludes> + </sourceExcludes> + + </configuration> + </plugin> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>checkstyle</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <outputFileFormat>xml</outputFileFormat> + <consoleOutput>true</consoleOutput> + <enableRSS>false</enableRSS> + <linkXRef>false</linkXRef> + <configLocation>src/checkstyle/config.xml</configLocation> + <sourceDirectory>${basedir}/src</sourceDirectory> + <encoding>UTF-8</encoding> + <failOnViolation>true</failOnViolation> + <violationSeverity>warning</violationSeverity> + <!-- 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> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <id>rat-check</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <excludes> + <exclude>**/META-INF/**</exclude> + <exclude>**/*.txt</exclude> + <exclude>**/*.ini</exclude> + <exclude>**/*.bin</exclude> + <exclude>**/MANIFEST.MF</exclude> + <exclude>.gitignore</exclude> + <exclude>.git/**</exclude> + <exclude>bin/**</exclude> + <exclude>**/*.local</exclude> + <exclude>**/*.project</exclude> + <exclude>**/*.classpath</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.batch</exclude> + <exclude>**/NOTICE</exclude> + <exclude>**/DEPENDENCIES</exclude> + <exclude>**/nb-configuration.xml</exclude> + <exclude>**/.externalToolBuilders/**</exclude> + <exclude>**/maven-eclipse.xml</exclude> + <exclude>**/ref/**</exclude> + <exclude>**/server-ref/**</exclude> + </excludes> + </configuration> + </execution> + </executions> + </plugin> </plugins> - </build> - </profile> - </profiles> + </build> + + <profiles> + <profile> + <id>javadocs</id> + + <build> + <defaultGoal>javadoc:aggregate</defaultGoal> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <destDir>javadocs</destDir> + <detectLinks>true</detectLinks> + <detectJavaApiLink>true</detectJavaApiLink> + <links> + <link>http://docs.oracle.com/javaee/6/api/</link> + <link>http://www.slf4j.org/api/</link> + <link>http://commons.apache.org/proper/commons-lang/javadocs/api-release/</link> + <link>http://commons.apache.org/proper/commons-io/javadocs/api-release/</link> + <link>http://commons.apache.org/proper/commons-beanutils/javadocs/v1.9.1/apidocs/</link> + <link>http://commons.apache.org/proper/commons-codec/archives/1.9/apidocs/</link> + <link>http://www.viste.com/Java/Language/http-client/httpcomponents-client-4.2.3-bin/httpcomponents-client-4.2.3/javadoc/</link> + <link>http://fasterxml.github.io/jackson-databind/javadoc/2.3.0/</link> + </links> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>