[
https://issues.apache.org/activemq/browse/SMX4-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50035#action_50035
]
Charles Moulliard commented on SMX4-231:
----------------------------------------
@Ulhas,
1) Here is the name of the spring repositories (if they are required).
How do I configure a Maven build to work with the repository?
The bundle repository makes its artefacts available in a suitable format for
use with Maven. First define the SpringSource Bundle Repository to Maven as
follows:
<repository> <id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle
Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository> <repository>
<id>com.springsource.repository.bundles.external</id> <name>SpringSource
Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
If you are using library definitions with the SpringSource dm Server you will
need to add the following:
<repository> <id>com.springsource.repository.libraries.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Library
Releases</name>
<url>http://repository.springsource.com/maven/libraries/release</url>
</repository> <repository>
<id>com.springsource.repository.libraries.external</id> <name>SpringSource
Enterprise Bundle Repository - External Library Releases</name>
<url>http://repository.springsource.com/maven/libraries/external</url>
</repository>
How can I use them ?
2) An alternative that I see is to use the obr repsository of apache obr
(http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/repository.xml) ?
<capability name="package">
<p n="package" v="org.springframework.orm.hibernate3"/>
<p n="uses:"
v="org.hibernate.util,org.apache.commons.logging,org.aopalliance.intercept,org.springframework.beans,org.hibernate.type,org.hibernate.exception,org.hibernate.event,org.springframework.dao.support,org.springframework.core,org.hibernate.connection,org.hibernate.classic,org.hibernate.impl,org.hibernate.transaction,org.hibernate.context,org.springframework.jdbc.datasource,org.springframework.beans.factory,org.springframework.transaction,org.hibernate.engine,org.hibernate.cfg,org.springframework.util,org.springframework.core.io,org.springframework.jdbc.support,org.hibernate.dialect,org.hibernate,javax.sql,org.springframework.orm,org.springframework.jdbc.support.lob,org.hibernate.criterion,javax.transaction,org.hibernate.tool.hbm2ddl,org.springframework.transaction.jta,org.springframework.dao,org.springframework.transaction.support"/>
<p n="version" t="version" v="2.5.0"/>
</capability>
How can I use it ?
> Not possible to reference to a local features.xml file (Fuse ESB 4.0.0.4)
> -------------------------------------------------------------------------
>
> Key: SMX4-231
> URL: https://issues.apache.org/activemq/browse/SMX4-231
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Charles Moulliard
>
> Hi,
> I have created a local features file (on my pc) that I would like to use to
> add features to Fuse ESB 4.0.0.4
> #
> # Comma separated list of features repositories to register by default
> #
> featuresRepositories=http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features.xml,
> mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0.4-fuse/xml/features,
> mvn:org.apache.servicemix.features/apache-servicemix/4.0.0.4-fuse/xml/features,
> file:///D:/Dvlpt/Java/workspace-ganymede/fuse-smx4-source/apache-servicemix-4.0.0.4-fuse/features.xml
> #
> # Comma separated list of features to install at startup
> #
> #
> featuresBoot=management,transaction,activemq,camel,cxf,cxf-osgi,web,web-core,hibernate
> Content of features.xml file
> <features>
> <feature name="hibernate">
>
> <bundle>mvn:org.hibernate/com.springsource.org.hibernate/3.3.1.GA</bundle>
> </feature>
> </features>
> log of the console
> servicemix osgi> features list
> State Version Name
> ERROR UnknownHostException: svn.apache.org
> servicemix> features
> servicemix features> list
> State Version Name
> [uninstalled] [ 0.0.0] servicemix-saxon
> [installed ] [ 0.0.0] transaction
> [uninstalled] [ 0.0.0] examples-camel-nmr
> [uninstalled] [ 0.0.0] servicemix-ftp
> [uninstalled] [ 0.0.0] servicemix-drools
> [uninstalled] [ 0.0.0] examples-cxf-osgi
> [uninstalled] [ 0.0.0] servicemix-quartz
> [uninstalled] [ 0.0.0] servicemix-jms
> [installed ] [ 0.0.0] camel
> [uninstalled] [ 0.0.0] servicemix-cxf-bc
> [uninstalled] [ 0.0.0] examples-camel-osgi
> [uninstalled] [ 0.0.0] servicemix-wsn2005
> [installed ] [ 0.0.0] activemq
> [uninstalled] [ 0.0.0] servicemix-validation
> [uninstalled] [ 0.0.0] servicemix-bean
> [uninstalled] [ 0.0.0] servicemix-osworkflow
> [installed ] [ 0.0.0] web-core
> [uninstalled] [ 0.0.0] servicemix-eip
> [installed ] [ 0.0.0] cxf
> [uninstalled] [ 0.0.0] servicemix-file
> [uninstalled] [ 0.0.0] servicemix-scripting
> [uninstalled] [ 0.0.0] servicemix-cxf-se
> [uninstalled] [ 0.0.0] camel-nmr
> [uninstalled] [ 0.0.0] web
> [installed ] [ 0.0.0] cxf-osgi
> [uninstalled] [ 0.0.0] servicemix-http
> [uninstalled] [ 0.0.0] examples-cxf-nmr
> [uninstalled] [ 0.0.0] nmr
> [uninstalled] [ 0.0.0] servicemix-camel
> [uninstalled] [ 0.0.0] cxf-nmr
> [uninstalled] [ 0.0.0] examples-cxf-camel-nmr
> [uninstalled] [ 0.0.0] servicemix-mail
> [uninstalled] [ 0.0.0] management
> [uninstalled] [ 0.0.0] jbi
> [uninstalled] [ 0.0.0] servicemix-shared
> Unfortunately, it does not work and no errors are reported on the console
> Remarks :
> - I don't have the rights to create a ticket in Fuse issues tracker. So I
> create the ticket here.
> - The first time that the command features list is called on the console an
> error message appears : ERROR UnknownHostException: svn.apache.org
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.