2

我正在创建一个 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我运行的地方,clean install我有这个 tycho 配置:

<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>

我不知道这可能是不是一个问题,我在公司代理后面运行,但是我已经在settings.xml使用的 maven 版本的文件中设置了代理设置。

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

4

0 回答 0