我正在爲我的項目使用maven。我有5個地方的jar文件作爲我的pom.xml指定如下相關文件:Maven跳過依賴文件?
<dependency>
<groupId>EWSAPI</groupId>
<artifactId>EWSAPI</artifactId>
<version>1.1</version>
<scope>system</scope>
<systemPath>${basedir}/EWSAPI1.1.jar</systemPath>
</dependency>
<dependency>
<groupId>jcifs</groupId>
<artifactId>jcifs</artifactId>
<version>1.3.15</version>
<scope>system</scope>
<systemPath>${basedir}/jcifs-1.3.15.jar</systemPath>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.4</version>
<scope>system</scope>
<systemPath>${basedir}/commons-codec-1.4.jar</systemPath>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<scope>system</scope>
<systemPath>${basedir}/commons-httpclient-3.1.jar</systemPath>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
<scope>system</scope>
<systemPath>${basedir}/commons-logging-1.1.1.jar</systemPath>
</dependency>
現在,當我嘗試安裝MVN在命令提示符下安裝的依賴關係。我得到以下信息
The following files where skipped:
EWSAPI:EWSAPI:java-source:sources:1.1
commons-codec:commons-codec:java-source:sources:1.4
commons-httpclient:commons-httpclient:java-source:sources:3.1
commons-logging:commons-logging:java-source:sources:1.1.1
而且一個文件jfis被跳過
我不明白(這是上面提到的依賴一樣)爲什麼Maven是這樣做?我感謝你的幫助。由於