jenkins - Building multimodule maven project -
hi i've searched net, read bunch of articles, questions , documentation can not find solution, here problem.
i have multimodule maven project contains 3 modules a,b , c. , b independent , c depend on , b, , of course have parent project. have jenkins server set build these projects, , nexus repository.
my problem when build project maven builds , b correctly c downloads older artifact nexus repository , of course fails build module c. how can make maven use built jars installed local repository instead of older ones on nexus?
version of , b , c set 1.1.{build_number}-snapshot maven version plugin, , understand maven should use newer local not it. not want post hundreds of lines of pom.xmls if need section provide it.
any appreciated. thank you!
i have been setting version numbers in submodule's poms , changed inherit version number parent pom. in module c
's pom module a
, b
versions set ${project.version}
Comments
Post a Comment