Hi everybody Does anyone have experience with configuring an entire workspace in as maven project in jenkins. I have no problem with setting up a single ivy project, but i would like to have multiple projects with dependencies to each other as a single maven project.
Any help or hint is appreciated! Marcel asked 18.01.2016 at 10:51 Marcel von Wyl |
I suggest to create a multi module maven project (see the attached link) In short, you do it as follows: Create a project directory structure as follows
The pom.xml files of the ivy-projects are the same as before (including dependencies etc.). The pom.xml of the aggregation-project is an aggregation or multi module pom. It contains a section, that defines all modules to aggregate like:
For building, you run Maven for the myMavenAggregationProject only. As a result, all defined modules are built as well. Maven (or better said the reactor plugin) resolves inter-module-dependencies and controls the order of the modules to build accordingly. answered 20.01.2016 at 16:34 Dominik Regli ♦ There exists a sample for ivy 6.0 where multi module aggregation pom.xml uses child ivy projects. https://github.com/axonivy/project-build-examples/tree/6.0/compile-test
(25.01.2016 at 16:07)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 18.01.2016 at 10:51
Seen: 2,472 times
Last updated: 25.01.2016 at 16:07