-
1. Re: Converting an exisitng project to be deployable in jboss studio???
vrlgohel Oct 19, 2014 6:11 AM (in response to paul.blakeley)Hi Paul,
You won't directly be able to convert a maven project into an OSGI bundle and deploy the same JBoss Fuse. JBoss Fuse uses Karaf under the hood which is a fully OSGI Based container.
Hence, for your existing maven projects, you will need to convert them into OSGI bundles, using the maven-bundle-plugin and specifying the packaging as 'bundle',
<packaging>bundle</packaging> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.5.3</version> <extensions>true</extensions> </plugin> </plugins>
-
2. Re: Converting an exisitng project to be deployable in jboss studio???
paul.blakeley Oct 19, 2014 2:55 PM (in response to vrlgohel)Hi. thanks for the reply. The existing pom file already has the settings within it...
-
3. Re: Converting an exisitng project to be deployable in jboss studio???
vrlgohel Oct 20, 2014 1:25 AM (in response to paul.blakeley)Hi Paul,
If you have existing Maven projects, then unfortunately you cannot make them directly deployable.
If you are looking out for ways to make the bundle deployable, then you need to create a bundle, using the Plugin Project, much as highlighted here, https://blogs.oracle.com/arungupta/entry/totd_126_creating_an_osgi.
You should then be able to deploy the bundle. Hope that helps !
But using maven projects, there is no way to directly make them deployable.
-
4. Re: Converting an exisitng project to be deployable in jboss studio???
paul.blakeley Oct 20, 2014 2:04 AM (in response to vrlgohel)Thanks for reply on this. I will look at that later. From your response though I dont think that I explaining this properly. Just to try and make this clear, I can compile my existing maven project and drop this into the deploy folder of fuse. This all works fine. The issue is how I can use jboss studio to understand the same maven imported project is a deployable entity. When I mark it deployable and start the jboss server(within studio) it doesnt seem to work! Hope this makes more sense of what I am trying to achieve.
Thanks for your time.