I've maven project that contain multiple modules, the structure is illustrated as below,
Project-a-aggregation\pom.xml
--\
module-a\pom.xml
module-b\pom.xml
module-b\pom.xml
module-e\pom.xml
--\
parent\pom.xml
--\
depmgmt\pom.xml
We build with maven-3.3.1 and with
clean install -T 4 in
Jenkins ver. 1.596.2 and
Maven Integration plugin 2.10
We use workspace as local repository.
We check out fresh source code from svn every time.
We use maven-version plugin to update pom version in very build. E.g. 1.1.0.123
It's very frustrated that where some time the aggregation/pom.xml, depmgmt/pom.xml or prent/pom.xml are missing in the Artifactory deployment. From the jenkins console log, we didn't see the log "[INFO] Deploying artifact: " appear for one of these pom.xml. We have try clearing the workspace, some time after clear the workspace it work but subsequence build the symptom is back.
Your ideal and contribution are very much appreciated.
Regards,
phang