我正在尝试在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天,所以任何帮助都会受到赞赏。