I am working on a project which has many sub projects (about 1000). Every sub-project is basically a java package in the main project. Every sub-project should create a separate jar because they must be versioned differently. Here is the structure
main-project
src/main/java/
com/bla/bla/subProject1
com/bla/bla/subProject2
com/bla/bla/subProject3
com/bla/bla/subProject4
com/bla/bla/subProject5
...
...
Creating one job/task for every project cannot be created manually (at least I am not doing it). How should I setup a job plan to setup continuous integration on all the sub projects? What ya guys think?
Assuming you're using Maven or Gradle to script the build and deal with dependencies - the project struture could be accomodated although you might want to refactor the code to conform to the standard structure to save some configuraiton.
There are a number of advantages to a single build with modules/subprojects:
The single con is the time it might take to run through all of the modules/subprojects. In addition to the build avoidance baked in to Maven and Gradle, you might want to looking to parallelizing the build - a feature available in both tools.
Hope this Helps!
-Rich
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.