Re: Change the behavior of the bundle installation with mvn url protocol

2009-10-29 Thread Ivan
2009/10/29 Richard S. Hall > No, there is no way to do this. The API for URL handling and the associated > OSGi API do not provide for this. The only way to do it would be to hack the > framework specifically to support it. > > What does the mvn:// protocol do? Just point to a file in the local M

Re: Maven-Bundle-Plugin ignores servicefactory-directive

2009-10-29 Thread Mustafa Caylak
Hi, Thanks for your reply. Ive done what you said. Apparently Maven reads the BND Instructions and knows what I want: [DEBUG] Service-Component: de.offis.utils.configSC.internal.ConfigReaderImpl; provide:=de.offis.utils.configSC.ConfigReader; servicefactory:=true; immediate:=false But the servic

Re: Change the behavior of the bundle installation with mvn url protocol

2009-10-29 Thread Richard S. Hall
No, there is no way to do this. The API for URL handling and the associated OSGi API do not provide for this. The only way to do it would be to hack the framework specifically to support it. What does the mvn:// protocol do? Just point to a file in the local Maven repo? If so, it wouldn't be t

Change the behavior of the bundle installation with mvn url protocol

2009-10-29 Thread Ivan
Hi, Currently, in Felix, only when the location of the bundle is of reference:file style, the jar file will not copied to the cache folder. While using other protocol, such as mvn://, I found the implementation of it is to open a stream of the target URL, then save the file to the cache folder.