How to make the mavem always get the jar from the master branch

Asked

Viewed 43 times

0

I have two projects managed by Maven. The first is Model. The Second Front End and Controll The model is a dependency of Frontend. I do this with the following dependency on the pom.xml of the Frontend project.

<dependency>
   <groupId>${project.groupId}</groupId> 
   <artifactId>alvoradaModel</artifactId> 
   <version>1.2.0</version> 
</dependency>

I have control of both projects through Git. and for this I use two Branchs: the master and the development

How do I always get the dawn from the master branch even if the current one is development?

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.