[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Developing with Virgo Using Maven/m2Eclipse

Hi Arthur,

This would be a great post for the forum. http://www.eclipse.org/forums/index.php/f/159/ This list is really intended for Virgo contributor discussion. That said, Virgo Tooling is supporting some of this and we're working on supporting more. See e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=329198 (I know that's focussed on PDE, but there is some overlap relevant to deployment.)



On 2012-04-19, at 4:27 PM, Arthur Doler wrote:

Hello, all --

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.

virgo-dev mailing list

Miles T. Parker
Senior Engineer and Product Manager, Tasktop
Committer, Eclipse Mylyn and Virgo
Project Lead, Model Focussing Tools and AMP