Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Developing with Virgo Using Maven/m2Eclipse
Developing with Virgo Using Maven/m2Eclipse [message #851026] Fri, 20 April 2012 15:22 Go to next message
Arthur Doler is currently offline Arthur Doler
Messages: 1
Registered: April 2012
Junior Member
I'm looking to develop a Java webapp with the potential for modular component delivery, and to accomplish that I'd like to be able to use OSGi and Virgo to allow me to segregate my JSPs into the discrete modules. The app itself is greenfield so I have no need to actually ship a war file, and we can just rely on Virgo to do the deploy from jar bundles.

However, the build structure at my company is traditionally Maven, using the m2Eclipse plug-in to do use the Maven-configured builds inside Eclipse. This is useful because we can use an integrated Tomcat server to quickly deploy and check our webapp development. I'm curious if anyone has tried doing Maven-m2Eclipse-Virgo development before, and if so, if there's a set of best practices or canonical configurations I can look at before I dive into this. I'm already trying to get GreenPages to build inside an Eclipse workspace since that seems like it might do what I need.

If there isn't an m2Eclipse way of doing this, what's the preferred way for doing builds/deploys and debugging Virgo webapps through Eclipse?

Any help is appreciated.
Re: Developing with Virgo Using Maven/m2Eclipse [message #851127 is a reply to message #851026] Fri, 20 April 2012 17:14 Go to previous message
Miles Parker is currently offline Miles Parker
Messages: 1340
Registered: July 2009
Senior Member
Hi Arthur,

Virgo Tooling has extensive support for maven bundles, but I can't vouch for how well that will work for your case. You should check out the green pages example -- the documentation is a bit out of date, but it should give you enough to go on. http://www.eclipse.org/virgo/documentation/greenpages-documentation-2.4.0.RELEASE/docs/html/ch02s05.html

cheers,

Miles
Previous Topic:406 Not Acceptable Jackson JSON in Virgo Web Server
Next Topic:Juno, Indigo, Helios..?
Goto Forum:
  


Current Time: Thu Oct 23 13:52:27 GMT 2014

Powered by FUDForum. Page generated in 0.01695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software