You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/01/29 16:54:36 UTC
[6/6] camel git commit: CAMEL-10740: Polished. This closes #1422
CAMEL-10740: Polished. This closes #1422
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/53c98ed0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/53c98ed0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/53c98ed0
Branch: refs/heads/master
Commit: 53c98ed09aa2430d14233d0392b49a8824ff3fa9
Parents: b24af35
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Jan 29 17:50:31 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Jan 29 17:54:19 2017 +0100
----------------------------------------------------------------------
components/camel-tika/pom.xml | 3 +++
.../src/main/docs/tika-component.adoc | 5 ----
.../src/test/resources/log4j2.properties | 28 ++++++++++++++++++++
3 files changed, 31 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/53c98ed0/components/camel-tika/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-tika/pom.xml b/components/camel-tika/pom.xml
index 6233b9f..08a605e 100644
--- a/components/camel-tika/pom.xml
+++ b/components/camel-tika/pom.xml
@@ -36,10 +36,12 @@
</properties>
<dependencies>
+
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
</dependency>
+
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
@@ -50,6 +52,7 @@
<artifactId>tika-parsers</artifactId>
<version>${tika-version}</version>
</dependency>
+
<!-- test dependencies -->
<dependency>
<groupId>org.apache.camel</groupId>
http://git-wip-us.apache.org/repos/asf/camel/blob/53c98ed0/components/camel-tika/src/main/docs/tika-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-tika/src/main/docs/tika-component.adoc b/components/camel-tika/src/main/docs/tika-component.adoc
index f077452..d228464 100644
--- a/components/camel-tika/src/main/docs/tika-component.adoc
+++ b/components/camel-tika/src/main/docs/tika-component.adoc
@@ -1,5 +1,4 @@
## Tika Component
-### TIKA
**Available as of Camel 2.19.0**
@@ -90,7 +89,3 @@ from("direct:start")
* link:component.html[Component]
* link:endpoint.html[Endpoint]
* link:getting-started.html[Getting Started]
-
--
-
--
http://git-wip-us.apache.org/repos/asf/camel/blob/53c98ed0/components/camel-tika/src/test/resources/log4j2.properties
----------------------------------------------------------------------
diff --git a/components/camel-tika/src/test/resources/log4j2.properties b/components/camel-tika/src/test/resources/log4j2.properties
new file mode 100644
index 0000000..3b1bd0d
--- /dev/null
+++ b/components/camel-tika/src/test/resources/log4j2.properties
@@ -0,0 +1,28 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-tika-test.log
+appender.file.layout.type = PatternLayout
+appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
+appender.out.type = Console
+appender.out.name = out
+appender.out.layout.type = PatternLayout
+appender.out.layout.pattern = [%30.30t] %-30.30c{1} %-5p %m%n
+rootLogger.level = INFO
+rootLogger.appenderRef.file.ref = file