Repository: cxf Updated Branches: refs/heads/master a351032f5 -> c2ccecb23
Updating Search/Tika demo on the trunk to use individual parser modules Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c2ccecb2 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c2ccecb2 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c2ccecb2 Branch: refs/heads/master Commit: c2ccecb23ba23497c95be89f9b37f38c69faba7a Parents: a351032 Author: Sergey Beryozkin <[email protected]> Authored: Mon May 16 15:54:33 2016 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Mon May 16 15:54:33 2016 +0100 ---------------------------------------------------------------------- .../main/release/samples/jax_rs/search/pom.xml | 32 +++++++++++++++----- .../src/main/resources/browser/index.html | 2 +- 2 files changed, 26 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/c2ccecb2/distribution/src/main/release/samples/jax_rs/search/pom.xml ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/search/pom.xml b/distribution/src/main/release/samples/jax_rs/search/pom.xml index ffc472b..7d8900d 100644 --- a/distribution/src/main/release/samples/jax_rs/search/pom.xml +++ b/distribution/src/main/release/samples/jax_rs/search/pom.xml @@ -133,13 +133,18 @@ </dependency> <dependency> <groupId>org.apache.tika</groupId> - <artifactId>tika-parsers</artifactId> - <exclusions> - <exclusion> - <groupId>org.apache.poi</groupId> - <artifactId>poi-ooxml</artifactId> - </exclusion> - </exclusions> + <artifactId>tika-core</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.tika</groupId> + <artifactId>tika-parser-pdf-module</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.tika</groupId> + <artifactId>tika-parser-office-module</artifactId> + <version>2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>commons-lang</groupId> @@ -158,4 +163,17 @@ <artifactId>jetty-webapp</artifactId> </dependency> </dependencies> + <repositories> + <repository> + <id>apache-snapshots</id> + <url>http://repository.apache.org/snapshots</url> + <name>Apache Snapshots Repo</name> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + </repositories> </project> http://git-wip-us.apache.org/repos/asf/cxf/blob/c2ccecb2/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html ---------------------------------------------------------------------- diff --git a/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html b/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html index 6caff3a..63ce56b 100644 --- a/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html +++ b/distribution/src/main/release/samples/jax_rs/search/src/main/resources/browser/index.html @@ -19,7 +19,7 @@ </div> <form id="form" class="form-upload" role="form" enctype="multipart/form-data" method="post" action="http://localhost:9000/catalog"> - <h2 class="form-upload-heading">Please select a PDF file</h2> + <h2 class="form-upload-heading">Please upload PDF or ODT file</h2> <div class="form-group"> <input id="file" name="file" type="file" multiple="true" class="file"></input> </div>
