带有依赖项的pom.xml出错:缺少工件org.eclipse.jetty.tests:test-mock-resources:jar:9.1.0.v20131115

时间:2013-12-16 15:22:41

标签: java maven dependencies jetty

我的pom.xml文件:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.name.MyProject</groupId>
  <artifactId>MyProject</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <dependencies>
    <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>example-jetty-embedded</artifactId>
        <version>9.1.0.v20131115</version>
    </dependency>
  </dependencies>
</project>

我遇到了一个问题:

  

缺少神器   org.eclipse.jetty.tests:测试模拟资源:罐:9.1.0.v20131115

我看到mvnrepository不包含此jar文件(http://mvnrepository.com/artifact/org.eclipse.jetty.tests/test-mock-resources

如何解决此问题?

0 个答案:

没有答案