尝试读取工件失败

时间:2017-08-16 14:25:14

标签: windows maven eclipse-plugin tycho tycho-surefire-plugin

我正在创建一个eclipse插件并使用Maven 3.5.0构建它。在执行mvn -T 8 clean install期间,我收到了一些警告:

[WARNING] Some attempts to read artifact osgi.bundle,org.eclipse.jdt.debug,3.9.1
.v20160128-1343 failed:

[WARNING]    An error occurred while transferring artifact canonical: 
osgi.bundle,org.eclipse.jdt.debug,3.9.1.v20160128-1343 from repository 
file:/d:/PluginRoot/source/plugs/xsd_sdk:

[WARNING]       Problems downloading artifact: 
osgi.bundle,org.eclipse.jdt.debug,3.9.1.v20160128-1343.:

[WARNING]          File has invalidcontent:C:\Users\Admin\AppData\Local\Temp
\signatureFile2830880020429242663.jar:

[WARNING]             Invalid content:plugin.xml
[WARNING]             Invalid content:about.html
[WARNING]             Invalid content:plugin.properties
[WARNING]             Invalid content:.api_description
[WARNING]             Invalid content:.options`

在我运行pom.xml的{​​{1}}我有这个tycho配置:

clean install

我不知道这可能是一个问题,我在公司代理后面运行,但我已经在所使用的maven版本的<build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-maven-plugin</artifactId> <version>${tycho-version}</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <version>${tycho-version}</version> <configuration> <resolver>p2</resolver> <environments> <environment> <os>win32</os> <ws>win32</ws> <arch>x86_64</arch> </environment> </environments> <includePackedArtifacts>true</includePackedArtifacts> </configuration> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tycho-version}</version> </plugin> 文件中设置了代理设置。

为什么我会收到这样的警告,我该如何解决?

0 个答案:

没有答案