[
https://issues.apache.org/activemq/browse/SMX4-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50040#action_50040
]
Charles Moulliard commented on SMX4-231:
----------------------------------------
@Ulhas,
I have modified my config file like this but my maven local repository is not
used :
#
# Path to the local maven settings file.
# The repositories defined in this file will be automatically added to the list
# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
# below is not set.
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=
org.ops4j.pax.url.mvn.settings=C:/.m2/settings.xml
#
# Path to the local maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty( "user.home" ) + "/.m2/repository"
#
org.ops4j.pax.url.mvn.localRepository=file:///c:/.m2/reposit...@snapshots
#
# Comma separated list of repositories scanned when resolving an artifact.
# The default list includes the following repositories:
# http://repo1.maven.org/maven2
# http://repository.ops4j.org/maven2
# To add repositories to the default ones, prepend '+' to the list of
repositories
# to add.
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
#
# The following property value will add the system folder as a repo.
#
#org.ops4j.pax.url.mvn.repositories=file:${user.home}/.m2/reposit...@snapshots,http://repo1.maven.org/maven2,http://repo.open.iona.com/maven2-snaps...@snapshots@noreleases,http://svn.apache.org/repos/asf/servicemix/m2-repo,http://repo.open.iona.com/maven2
org.ops4j.pax.url.mvn.repositories=file:///c:/.m2/reposit...@snapshots,http://repo1.maven.org/maven2,http://repo.open.iona.com/maven2-snaps...@snapshots@noreleases,http://svn.apache.org/repos/asf/servicemix/m2-repo,http://repo.open.iona.com/maven2
> 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.