1
Maven的依賴性創建如下:如何定義maven的依賴,如果罐子已經包含在項目
<dependency>
<groupId>group_id</groupId>
<artifactId>artificat_id</artifactId>
<version>2.5.0</version>
</dependency>
的相關罐子存放的路徑project_folder_test/modules/api/repo/com/common/2.5.0
下運行的命令mvn clean compile
後,得到下面的錯誤
Downloading: file:///Users/Automation/project_folder_test/modules/api/repo/com/common/2.5.0/common-2.5.0.pom
Downloading: https://repo.maven.apache.org/maven2/com/common/2.5.0/common-2.5.0.pom
[WARNING] The POM for group_id:artificat_id:jar:2.5.0 is missing, no dependency information available
請讓我知道,在這出了什麼問題。
的可能的複製[如何添加本地jar文件在maven項目?](https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-in-maven-project) –