-
1. Re: bundle install/update fails in case of maven snapshot version
ffang Aug 20, 2010 8:33 AM (in response to fvbetteraey)Hi,
Your observation is correct, but I don't think it's a bug.
Actually I believe this behavior is from OSGi spec.
When you originally install a bundle, that bundle would have a URL to mark its original location, so the bundle will get updated from this location by default if you don't specify another location.
use "osgi:update --help" you can get
osgi:update --help
DESCRIPTION
osgi:update
Update bundle
SYNTAX
ARGUMENTS
id The bundle ID
location The bundles update location
OPTIONS
--force
Forces the command to execute
--help
Display this help message
So you can specify other location than the original one.
Freeman
-
2. Re: bundle install/update fails in case of maven snapshot version
fvbetteraey Aug 20, 2010 8:56 AM (in response to ffang)Hi Freeman,
thanks for confirming my observation. This is very useful - I do not need to search for configuration issues anymore
In opposite to your opinion I would classify this behaviour as a bug. I do not think that the OSGI spec mentions a mvn URL style. If the mvn URL style is provided as a install/update location by FUSE ESB I would expect that the system also behaves like mvn would do. Thus, check if more recent artifacts of same SNAPSHOT versions exists in the global maven repository than in the local maven repository.
Thanks for help
Franz