[ 
https://issues.apache.org/activemq/browse/SMX4-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60082#action_60082
 ] 

Willem Jiang commented on SMX4-531:
-----------------------------------

@Gert

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}

> Update the jsmpp bundle to 2.1.0
> --------------------------------
>
>                 Key: SMX4-531
>                 URL: https://issues.apache.org/activemq/browse/SMX4-531
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>    Affects Versions: 4.2.0
>            Reporter: Jaco van Tonder
>            Assignee: Gert Vanthienen
>             Fix For: 4.4.0
>
>         Attachments: SMX4-531.patch
>
>
> Update the servicemix bundle for jsmpp to 2.1.0.
> This version of jsmpp fixes a serious issue that affects the EnquireLink 
> functionality of camel-smpp.
> The jsmpp release is available here: 
> [http://code.google.com/p/jsmpp/downloads/list]

-- 
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