SSM整合依赖包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.0modelVersion>

  <groupId>org.examplegroupId>
  <artifactId>SSM_DemoartifactId>
  <version>1.0-SNAPSHOTversion>
  <packaging>warpackaging>

  <name>SSM_Demo Maven Webappname>
  <properties>
    
    <spring.version>5.0.8.RELEASEspring.version>
    <mybais.version>3.4.6mybais.version>
    <mybatis-spring.version>1.3.2mybatis-spring.version>
    <mysql-connector.version>5.1.46mysql-connector.version>
    <ojdbc7.version>12.1.0.2.0ojdbc7.version>
    <druid.version>1.0.16druid.version>
    <aopalliance.version>1.0aopalliance.version>
    <aspectj.weaver.version>1.6.4.RELEASEaspectj.weaver.version>
    <commons.logging.version>1.1.1commons.logging.version>
    <jstl.version>1.2jstl.version>
    <log4j.version>1.2.16log4j.version>
    <slf4j-api.version>1.6.1slf4j-api.version>
    <slf4j-nop.version>1.6.4slf4j-nop.version>
    <fileupload.version>1.3.1fileupload.version>
    <jackson.version>2.9.6jackson.version>
    <junit.version>4.9junit.version>
    <servlet-api.version>8.5.32servlet-api.version>
    <jsp-api.version>8.5.32jsp-api.version>

    
    <maven-compiler-plugin.version>3.8.0maven-compiler-plugin.version>
    <tomcat7-maven-plugin.version>2.2tomcat7-maven-plugin.version>
  properties>

  
  <dependencyManagement>
    <dependencies>
      
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-coreartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-webartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-txartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-jdbcartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-webmvcartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-aopartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-context-supportartifactId>
        <version>${spring.version}version>
      dependency>
      <dependency>
        <groupId>org.springframeworkgroupId>
        <artifactId>spring-testartifactId>
        <version>${spring.version}version>
      dependency>
      

      
      <dependency>
        <groupId>org.mybatisgroupId>
        <artifactId>mybatisartifactId>
        <version>${mybais.version}version>
      dependency>
      
      <dependency>
        <groupId>org.mybatisgroupId>
        <artifactId>mybatis-springartifactId>
        <version>${mybatis-spring.version}version>
      dependency>

      
      <dependency>
        <groupId>com.fasterxml.jackson.coregroupId>
        <artifactId>jackson-coreartifactId>
        <version>${jackson.version}version>
      dependency>
      <dependency>
        <groupId>com.fasterxml.jackson.coregroupId>
        <artifactId>jackson-annotationsartifactId>
        <version>${jackson.version}version>
      dependency>
      <dependency>
        <groupId>com.fasterxml.jackson.coregroupId>
        <artifactId>jackson-databindartifactId>
        <version>${jackson.version}version>
      dependency>
      
    dependencies>

  dependencyManagement>

  <dependencies>
    
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-coreartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-webartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-txartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-jdbcartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-webmvcartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-aopartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-context-supportartifactId>
    dependency>
    <dependency>
      <groupId>org.springframeworkgroupId>
      <artifactId>spring-testartifactId>
    dependency>
    

    
    <dependency>
      <groupId>org.mybatisgroupId>
      <artifactId>mybatisartifactId>
    dependency>

    
    <dependency>
      <groupId>org.mybatisgroupId>
      <artifactId>mybatis-springartifactId>
    dependency>

    
    <dependency>
      <groupId>mysqlgroupId>
      <artifactId>mysql-connector-javaartifactId>
      <version>${mysql-connector.version}version>
    dependency>

    <dependency>
      <groupId>cn.easyprojectgroupId>
      <artifactId>ojdbc7artifactId>
      <version>${ojdbc7.version}version>
    dependency>
    

    
    <dependency>
      <groupId>com.alibabagroupId>
      <artifactId>druidartifactId>
      <version>${druid.version}version>
    dependency>

    
    <dependency>
      <groupId>aopalliancegroupId>
      <artifactId>aopallianceartifactId>
      <version>${aopalliance.version}version>
    dependency>

    <dependency>
      <groupId>org.aspectjgroupId>
      <artifactId>com.springsource.org.aspectj.weaverartifactId>
      <version>${aspectj.weaver.version}version>
    dependency>
    

    
    <dependency>
      <groupId>org.apache.commonsgroupId>
      <artifactId>com.springsource.org.apache.commons.loggingartifactId>
      <version>${commons.logging.version}version>
    dependency>

    
    <dependency>
      <groupId>javax.servletgroupId>
      <artifactId>jstlartifactId>
      <version>${jstl.version}version>
    dependency>

    
    <dependency>
      <groupId>log4jgroupId>
      <artifactId>log4jartifactId>
      <version>${log4j.version}version>
    dependency>
    <dependency>
      <groupId>org.slf4jgroupId>
      <artifactId>slf4j-apiartifactId>
      <version>${slf4j-api.version}version>
    dependency>
    <dependency>
      <groupId>org.slf4jgroupId>
      <artifactId>slf4j-nopartifactId>
      <version>${slf4j-nop.version}version>
    dependency>
    

    
    <dependency>
      <groupId>commons-fileuploadgroupId>
      <artifactId>commons-fileuploadartifactId>
      <version>${fileupload.version}version>
    dependency>

    
    <dependency>
      <groupId>com.fasterxml.jackson.coregroupId>
      <artifactId>jackson-coreartifactId>
    dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.coregroupId>
      <artifactId>jackson-annotationsartifactId>
    dependency>
    <dependency>
      <groupId>com.fasterxml.jackson.coregroupId>
      <artifactId>jackson-databindartifactId>
    dependency>
    

    
    <dependency>
      <groupId>junitgroupId>
      <artifactId>junitartifactId>
      <version>${junit.version}version>
    dependency>

    
    <dependency>
      <groupId>org.apache.tomcatgroupId>
      <artifactId>tomcat-servlet-apiartifactId>
      <version>${servlet-api.version}version>
      <scope>providedscope>
    dependency>
    
    <dependency>
      <groupId>org.apache.tomcatgroupId>
      <artifactId>tomcat-jsp-apiartifactId>
      <version>${jsp-api.version}version>
      <scope>providedscope>
    dependency>

  dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.pluginsgroupId>
        <artifactId>maven-compiler-pluginartifactId>
        <version>${maven-compiler-plugin.version}version>
        <configuration>
          <source>1.8source>
          <target>1.8target>
        configuration>
      plugin>

      <plugin>
        <groupId>org.apache.tomcat.mavengroupId>
        <artifactId>tomcat7-maven-pluginartifactId>
        <version>${tomcat7-maven-plugin.version}version>
        <configuration>
          <url>http://localhost:8080/manager/texturl>
          <username>bryantusername>
          <password>123456password>
          <path>/path>
        configuration>
      plugin>

    plugins>

    
    <resources>
      <resource>
        <directory>src/main/javadirectory>
        <includes>
          <include>**/*.propertiesinclude>
          <include>**/*.xmlinclude>
        includes>
        <filtering>falsefiltering>
      resource>
      
      <resource>
        <directory>src/main/resourcesdirectory>
        <includes>
          <include>**/*.propertiesinclude>
          <include>**/*.xmlinclude>
        includes>
        <filtering>falsefiltering>
      resource>
    resources>
  build>
project>

你可能感兴趣的:(SSM框架,SSM,整合,依赖,pom.xml)