1

我正在尝试在 Windows 10 上使用 Maven 构建 Galileo。构建是在 DOS 提示符下完成的,而不是在 Eclipse 中。该插件需要 org.mozilla.rhino 但下载失败。所有其他版本的构建 Helios-Mars 构建完全可以在我的父 pom 中,我有以下配置文件:-

    <profile>
        <id>galileo</id>
        <properties>
            <target-eclipse-repo>http://download.eclipse.org/releases/galileo/</target-eclipse-repo>
            <!--http://download.eclipse.org/releases/galileo/-->
            <platform-feature>com.ipl.products.eclipse.cantpp.platform.galileofeature</platform-feature>
            <platform-plugin>com.ipl.products.eclipse.cantpp.platform.galileo</platform-plugin>
        </properties>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <modules>
            <module>platform/Galileo</module>
        </modules>
    </profile>

我得到的错误是: -

[INFO] Fetching org.mozilla.rhino_1.7.1.v20090521.jar.pack.gz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/releases/galileo/200909241140/aggregate/plugins/ (0B of 314.84kB at 0B/s)
[ERROR] An error occurred while transferring artifact packed: osgi.bundle,org.mozilla.rhino,1.7.1.v20090521 from repository http://download.eclipse.org/releases/galileo/200909241140/aggregate:
[ERROR]    Problems downloading artifact: osgi.bundle,org.mozilla.rhino,1.7.1.v20090521.:
[ERROR]       File has invalid content:C:\Temp\signatureFile8640129394392843080.jar:
[ERROR]          Invalid content:lib/js.jar
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.mozilla.rhino,1.7.1.v20090521 into the local Maven repository.See log output for details. The file "lib/js.jar" in the jar "C:\Temp\signatureFile8640129394392843080.jar" has been tampered! -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.mozilla.rhino,1.7.1.v20090521 into the local Maven repository.See log output for details.
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

我尝试将 rhino 添加到本地存储库,但 Maven 仍然尝试下载 org.mozilla.rhino

使用 Java 7.21。Maven 3.3.9

我试图让这个构建 2 天,所以任何帮助将不胜感激。

4

0 回答 0