L.S.,

I think this is caused by the service unit analyzer try to create your
beans outside of an OSGi runtime environment, so it's complaining
about runtime dependencies that are missing.  You can try adding
those, but I would recommend turning of service unit analysis
alltogether by adding this bit of plugin configuration: ServiceMix
does not require the information that is generated by the analyzer
anyway, so there's not real need to keep it enabled.

<configuration>
  <useServiceUnitAnalyzer>false</useServiceUnitAnalyzer>
</configuration>



Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On Mon, Apr 4, 2011 at 3:32 PM, bestrafer <[email protected]> wrote:
> Hi
>
> I'm using SMX 4.3 and would like to move locationURI (http-su) from xbean to
> configuration file under SMX/etc folder.
>
> I've found out that OSGi style property place holder in your beans.xml and
> ConfigAdmin Service should be used to  load/set properties from/to property
> files in $SMX4_HOME/etc folder.
>
> But I'm getting the follwing exception during maven install (my xbean and
> pom are below):
> [WARNING] Failed to generate jbi.xml:
> org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to
> generate service unit descriptor!
> org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to
> generate service unit descriptor!
> ...
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unrecognized xbean namespace mapping:
> http://www.springframework.org/schema/osgi-comp
> endium
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  4.0.0
>
>    parent
>    nl.wirelesscircle.esb
>    1.0-SNAPSHOT
>
>  nl.wirelesscircle.esb
>  wireless-http-su
>  1.0-SNAPSHOT
>  jbi-service-unit
>  Wireless HTTP SU
>  http://www.myorganization.org
>
>    4.3
>
>
>
>      org.apache.servicemix
>      servicemix-http
>      2010.01
>
>
>
>
>
>        true
>
>
>        false
>
>      apache
>      Apache Repository
>      http://people.apache.org/repo/m2-ibiblio-rsync-repository
>
>
>
>        false
>
>
>        true
>
>      apache.snapshots
>      Apache Snapshots Repository
>      http://people.apache.org/repo/m2-snapshot-repository
>
>
>
>
>
>        true
>
>
>        false
>
>      apache
>      Apache Repository
>      http://people.apache.org/repo/m2-ibiblio-rsync-repository
>
>
>
>        false
>
>
>        true
>
>      apache.snapshots
>      Apache Snapshots Repository
>      http://people.apache.org/repo/m2-snapshot-repository
>
>
>
>
>
>        src/main/resources
>
>          **/*
>
>
>
>
>
>        org.apache.servicemix.tooling
>        jbi-maven-plugin
>        ${servicemix-version}
>        true
>
>
>
>
>
> How can I fix maven dependencies?
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/osgi-properties-and-maven-config-tp4281749p4281749.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to