Intellij Maven 项目 - 缺少插件

Intellij Maven Projects - missing plugins

我的 maven 项目插件是红色的,它们无法下载。如何解决?这是来自 intellij 的 Maven 项目的图像:

这是我的 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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.example.ema</groupId>
  <artifactId>jerseyexample</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>jerseyexample Maven Webapp</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.glassfish.jersey.containers</groupId>
      <artifactId>jersey-container-servlet</artifactId>
      <version>2.10.1</version>
    </dependency>


  </dependencies>



  <build>
    <finalName>jerseyexample</finalName>
    <plugins>
      <plugin>
        <groupId>org.apache.tomcat.maven</groupId>
        <artifactId>tomcat7-maven-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <server>TomcatServer</server>
          <path>/newjersey</path>
        </configuration>
      </plugin>
    </plugins>


  </build>
</project>

我将鼠标放在名为 'jerseyexample Maven Webapp' 的图像中的第一个 maven 目录上,它显示了以下错误,希望这对您有所帮助:

这是我添加球衣依赖项的方式...我只是下载了 jar 文件并将它们添加到应用程序模块中:

问题出在我的 settings.xml 文件中,maven 用来构建项目。我在那里定义了一个使用代理的镜像,它阻止了下载