4

每次当 maven 尝试下载工件时我尝试运行构建时,它都会引发connection reset错误。我正在 Eclipse 中开发并尝试使用 embed-mongodb 插件:

<plugin>
            <groupId>com.github.joelittlejohn.embedmongo</groupId>
            <artifactId>embedmongo-maven-plugin</artifactId>
            <version>0.1.13</version>
            <executions>
                <execution>
                    <id>start-embed-mongo</id>
                    <goals>
                        <goal>start</goal>
                    </goals>
                </execution>
                <execution>
                    <id>stop-embed-mongo</id>
                    <goals>
                        <goal>stop</goal>
                    </goals>
                </execution>
            </executions>
        </plugin> 

构建失败,因为它“无法传输工件”:

Failed to execute goal com.github.joelittlejohn.embedmongo:embedmongo-maven-plugin:0.1.13:start (start-embed-mongo) on project rest: Execution start-embed-mongo of goal com.github.joelittlejohn.embedmongo:embedmongo-maven-plugin:0.1.13:start failed: Plugin com.github.joelittlejohn.embedmongo:embedmongo-maven-plugin:0.1.13 or one of its dependencies could not be resolved: Failed to collect dependencies at com.github.joelittlejohn.embedmongo:embedmongo-maven-plugin:jar:0.1.13 -> org.apache.maven:maven-project:jar:2.0 -> org.apache.maven:maven-profile:jar:2.0 -> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8: Failed to read artifact descriptor for org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8: Could not transfer artifact org.codehaus.plexus:plexus-container-default:pom:1.0-alpha-8 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]

我不认为我在代理后面,因为我可以通过我的浏览器访问这些 URL。

4

0 回答 0