What repo did you find the mina 1.1.7_2-SNAPSHOT bundle in?  I can't find it
in any of these:

http://people.apache.org/repo/m2-snapshot-repository (has a 1.1.7_2-SNAPSHOT
directory but it's empty)
https://repository.apache.org/content/repositories/snapshots
http://repo.fusesource.com/maven2-snapshot (has mina bundle
1.1.6_1-fuse-SNAPSHOT, no 1.1.7 snapshots)
http://svn.apache.org/repos/asf/servicemix/m2-repo



willem.jiang wrote:
> 
> Hi,
> 
> I can reproduce the error as you said.
> But when I use the latest snapshot of servicemix mina bundle[1] 
> (1.1.7_2-SNAPSHOT), the error is gone.
> 
> So I compared the two bundle's MANIFEST.MF, the main difference is the 
> new workable snapshot bundle's has the Ignore-Package section, I think 
> this will help Felix to ignore the MINA 2.0 bundle's exporting packages.
> 
> [1]
> http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/mina-1.1.7
> 
> 
> Willem
> 
> ariekenb wrote:
>> Willem Jiang committed a change to add a version number on the mina
>> imports
>> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
>> 
>> I checked out the current camel-1.x branch and built it and tried
>> installing
>> in FUSE ESB 4.1.0.2.
>> 
>> First I installed the mina 1.1.7 bundle:
>> 
>> install -s
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
>> 
>> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and
>> got
>> the error below:
>> 
>> s...@root:osgi> install -s
>> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
>> ERROR CommandLineExecutionFailed:
>> org.apache.geronimo.gshell.command.CommandException:
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
>> package;
>> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
>> 
>> 
>> I do not understand why this error happens - the mina bundle is exporting
>> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe
>> someone
>> else could try this in FUSE ESB 4.1.0.2?
>> 
>> 
>> 
>> 
>> Claus Ibsen-2 wrote:
>>> Hmm Mina 2.0 has not been released as final yet.
>>>
>>> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
>>> the last stable release.
>>> And I do not think camel-mina have OSGi version limitation to mina
>>> 1.1.x in the manifest file.
>>>
>>>
>>>
>>>
>>> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<[email protected]>
>>> wrote:
>>>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>>>>
>>>> s...@root:features> install camel-mina
>>>> ERROR CommandLineExecutionFailed:
>>>> org.apache.geronimo.gshell.command.CommandException:
>>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>>> 157:
>>>> package; (package=org.apache.mina.common)
>>>>
>>>>
>>>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
>>>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>>>> included
>>>> in the system directory.  No mina 1.1.x bundle is included with ESB
>>>> 4.1.0.2,
>>>> and there does not seem to be any mina 1.1.x bundle available on
>>>> http://repo.open.iona.com.
>>>>
>>>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -- 
>>> Claus Ibsen
>>> Apache Camel Committer
>>>
>>> Open Source Integration: http://fusesource.com
>>> Blog: http://davsclaus.blogspot.com/
>>> Twitter: http://twitter.com/davsclaus
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24985240.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to