Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9272611C9A for ; Fri, 12 Sep 2014 15:40:21 +0000 (UTC) Received: (qmail 75245 invoked by uid 500); 12 Sep 2014 15:40:21 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 75080 invoked by uid 500); 12 Sep 2014 15:40:21 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 74922 invoked by uid 99); 12 Sep 2014 15:40:21 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 15:40:21 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 38C1BA11894; Fri, 12 Sep 2014 15:40:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ningjiang@apache.org To: commits@camel.apache.org Date: Fri, 12 Sep 2014 15:40:31 -0000 Message-Id: <5f1aafbca1cb4ea5bf5b797a7b7aca7b@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [13/13] git commit: CAMEL-7220 Added camel-schematron into the apache-camel kit and added feature for it CAMEL-7220 Added camel-schematron into the apache-camel kit and added feature for it Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a3ab30a5 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a3ab30a5 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a3ab30a5 Branch: refs/heads/camel-2.14.x Commit: a3ab30a55cd036c74e49597d862ba924efb050e7 Parents: e597385 Author: Willem Jiang Authored: Fri Sep 12 23:35:41 2014 +0800 Committer: Willem Jiang Committed: Fri Sep 12 23:39:54 2014 +0800 ---------------------------------------------------------------------- apache-camel/pom.xml | 4 ++ .../src/main/descriptors/common-bin.xml | 1 + components/pom.xml | 1 + parent/pom.xml | 5 +++ .../features/src/main/resources/features.xml | 9 ++++- .../camel/itest/karaf/CamelSchematronTest.java | 40 ++++++++++++++++++++ 6 files changed, 59 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/apache-camel/pom.xml ---------------------------------------------------------------------- diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml index 43346a9..d01c38e 100644 --- a/apache-camel/pom.xml +++ b/apache-camel/pom.xml @@ -564,6 +564,10 @@ org.apache.camel + camel-schematron + + + org.apache.camel camel-script http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/apache-camel/src/main/descriptors/common-bin.xml ---------------------------------------------------------------------- diff --git a/apache-camel/src/main/descriptors/common-bin.xml b/apache-camel/src/main/descriptors/common-bin.xml index 9cd6bb8..e2108e4 100644 --- a/apache-camel/src/main/descriptors/common-bin.xml +++ b/apache-camel/src/main/descriptors/common-bin.xml @@ -152,6 +152,7 @@ org.apache.camel:camel-sap-netweaver org.apache.camel:camel-saxon org.apache.camel:camel-scala + org.apache.camel:camel-schematron org.apache.camel:camel-script org.apache.camel:camel-servlet org.apache.camel:camel-servletlistener http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/components/pom.xml ---------------------------------------------------------------------- diff --git a/components/pom.xml b/components/pom.xml index 18a7a72..7e96ce0 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -169,6 +169,7 @@ camel-sap-netweaver camel-saxon camel-salesforce + camel-schematron camel-script camel-servlet camel-servletlistener http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index 79df226..efa5a1d 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -1182,6 +1182,11 @@ org.apache.camel + camel-schematron + ${project.version} + + + org.apache.camel camel-script ${project.version} http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/platforms/karaf/features/src/main/resources/features.xml ---------------------------------------------------------------------- diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index 8da8c6c..350f256 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -1080,7 +1080,14 @@ camel-core mvn:org.apache.camel/camel-scala/${project.version} - + + camel-core + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/${xmlresolver-bundle-version} + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/${saxon-bundle-version} + mvn:commons-io/commons-io/${commons-io-version} + mvn:org.apache.camel/camel-schematron/${project.version} + + mvn:http://scriptengines.googlecode.com/svn/m2-repo/!com.google.code.scriptengines/scriptengines-jruby/${scriptengines-version} mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${servicemix-specs-version} mvn:org.jruby/jruby-core/${jruby-version} http://git-wip-us.apache.org/repos/asf/camel/blob/a3ab30a5/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelSchematronTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelSchematronTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelSchematronTest.java new file mode 100644 index 0000000..7f51d1d --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelSchematronTest.java @@ -0,0 +1,40 @@ +/** + * 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. + */ +package org.apache.camel.itest.karaf; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.ops4j.pax.exam.Configuration; +import org.ops4j.pax.exam.Option; +import org.ops4j.pax.exam.junit.PaxExam; + +@RunWith(PaxExam.class) +public class CamelSchematronTest extends AbstractFeatureTest { + + public static final String COMPONENT = extractName(CamelSchematronTest.class); + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + + @Configuration + public static Option[] configure() { + return configure(COMPONENT); + } + +} \ No newline at end of file