I have a Maven Project (A) that is depending on a Maven Project (B). Now i need to change a few things in Maven Project (B) but my boss won't let me till I show him the changes works in my local environment.
So what i have in the pom.xml is in Maven Project (A) is:
<dependency>
<groupId>com.company.name.network</groupId>
<artifactId>network-project-B</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>
So i edit in my local environment project B with the changes I wanted and now i would like to edit the dependency in pom.xml project A to point to my local directory and not to the repository. Something like:
<dependency>
<groupId>com.company.name.network</groupId>
<artifactId>network-project-B</artifactId>
<version>C:/users/my_name/projectB</version>
</dependency>
If I achieve that, i can keep making changes to Project B and see how they impact to project A without having to upload the changes to the repository.
Is that possible? I am sorry to ask this here but i am seeing others post similar but because my little knowledge in the framework i cannot understand it.
Thanks