Andreas Kollegger wrote: > There seems to be a difference between uploading a bundle through the > Felix WebConsole v1.2.10 and using the maven-sling-plugin > v.2.0.5-SNAPSHOT sling:install goal, which is confusing me. Both methods > seem to install the bundle fine, but a bundle installed through > maven-sling-plugin can't be started. The same bundle, when uploaded > directly through the WebConsole, starts just fine. I haven't noticed any > errors in the console when using the maven-sling-plugin, and it reports > that the install was successful. > > Am I possible missing something in my plugin setup? All I configured was > the slingUrl to use for the system console. > > <plugin> > <groupId>org.apache.sling</groupId> > <artifactId>maven-sling-plugin</artifactId> > <version>2.0.5-SNAPSHOT</version> > <configuration> > > <slingUrl>http://localhost:${org.osgi.service.http.port}/system/console</slingUrl> > > </configuration> > </plugin> > > Or do I possibly have a version mismatch > Hmm, no I don't think so - I'm using the plugin with different versions of the web console (including 1.2.10) and it works for me :)
Are you using the launchpad or do you have Sling deployed into a different servlet engine? What does the output from the sling maven plugin show? Regards Carsten -- Carsten Ziegeler [email protected]
