Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      Hi

      I would like to contribute apache camel components by introducing the schematron engine. Here is a link to it in Github: https://github.com/akhettar/camel/tree/master/components/camel-schematron

      Comments and suggestions are welcome.

      Regards,

      Ayache

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        211d 14h 9m 1 ayache khettar 18/Sep/14 09:21
        Hide
        ASF GitHub Bot added a comment -

        Github user akhettar closed the pull request at:

        https://github.com/apache/camel/pull/99

        Show
        ASF GitHub Bot added a comment - Github user akhettar closed the pull request at: https://github.com/apache/camel/pull/99
        Hide
        ayache khettar added a comment -

        Many thanks Bilgin, credit goes to you too for your encouragement . Looking forward to my next project, more likely something similar but this time is going to be for our beloved JSON .

        Ayache

        Show
        ayache khettar added a comment - Many thanks Bilgin, credit goes to you too for your encouragement . Looking forward to my next project, more likely something similar but this time is going to be for our beloved JSON . Ayache
        Hide
        Bilgin Ibryam added a comment -

        Congrats on your first Camel component Ayache. Hopefully many more contributions to follow

        Show
        Bilgin Ibryam added a comment - Congrats on your first Camel component Ayache. Hopefully many more contributions to follow
        Hide
        ayache khettar added a comment -

        Excellent, many thanks

        Show
        ayache khettar added a comment - Excellent, many thanks
        Hide
        Willem Jiang added a comment -

        It's caused by the xml code snippet. I just fix it by adding some return characters.

        Show
        Willem Jiang added a comment - It's caused by the xml code snippet. I just fix it by adding some return characters.
        Hide
        ayache khettar added a comment -

        Willem, any idea as to why the published version of the wiki has the page drifting to far right? The wiki looks correct comparing to the 'Rest' one for instance.

        Thanks

        Ayache

        Show
        ayache khettar added a comment - Willem, any idea as to why the published version of the wiki has the page drifting to far right? The wiki looks correct comparing to the 'Rest' one for instance. Thanks Ayache
        ayache khettar made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        ayache khettar added a comment -

        Excellent. I am closing this now.

        Ayache

        Show
        ayache khettar added a comment - Excellent. I am closing this now. Ayache
        Hide
        Willem Jiang added a comment -

        Hi Ayache,

        The document looks good. I just updated the link of release note and component list for this new component.
        Now we can close this JIRA and have a beer when Apache Camel 2.14.0 release officially.

        Thanks for you contribution

        Willem

        Show
        Willem Jiang added a comment - Hi Ayache, The document looks good. I just updated the link of release note and component list for this new component. Now we can close this JIRA and have a beer when Apache Camel 2.14.0 release officially. Thanks for you contribution Willem
        Hide
        ayache khettar added a comment -

        Hi Willem

        I have created a wiki page: https://cwiki.apache.org/confluence/display/CAMEL/Schematron. Can you review this for me?

        Regards,

        Ayache

        Show
        ayache khettar added a comment - Hi Willem I have created a wiki page: https://cwiki.apache.org/confluence/display/CAMEL/Schematron . Can you review this for me? Regards, Ayache
        Hide
        ayache khettar added a comment -

        I believe it's Ayache Khettar

        Show
        ayache khettar added a comment - I believe it's Ayache Khettar
        Hide
        Willem Jiang added a comment -

        Hi Ayache,

        Can you give me your wiki user id? I will ping the wiki admin for it.
        Regards,

        Willem

        Show
        Willem Jiang added a comment - Hi Ayache, Can you give me your wiki user id? I will ping the wiki admin for it. Regards, Willem
        Hide
        ayache khettar added a comment -

        Hi Willem

        I got the below response from the Apache secretary, can you grant me access to the wiki?

        Kind regards,

        Ayache

        Dear Ayache Khettar,

        This message acknowledges receipt of your ICLA, which has been filed in the Apache Software Foundation records.

        If you have been invited as a committer, please advise the project PMC that your ICLA has been filed.

        Warm Regards,

        – James Carman
        Assistant Secretary, Apache Software Foundation

        Show
        ayache khettar added a comment - Hi Willem I got the below response from the Apache secretary, can you grant me access to the wiki? Kind regards, Ayache Dear Ayache Khettar, This message acknowledges receipt of your ICLA, which has been filed in the Apache Software Foundation records. If you have been invited as a committer, please advise the project PMC that your ICLA has been filed. Warm Regards, – James Carman Assistant Secretary, Apache Software Foundation
        Hide
        ayache khettar added a comment -

        Hi

        I have signed CLA form and sent it to secretary@apache.org, awaiting to receive permission to edit the wiki.

        Ayache

        Show
        ayache khettar added a comment - Hi I have signed CLA form and sent it to secretary@apache.org, awaiting to receive permission to edit the wiki. Ayache
        Hide
        ayache khettar added a comment -

        Excellent. I am happy to write a document page, I shall get it ready this weekend hopefully.

        Thanks

        Ayache

        Show
        ayache khettar added a comment - Excellent. I am happy to write a document page, I shall get it ready this weekend hopefully. Thanks Ayache
        Willem Jiang made changes -
        Fix Version/s 2.14.0 [ 12326054 ]
        Fix Version/s 2.15.0 [ 12327940 ]
        Willem Jiang made changes -
        Assignee Bilgin Ibryam [ bibryam ] Willem Jiang [ njiang ]
        Hide
        Willem Jiang added a comment -

        Hi Ayache,

        I just merged the code in your git hub to camel-2.14.x branch, so it should be part of camel-2.14.0.
        As the latest schematron files in the google code has the MIT license header, I just updated those files and added ASF license header to them. I also fixed some CS errors of the code and updated the feature for camel-schematron.

        Now, we just need to add a document for this component. Do you mind writing a wiki page for it?
        You can take http://camel.apache.org/rest as an example.

        Regards,

        Willem

        Show
        Willem Jiang added a comment - Hi Ayache, I just merged the code in your git hub to camel-2.14.x branch, so it should be part of camel-2.14.0. As the latest schematron files in the google code has the MIT license header, I just updated those files and added ASF license header to them. I also fixed some CS errors of the code and updated the feature for camel-schematron. Now, we just need to add a document for this component. Do you mind writing a wiki page for it? You can take http://camel.apache.org/rest as an example. Regards, Willem
        Hide
        ayache khettar added a comment -

        Hi

        Is this component gonna make it for the Camel 14.0 release? Let me know if you need anything.

        Regards,

        Ayache

        Show
        ayache khettar added a comment - Hi Is this component gonna make it for the Camel 14.0 release? Let me know if you need anything. Regards, Ayache
        Claus Ibsen made changes -
        Fix Version/s 2.15.0 [ 12327940 ]
        Hide
        ayache khettar added a comment -

        Hi

        Still complaining about the missing java (com.springsource.javassist). I've downloaded and installed the missing jar, but now getting the error below. Is the profile validate run successfully?

        INFO] Camel :: Platforms ................................ SUCCESS [ 1.533 s]
        [INFO] Camel :: Platforms :: Apache Karaf ................ SUCCESS [ 0.076 s]
        [INFO] Camel :: Platforms :: Apache Karaf :: Commands .... SUCCESS [ 4.378 s]
        [INFO] Camel :: Platforms :: Apache Karaf :: Features .... FAILURE [ 2.434 s]
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 9.226 s
        [INFO] Finished at: 2014-08-09T20:12:12+00:00
        [INFO] Final Memory: 34M/650M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate (validate) on project apache-camel: Execution validate of goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate failed: An API incompatibility was encountered while executing org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate: java.lang.NoSuchMethodError: aQute.bnd.service.AnalyzerPlugin.analyzeJar(LaQute/lib/osgi/Analyzer;)Z
        [ERROR] -----------------------------------------------------
        [ERROR] realm = plugin>org.apache.karaf.tooling:features-maven-plugin:2.3.5
        [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
        [ERROR] urls[0] = file:/Users/akhettar/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.5/features-maven-plugin-2.3.5.jar
        [ERROR] urls[1] = file:/Users/akhettar/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar
        [ERROR] urls[2] = file:/Users/akhettar/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
        [ERROR] urls[3] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
        [ERROR] urls[4] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
        [ERROR] urls[5] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
        [ERROR] urls[6] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
        [ERROR] urls[7] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
        [ERROR] urls[8] = file:/Users/akhettar/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar
        [ERROR] urls[9] = file:/Users/akhettar/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
        [ERROR] urls[10] = file:/Users/akhettar/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
        [ERROR] urls[11] = file:/Users/akhettar/.m2/repository/com/google/code/google-collections/google-collect/snapshot-20080530/google-collect-snapshot-20080530.jar
        [ERROR] urls[12] = file:/Users/akhettar/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar
        [ERROR] urls[13] = file:/Users/akhettar/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.6/wstx-asl-3.2.6.jar
        [ERROR] urls[14] = file:/Users/akhettar/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
        [ERROR] urls[15] = file:/Users/akhettar/.m2/repository/org/sonatype/spice/model-builder/1.3/model-builder-1.3.jar
        [ERROR] urls[16] = file:/Users/akhettar/.m2/repository/org/apache/maven/maven-project-builder/3.0-alpha-2/maven-project-builder-3.0-alpha-2.jar
        [ERROR] urls[17] = file:/Users/akhettar/.m2/repository/org/apache/felix/maven-bundle-plugin/2.4.0/maven-bundle-plugin-2.4.0.jar
        [ERROR] urls[18] = file:/Users/akhettar/.m2/repository/biz/aQute/bnd/bndlib/2.2.0/bndlib-2.2.0.jar
        [ERROR] urls[19] = file:/Users/akhettar/.m2/repository/org/osgi/org.osgi.core/4.3.1/org.osgi.core-4.3.1.jar
        [ERROR] urls[20] = file:/Users/akhettar/.m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
        [ERROR] urls[21] = file:/Users/akhettar/.m2/repository/org/easymock/easymock/3.2/easymock-3.2.jar
        [ERROR] urls[22] = file:/Users/akhettar/.m2/repository/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar
        [ERROR] urls[23] = file:/Users/akhettar/.m2/repository/org/objenesis/objenesis/1.3/objenesis-1.3.jar
        [ERROR] urls[24] = file:/Users/akhettar/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.7/maven-reporting-api-2.0.7.jar
        [ERROR] urls[25] = file:/Users/akhettar/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
        [ERROR] urls[26] = file:/Users/akhettar/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
        [ERROR] urls[27] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
        [ERROR] urls[28] = file:/Users/akhettar/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
        [ERROR] urls[29] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar
        [ERROR] urls[30] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar
        [ERROR] urls[31] = file:/Users/akhettar/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
        [ERROR] urls[32] = file:/Users/akhettar/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
        [ERROR] urls[33] = file:/Users/akhettar/.m2/repository/org/apache/karaf/features/org.apache.karaf.features.core/2.3.5/org.apache.karaf.features.core-2.3.5.jar
        [ERROR] urls[34] = file:/Users/akhettar/.m2/repository/org/apache/karaf/shell/org.apache.karaf.shell.obr/2.3.5/org.apache.karaf.shell.obr-2.3.5.jar
        [ERROR] urls[35] = file:/Users/akhettar/.m2/repository/org/ops4j/pax/url/pax-url-wrap/1.3.7/pax-url-wrap-1.3.7.jar
        [ERROR] urls[36] = file:/Users/akhettar/.m2/repository/org/ops4j/pax/url/pax-url-mvn/1.3.7/pax-url-mvn-1.3.7.jar
        [ERROR] urls[37] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/2.3.5/org.apache.karaf.deployer.spring-2.3.5.jar
        [ERROR] urls[38] = file:/Users/akhettar/.m2/repository/org/apache/karaf/org.apache.karaf.util/2.3.5/org.apache.karaf.util-2.3.5.jar
        [ERROR] urls[39] = file:/Users/akhettar/.m2/repository/org/apache/felix/org.apache.felix.utils/1.4.2/org.apache.felix.utils-1.4.2.jar
        [ERROR] urls[40] = file:/Users/akhettar/.m2/repository/org/osgi/org.osgi.compendium/4.3.1/org.osgi.compendium-4.3.1.jar
        [ERROR] urls[41] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/2.3.5/org.apache.karaf.deployer.blueprint-2.3.5.jar
        [ERROR] urls[42] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.features/2.3.5/org.apache.karaf.deployer.features-2.3.5.jar
        [ERROR] urls[43] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/2.3.5/org.apache.karaf.deployer.kar-2.3.5.jar
        [ERROR] urls[44] = file:/Users/akhettar/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.ant/1.8.4_1/org.apache.servicemix.bundles.ant-1.8.4_1.jar
        [ERROR] urls[45] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
        [ERROR] Number of foreign imports: 1
        [ERROR] import: Entry[import from realm ClassRealm[project>org.apache.camel:platforms:2.14-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
        [ERROR]
        [ERROR] -----------------------------------------------------
        [ERROR] -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [ERROR]
        [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
        [ERROR]
        [ERROR] After correcting the problems, you can resume the build with the command
        [ERROR] mvn <goals> -rf :apache-camel

        Show
        ayache khettar added a comment - Hi Still complaining about the missing java (com.springsource.javassist). I've downloaded and installed the missing jar, but now getting the error below. Is the profile validate run successfully? INFO] Camel :: Platforms ................................ SUCCESS [ 1.533 s] [INFO] Camel :: Platforms :: Apache Karaf ................ SUCCESS [ 0.076 s] [INFO] Camel :: Platforms :: Apache Karaf :: Commands .... SUCCESS [ 4.378 s] [INFO] Camel :: Platforms :: Apache Karaf :: Features .... FAILURE [ 2.434 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.226 s [INFO] Finished at: 2014-08-09T20:12:12+00:00 [INFO] Final Memory: 34M/650M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate (validate) on project apache-camel: Execution validate of goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate failed: An API incompatibility was encountered while executing org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate: java.lang.NoSuchMethodError: aQute.bnd.service.AnalyzerPlugin.analyzeJar(LaQute/lib/osgi/Analyzer;)Z [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.apache.karaf.tooling:features-maven-plugin:2.3.5 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls [0] = file:/Users/akhettar/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.5/features-maven-plugin-2.3.5.jar [ERROR] urls [1] = file:/Users/akhettar/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar [ERROR] urls [2] = file:/Users/akhettar/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar [ERROR] urls [3] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [ERROR] urls [4] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar [ERROR] urls [5] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar [ERROR] urls [6] = file:/Users/akhettar/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar [ERROR] urls [7] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar [ERROR] urls [8] = file:/Users/akhettar/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar [ERROR] urls [9] = file:/Users/akhettar/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar [ERROR] urls [10] = file:/Users/akhettar/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar [ERROR] urls [11] = file:/Users/akhettar/.m2/repository/com/google/code/google-collections/google-collect/snapshot-20080530/google-collect-snapshot-20080530.jar [ERROR] urls [12] = file:/Users/akhettar/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar [ERROR] urls [13] = file:/Users/akhettar/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.6/wstx-asl-3.2.6.jar [ERROR] urls [14] = file:/Users/akhettar/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar [ERROR] urls [15] = file:/Users/akhettar/.m2/repository/org/sonatype/spice/model-builder/1.3/model-builder-1.3.jar [ERROR] urls [16] = file:/Users/akhettar/.m2/repository/org/apache/maven/maven-project-builder/3.0-alpha-2/maven-project-builder-3.0-alpha-2.jar [ERROR] urls [17] = file:/Users/akhettar/.m2/repository/org/apache/felix/maven-bundle-plugin/2.4.0/maven-bundle-plugin-2.4.0.jar [ERROR] urls [18] = file:/Users/akhettar/.m2/repository/biz/aQute/bnd/bndlib/2.2.0/bndlib-2.2.0.jar [ERROR] urls [19] = file:/Users/akhettar/.m2/repository/org/osgi/org.osgi.core/4.3.1/org.osgi.core-4.3.1.jar [ERROR] urls [20] = file:/Users/akhettar/.m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar [ERROR] urls [21] = file:/Users/akhettar/.m2/repository/org/easymock/easymock/3.2/easymock-3.2.jar [ERROR] urls [22] = file:/Users/akhettar/.m2/repository/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar [ERROR] urls [23] = file:/Users/akhettar/.m2/repository/org/objenesis/objenesis/1.3/objenesis-1.3.jar [ERROR] urls [24] = file:/Users/akhettar/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.7/maven-reporting-api-2.0.7.jar [ERROR] urls [25] = file:/Users/akhettar/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar [ERROR] urls [26] = file:/Users/akhettar/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar [ERROR] urls [27] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar [ERROR] urls [28] = file:/Users/akhettar/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar [ERROR] urls [29] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar [ERROR] urls [30] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar [ERROR] urls [31] = file:/Users/akhettar/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar [ERROR] urls [32] = file:/Users/akhettar/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar [ERROR] urls [33] = file:/Users/akhettar/.m2/repository/org/apache/karaf/features/org.apache.karaf.features.core/2.3.5/org.apache.karaf.features.core-2.3.5.jar [ERROR] urls [34] = file:/Users/akhettar/.m2/repository/org/apache/karaf/shell/org.apache.karaf.shell.obr/2.3.5/org.apache.karaf.shell.obr-2.3.5.jar [ERROR] urls [35] = file:/Users/akhettar/.m2/repository/org/ops4j/pax/url/pax-url-wrap/1.3.7/pax-url-wrap-1.3.7.jar [ERROR] urls [36] = file:/Users/akhettar/.m2/repository/org/ops4j/pax/url/pax-url-mvn/1.3.7/pax-url-mvn-1.3.7.jar [ERROR] urls [37] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/2.3.5/org.apache.karaf.deployer.spring-2.3.5.jar [ERROR] urls [38] = file:/Users/akhettar/.m2/repository/org/apache/karaf/org.apache.karaf.util/2.3.5/org.apache.karaf.util-2.3.5.jar [ERROR] urls [39] = file:/Users/akhettar/.m2/repository/org/apache/felix/org.apache.felix.utils/1.4.2/org.apache.felix.utils-1.4.2.jar [ERROR] urls [40] = file:/Users/akhettar/.m2/repository/org/osgi/org.osgi.compendium/4.3.1/org.osgi.compendium-4.3.1.jar [ERROR] urls [41] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/2.3.5/org.apache.karaf.deployer.blueprint-2.3.5.jar [ERROR] urls [42] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.features/2.3.5/org.apache.karaf.deployer.features-2.3.5.jar [ERROR] urls [43] = file:/Users/akhettar/.m2/repository/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/2.3.5/org.apache.karaf.deployer.kar-2.3.5.jar [ERROR] urls [44] = file:/Users/akhettar/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.ant/1.8.4_1/org.apache.servicemix.bundles.ant-1.8.4_1.jar [ERROR] urls [45] = file:/Users/akhettar/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.apache.camel:platforms:2.14-SNAPSHOT, parent: ClassRealm [maven.api, parent: null] ]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :apache-camel
        Hide
        Bilgin Ibryam added a comment -

        can you try the same mvn command by adding "- U" ?

        Show
        Bilgin Ibryam added a comment - can you try the same mvn command by adding "- U" ?
        Hide
        ayache khettar added a comment -

        I have added the schematron component feature into the features.xml. It is failing on validating camel-ognl feature, commented out the feature but still failing on that.

        [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate (validate) on project apache-camel: Unable to validate /Users/akhettar/Projects/Camel/camel/platforms/karaf/features/target/classes/features.xml: Failure to find org.jboss.javassist:com.springsource.javassist:jar:3.18.1-GA in http://scriptengines.googlecode.com/svn/m2-repo/ was cached in the local repository, resolution will not be reattempted until the update interval of google.script.repo has elapsed or updates are forced
        [ERR

        Show
        ayache khettar added a comment - I have added the schematron component feature into the features.xml. It is failing on validating camel-ognl feature, commented out the feature but still failing on that. [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.5:validate (validate) on project apache-camel: Unable to validate /Users/akhettar/Projects/Camel/camel/platforms/karaf/features/target/classes/features.xml: Failure to find org.jboss.javassist:com.springsource.javassist:jar:3.18.1-GA in http://scriptengines.googlecode.com/svn/m2-repo/ was cached in the local repository, resolution will not be reattempted until the update interval of google.script.repo has elapsed or updates are forced [ERR
        Hide
        Bilgin Ibryam added a comment -

        Good job Ayache,
        Yes, you can generate the feature in platform/karaf foolder and build it to validate the feature.
        Can you also answer question number 7 above.

        Cheers,

        Show
        Bilgin Ibryam added a comment - Good job Ayache, Yes, you can generate the feature in platform/karaf foolder and build it to validate the feature. Can you also answer question number 7 above. Cheers,
        Hide
        ayache khettar added a comment - - edited

        Hi

        All the fixes have been pushed into forked master branch. I've managed to fix all the warning related to "wrong import order". Do I need to generate features.xml for this component?

        The XSLT implementation of schematron can be downloaded from here:
        http://www.schematron.com/implementation.html
        for XSLT 2.0 (this is what the camel schematron component uses): http://www.schematron.com/tmp/iso-schematron-xslt2.zip

        Thanks

        Ayache

        Show
        ayache khettar added a comment - - edited Hi All the fixes have been pushed into forked master branch. I've managed to fix all the warning related to "wrong import order". Do I need to generate features.xml for this component? The XSLT implementation of schematron can be downloaded from here: http://www.schematron.com/implementation.html for XSLT 2.0 (this is what the camel schematron component uses): http://www.schematron.com/tmp/iso-schematron-xslt2.zip Thanks Ayache
        Hide
        ayache khettar added a comment -

        Hi Bilgin

        Thank you for the suggestion, I fixed most of them except the warnings. How do I suppress the warnings below?

        Regards,

        Ayache

        WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for !org.apache.camel.component.schematron.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for com.thoughtworks.xstream.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for freemarker.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for javax.persistence.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for net.sf.flatpack.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for net.sf.saxon.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.antlr.stringtemplate.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.abdera.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.commons.httpclient.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.commons.logging.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.cxf.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.lucene.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.qpid.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.solr.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.velocity.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.xmlbeans.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.ccil.cowan.tagsoup.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.eclipse.jetty.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.jivesoftware.smack.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.mortbay.cometd.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.osgi.framework*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.ws.*
        [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.xml.*

        Show
        ayache khettar added a comment - Hi Bilgin Thank you for the suggestion, I fixed most of them except the warnings. How do I suppress the warnings below? Regards, Ayache WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for !org.apache.camel.component.schematron.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for com.thoughtworks.xstream.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for freemarker.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for javax.persistence.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for net.sf.flatpack.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for net.sf.saxon.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.antlr.stringtemplate.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.abdera.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.commons.httpclient.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.commons.logging.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.cxf.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.lucene.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.qpid.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.solr.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.velocity.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.apache.xmlbeans.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.ccil.cowan.tagsoup.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.eclipse.jetty.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.jivesoftware.smack.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.mortbay.cometd.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.osgi.framework* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.ws.* [WARNING] Bundle org.apache.camel:camel-schematron:bundle:2.14-SNAPSHOT : Did not find matching referal for org.springframework.xml.*
        Hide
        Bilgin Ibryam added a comment -

        Dear Ayache,

        this is a great contribution. Can you do the following cleanup pls:

        1. run mvn clean install -Pfastinstall,sourcecheck for your component and fix the warnings.
        2. Add license header to camel-schematron/src/main/resources/META-INF/services/org/apache/camel/component/schematron file. Also to all the files, including test resources.
        3. Update component pom to use only one version of Camel
        4. Remove author refs in the source files
        5. Rename contants package to constants
        6. Do you really need saxon-dom? can you remove that dependency and replace net.sf.saxon.FeatureKeys with net.sf.saxon.lib.FeatureKeys? With that change tests seem to pass fine.
        7. Can you provide a link to where you get the copy of all the resources in camel-schematron/src/main/resources/iso-schematron-xslt2 folder, so we can verify their license.
        8. Change the constant values so they are consistent with other components, ie start with CamelSchematron

        Thanks,

        Show
        Bilgin Ibryam added a comment - Dear Ayache, this is a great contribution. Can you do the following cleanup pls: 1. run mvn clean install -Pfastinstall,sourcecheck for your component and fix the warnings. 2. Add license header to camel-schematron/src/main/resources/META-INF/services/org/apache/camel/component/schematron file. Also to all the files, including test resources. 3. Update component pom to use only one version of Camel 4. Remove author refs in the source files 5. Rename contants package to constants 6. Do you really need saxon-dom? can you remove that dependency and replace net.sf.saxon.FeatureKeys with net.sf.saxon.lib.FeatureKeys? With that change tests seem to pass fine. 7. Can you provide a link to where you get the copy of all the resources in camel-schematron/src/main/resources/iso-schematron-xslt2 folder, so we can verify their license. 8. Change the constant values so they are consistent with other components, ie start with CamelSchematron Thanks,
        Hide
        Willem Jiang added a comment -

        Hi, Bilgin

        We are in the middle of cutting camel-2.13.0, please hold this patch a few days and commit it when we released the camel-2.13.0.
        In the meanwhile you can create a branch for this component, if you want to hack the code and share with us.

        Regards,

        Willem

        Show
        Willem Jiang added a comment - Hi, Bilgin We are in the middle of cutting camel-2.13.0, please hold this patch a few days and commit it when we released the camel-2.13.0. In the meanwhile you can create a branch for this component, if you want to hack the code and share with us. Regards, Willem
        Bilgin Ibryam made changes -
        Field Original Value New Value
        Assignee Bilgin Ibryam [ bibryam ]
        Hide
        ASF GitHub Bot added a comment -

        GitHub user akhettar opened a pull request:

        https://github.com/apache/camel/pull/99

        Adding new components: Schematron component

        Jira detai are here: https://issues.apache.org/jira/browse/CAMEL-7220

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/akhettar/camel master

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/camel/pull/99.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #99


        commit df479df6266b41980695671b76f37bad9808d9ab
        Author: akhettar <akhettar@ayaches-macbook-pro.local>
        Date: 2013-12-29T21:03:45Z

        first commit

        commit 9940a941c19698581c83544668dd3c18cdd5c0ae
        Author: akhettar <ayache.khettar@gmail.com>
        Date: 2014-01-09T22:12:12Z

        first commit

        commit 871c49fd198f2603c15c426b8c4974bb9782061d
        Author: akhettar <ayache.khettar@gmail.com>
        Date: 2014-01-09T22:14:16Z

        First commit

        commit 129fa260781ae340f88a838f80b64182522a2aa4
        Author: akhettar <ayache.khettar@gmail.com>
        Date: 2014-01-26T21:28:57Z

        adding abort parameter

        commit 4367fa5f925b3c135749f0971be7ae78438b1a51
        Author: akhettar <ayache.khettar@gmail.com>
        Date: 2014-02-05T22:06:08Z

        setting report body in the header

        commit ca6862fe8877dcf066f4c58ed80c76cb01021886
        Author: akhettar <ayache.khettar@gmail.com>
        Date: 2014-02-17T22:50:33Z

        checkstyle tidy up

        commit 971d2a3ebc71be3f64922d291aa61fa706c5c1e0
        Author: Ayache Khettar <ayache.khettar@gmail.com>
        Date: 2014-02-18T18:04:21Z

        Update README.md

        commit 3060f9d9fd903cffaa4430dc9f50eff6c3bc22d2
        Author: Ayache Khettar <ayache.khettar@gmail.com>
        Date: 2014-02-18T18:05:53Z

        Update README.md

        commit d06ee0d16f96f8e2f5ae853f341c2c06c56f1518
        Author: Ayache Khettar <ayache.khettar@gmail.com>
        Date: 2014-02-18T18:06:32Z

        Update README.md


        Show
        ASF GitHub Bot added a comment - GitHub user akhettar opened a pull request: https://github.com/apache/camel/pull/99 Adding new components: Schematron component Jira detai are here: https://issues.apache.org/jira/browse/CAMEL-7220 You can merge this pull request into a Git repository by running: $ git pull https://github.com/akhettar/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/99.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #99 commit df479df6266b41980695671b76f37bad9808d9ab Author: akhettar <akhettar@ayaches-macbook-pro.local> Date: 2013-12-29T21:03:45Z first commit commit 9940a941c19698581c83544668dd3c18cdd5c0ae Author: akhettar <ayache.khettar@gmail.com> Date: 2014-01-09T22:12:12Z first commit commit 871c49fd198f2603c15c426b8c4974bb9782061d Author: akhettar <ayache.khettar@gmail.com> Date: 2014-01-09T22:14:16Z First commit commit 129fa260781ae340f88a838f80b64182522a2aa4 Author: akhettar <ayache.khettar@gmail.com> Date: 2014-01-26T21:28:57Z adding abort parameter commit 4367fa5f925b3c135749f0971be7ae78438b1a51 Author: akhettar <ayache.khettar@gmail.com> Date: 2014-02-05T22:06:08Z setting report body in the header commit ca6862fe8877dcf066f4c58ed80c76cb01021886 Author: akhettar <ayache.khettar@gmail.com> Date: 2014-02-17T22:50:33Z checkstyle tidy up commit 971d2a3ebc71be3f64922d291aa61fa706c5c1e0 Author: Ayache Khettar <ayache.khettar@gmail.com> Date: 2014-02-18T18:04:21Z Update README.md commit 3060f9d9fd903cffaa4430dc9f50eff6c3bc22d2 Author: Ayache Khettar <ayache.khettar@gmail.com> Date: 2014-02-18T18:05:53Z Update README.md commit d06ee0d16f96f8e2f5ae853f341c2c06c56f1518 Author: Ayache Khettar <ayache.khettar@gmail.com> Date: 2014-02-18T18:06:32Z Update README.md
        ayache khettar created issue -

          People

          • Assignee:
            Willem Jiang
            Reporter:
            ayache khettar
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development