Re: maven-bundle-plugin:bundleall throws NullPointerException

2009-05-11 Thread Stuart McCulloch
2009/5/12 Will Horn > > I have attached a test case where I get an NPE while running the bundleall > goal. The scenario is this: > > bundle-all-test: root project, defines dependency on log4j with a version > range and runtime scope in dependencyManagement > > proj1: jar project depending on log

maven-bundle-plugin:bundleall throws NullPointerException

2009-05-11 Thread Will Horn
I have attached a test case where I get an NPE while running the bundleall goal. The scenario is this: bundle-all-test: root project, defines dependency on log4j with a version range and runtime scope in dependencyManagement proj1: jar project depending on log4j, reducing scope to compile proj

Re: osgi and jaas

2009-05-11 Thread Guillaume Nodet
You may still run into issues, especially if you want to make you login modules independant of the bundles using those. Karaf allows that and also allow deployment of configurations through the OSGi registry. See http://felix.apache.org/site/45-security-framework.html On Mon, May 11, 2009 at 19:1

Re: osgi and jaas

2009-05-11 Thread derekv
gnodet wrote: > > Have you had a look at the jaas stuff in Karaf: >https://svn.apache.org/repos/asf/felix/trunk/karaf/jaas > > You can deploy JAAS configuration dynamically without any change on > the client side. > I found this bit of code that seems to get the trick done for me. Cl

Re: osgi and jaas

2009-05-11 Thread Guillaume Nodet
Have you had a look at the jaas stuff in Karaf: https://svn.apache.org/repos/asf/felix/trunk/karaf/jaas You can deploy JAAS configuration dynamically without any change on the client side. On Mon, May 11, 2009 at 17:42, derekv wrote: > > I am trying to use jaas in my osgi proxy server applica

osgi and jaas

2009-05-11 Thread derekv
I am trying to use jaas in my osgi proxy server application. I would like the proxy authorization to be done with jaas. I would like to keep track of what LoginModules are available, so, the user would be able to pick from a list of classes that implement the LoginModule interface. Here is my prob

maven-scr-plugin

2009-05-11 Thread Guido Spadotto
Hi All, the URL in [1] says that the latest version of the SCR plugin is 1.2.8, but there's no such version in [2]. Is this correct? [1]: http://repo2.maven.org/maven2/org/apache/felix/maven-scr-plugin/maven-metadata.xml [2]: http://repo2.maven.org/maven2/org/apache/felix/maven-scr-plugin/ Th

RE: Static member question

2009-05-11 Thread Sergey Shcherbakov
Hello everybody, Recently embedding Felix (Karaf) I ran into the exactly same issue: http://www.mail-archive.com/d...@felix.apache.org/msg04908.html While the solution with setting TCL to null works I was wondering whether this solution remains recommended one? The issue looks to be fixed also by