You can install the project yourself.
Or you can use the system
scope like the following:
<dependency>
<groupId>org.group.project</groupId>
<artifactId>Project</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/project-1.0.0.jar</systemPath>
</dependency>
systemPath
requires the absolute path of the project. To make it easier, if the jar file is within the repository/project, you can use ${basedir}
property, which is bound to the root of the project.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…