|Practical to have "optional" submodules, getting their artifacts from intranet repo if abs [message #640223]
||Fri, 19 November 2010 16:29
| David M. Karr
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.02535 seconds