Created a page in the User's Guide with all of the steps required to
install the web feature to SMX4KNL 1.0.0 -
http://cwiki.apache.org/confluence/display/SMX4KNL/6.6+Installing+additional+features
-Donald
Guillaume Nodet wrote:
Sorry, forgot to mention the repository ;-)
http://repository.ops4j.org/maven2/
On Wed, Oct 15, 2008 at 11:25 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
Some of these jars are not available from the maven central repository.
Add the following repo to the list of known repositories.
Actually, you could also build the features project, which would bring
everything in your local repository.
On Wed, Oct 15, 2008 at 11:13 PM, Donald Woods <[EMAIL PROTECTED]> wrote:
OK, that got me a little further (I can see a larger list of uninstalled
features including the web feature) but it fails with -
ERROR RuntimeException: URL [mvn:org.ops4j.pax.web/pax-web-bundle/0.4.1]
could not be resolved. (enable TRACE logging for details)
I turned on TRACE and the following is in data/log/servicemix.log -
17:00:53,450 | TRACE | Thread-21 | Connection |
.pax.url.mvn.internal.Connection 150 | Version [0.4.1] from URL
[http://repo1.maven.org/maven2/org/ops4j/pax/web/pax-web-bundle/0.4.1/pax-web-bundle-0.4.1.jar]
17:00:53,451 | TRACE | Thread-21 | Connection |
.pax.url.mvn.internal.Connection 150 | Version [0.4.1] from URL
[http://people.apache.org/repo/m2-snapshot-repository/org/ops4j/pax/web/pax-web-bundle/0.4.1/pax-web-bundle-0.4.1.jar]
17:00:53,451 | TRACE | Thread-21 | Connection |
.pax.url.mvn.internal.Connection 155 | Downloading [Version [0.4.1] from
URL
[file:/private/tmp/apache-servicemix-kernel-1.0.0/system/org/ops4j/pax/web/pax-web-bundle/0.4.1/pax-web-bundle-0.4.1.jar]]
17:00:53,452 | DEBUG | Thread-21 | Connection |
.pax.url.mvn.internal.Connection 164 | Could not download [Version
[0.4.1] from URL
[file:/private/tmp/apache-servicemix-kernel-1.0.0/system/org/ops4j/pax/web/pax-web-bundle/0.4.1/pax-web-bundle-0.4.1.jar]]
17:00:53,452 | TRACE | Thread-21 | Connection |
.pax.url.mvn.internal.Connection 165 | Reason
[java.io.FileNotFoundException:
/private/tmp/apache-servicemix-kernel-1.0.0/system/org/ops4j/pax/web/pax-web-bundle/0.4.1/pax-web-bundle-0.4.1.jar
(No such file or directory)]
Any ideas? I tried removing the data/cache and
/tmp/apache-servicemix-kernel-1.0.0 directories and redo the addUrl steps,
but got the same results.
BTW - I'm trying this on MacOSX 10.5.5 with the Sun 1.5.0_16 JDK.
-Donald
Guillaume Nodet wrote:
Did you run the following command after having added the repo:
features addUrl
mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0.0-m3-SNAPSHOT/xml/features
features addUrl
mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features
I've just done that after changing the repositories list (and removing
the pointer to my local maven repo) and i can see all the features.
On Wed, Oct 15, 2008 at 4:43 PM, Donald Woods <[EMAIL PROTECTED]> wrote:
I updated the file to contain -
org.ops4j.pax.url.mvn.repositories=file:${user.home}/.m2/[EMAIL
PROTECTED],http://repo1.maven.org/maven2,http://people.apache.org/repo/[EMAIL
PROTECTED]@noreleases
but the features/list still only showed wrapper as uninstalled and
"features/install web" still failed.
-Donald
Guillaume Nodet wrote:
The easiest way would be to modify the etc/org.ops4j.pax.url.mvn.cfg
file to add the apache snapshot repo to the list of known
repositories.
So make the following repo:
http://people.apache.org/repo/[EMAIL PROTECTED]@noreleases
is included in the following property:
org.ops4j.pax.url.mvn.repositories
On Tue, Oct 14, 2008 at 10:35 PM, Donald Woods <[EMAIL PROTECTED]>
wrote:
I was looking at the users guide for for the SMX4 Kernel and was
wondering
if anyone could tell me how to use -
features/addUrl
to add the Apache m2-snapshot repo, so I could try installing the web
feature into the kernel?
-Donald
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com