Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » Practical to have "optional" submodules, getting their artifacts from intranet repo if abs
Practical to have "optional" submodules, getting their artifacts from intranet repo if abs [message #640223] Fri, 19 November 2010 16:29
David M. Karr is currently offline David M. KarrFriend
Messages: 355
Registered: July 2009
Senior Member
I asked this question on the Maven mailing list, but I'd like to get the M2Eclipse perspective on this.

I currently work on a large enterprise app built with Ant. The app is divided into several projects divided into functional areas. In order to build the entire EAR, all of the projects have to be built, even if you're only working on a single one of those projects.

I'm examining how we could make this work better if we were using Maven.

I guess a straightforward implementation of this would have a main project POM that specifies all the subprojects as submodules, and also their artifacts as dependencies.

It almost seems to me that what I need is the ability to have the main POM be somewhat "dynamic", such that if I'm only working on a single one of those subprojects, but I need to assemble the EAR containing all of the artifacts, then the projects that I don't have checked out would get their submodule entry temporarily deleted, and I would get their artifacts from the intranet repo.

Does any of this make sense?
Previous Topic:Maven rpm - Java and Shell script
Next Topic:Publish to server or WAR export includes "provided"-scope dependencies
Goto Forum:
  


Current Time: Sun Dec 21 23:16:04 GMT 2014

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

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