maven - Jenkins build common module before build WAR file -


i have maven project structure module below :-

  • parent
  • common
  • report

in common module, once compiled jar file final output execute report module using common jar inside war file.

i wanted use jenkins compile common update jar file compile report module build war , deploy tomcat ( using jenkins )

is there can done using report pom.xml (single pom file ) build common , report ?

is there better approach? please advise

you can have 1 job builds common module , report. in report job specify should triggered after common built.

enter image description here


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -