问答详情
源自:3-5 Hello Spring MVC

pom.xml问题

有没有哪位大佬提供一下pom.xml中的代码

提问者:qq_年少无多时_0 2019-03-03 13:16

个回答

  • csDanger
    2019-03-05 12:20:13

    <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>imooc-arthur</groupId>

      <artifactId>spring-mvc-study</artifactId>

      <version>1.0-SNAPSHOT</version>

      <name>spring-mvc-study Maven Webapp</name>

      <url>http://maven.apache.org</url>

      <properties>

          <commons-lang.version>2.6</commons-lang.version>

          <slf4j.version>1.7.6</slf4j.version>

          <spring.version>4.3.5.RELEASE</spring.version>

      </properties>

      <dependencies>

        <dependency>

          <groupId>org.springframework</groupId>

          <artifactId>spring-framework-bom</artifactId>

          <version>${spring.version}</version>

          <type>pom</type>

          <scope>import</scope>

        </dependency>

        

        <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-webmvc</artifactId>

            <version>${spring.version}</version>

        </dependency>

      </dependencies>

      <build>

        <finalName>spring-mvc-study</finalName>

      </build>

    </project>