[ 
https://issues.apache.org/activemq/browse/CAMEL-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60081#action_60081
 ] 

Willem Jiang edited comment on CAMEL-2771 at 6/16/10 12:33 AM:
---------------------------------------------------------------

@Christian,

I just ran "mvn clean install -Pvalidate " in trunk/plateform/karaf directory, 
and found the feature validate complain about these
{code}
[WARNING] No export found to match org.testng (imported by 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsmpp/2.1.0_1-SNAPSHOT)
[WARNING] No export found to match org.testng.annotations (imported by 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsmpp/2.1.0_1-SNAPSHOT)
{code}

I checked the jsmpp jar and found there are some test classes in 
org.jsmpp.bean,  and they are using the testng class.
So I marked the "org.testng" import package as optional in my patch,  so please 
apply it into ServiceMix bundle repository. 

Here is the patch
{code}
Index: pom.xml
===================================================================
--- pom.xml     (revision 954397)
+++ pom.xml     (working copy)
@@ -44,6 +44,7 @@
         </servicemix.osgi.export.pkg>
         <servicemix.osgi.import.pkg>
             !org.jsmpp*,
+            org.testng.*;resolution:=optional,
             *
         </servicemix.osgi.import.pkg>
         <servicemix.osgi.private.pkg>

{code}

      was (Author: njiang):
    @Christian,

I just ran "mvn clean install -Pvalidate " in trunk/plateform/karaf directory, 
and found the feature validate complain about these
{code}
[WARNING] No export found to match org.testng (imported by 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsmpp/2.1.0_1-SNAPSHOT)
[WARNING] No export found to match org.testng.annotations (imported by 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsmpp/2.1.0_1-SNAPSHOT)
{code}

I checked the jsmpp jar and found there are some test classes in 
org.jsmpp.bean,  and they are using the testng class.
So I marked the "org.testng" import package as optional in my patch,  so please 
apply it into ServiceMix bundle repository. 
  
> Update the jsmpp dependency of camel-smpp  to 2.1.0
> ---------------------------------------------------
>
>                 Key: CAMEL-2771
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2771
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-smpp
>    Affects Versions: 2.3.0
>            Reporter: Jaco van Tonder
>            Assignee: Christian Mueller
>             Fix For: 2.4.0
>
>         Attachments: CAMEL-2771.patch
>
>
> Update the jsmpp dependency to 2.1.0. This version of jsmpp solves a serious 
> problem present in jsmpp 2.0 that affects the functionality of the 
> EnquireLinkTimer option of camel-smpp.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to