How to mvn clean install repo on the instance where Jenkins is running on AWS
So to summiraze what I am trying to do first is:
I have 6 apps/projects that I am testing activly and I have test automation frameworks on all of them… Normally they all share a lot of things in common like Driver, UI_Utilities, API_Utilities, etc… So I created 1 repo that contains all shared comopnents and after installing it locally to my machine I can use it as a dependency to all my other projects.
This works great but now that I need to run Smoke or Regression on Jenkins normally all my repos are asking where is this dependecy “qa-shared-repo” that you are talking about. So it needs to be
mvn clean install
on the EC2 that is running Jenkins on AWS (or at least that is what I think it needs to be done)
Any idea on how to do that? Thank you