Home > Back-end >  Idea dependence between modules, involve the maven problem caused by dynamic version number, have a
Idea dependence between modules, involve the maven problem caused by dynamic version number, have a

Time:11-12


Dependencies between find local project, me for a long time not to solve, hope to be able to meet the same problem way friends discuss

There is now A, B two projects, B relies on A

A: pom. XML
 
. .
Com. A
A
0.0.1 - ${env. Version} - SNAPSHOT


Local

Local


True



Remote

Remote



. .


B: pom. XML
 
. .
Com. B
B
0.0.1 - ${env. Version} - SNAPSHOT


Local

Local


True



Remote

Remote






Com. A
A
0.0.1 - ${env. Version} - SNAPSHOT


. .




The end result is is ${env. Version} into dev, but when I went to find local modules can't find..

  • Related