`

maven下的pom.xml配置(SSM框架)

    博客分类:
  • java
 
阅读更多

<properties>

<!-- 基础配置 -->

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<project.build.locales>zh_CN</project.build.locales>

<project.build.jdk>1.8</project.build.jdk>

<!-- 插件配置 -->

<plugin.mybatis.generator>1.3.5</plugin.mybatis.generator>

<plugin.maven.compiler>3.6.1</plugin.maven.compiler>

<plugin.maven.surefire>2.20</plugin.maven.surefire>

<plugin.maven.war>3.1.0</plugin.maven.war>

<skipTests>true</skipTests>

<!-- 功能包配置 -->

<junit.version>4.12</junit.version>

<spring.version>4.3.8.RELEASE</spring.version>

<mybatis.version>3.4.4</mybatis.version>

<mybatis.spring.version>1.3.1</mybatis.spring.version>

<mysql.connector.version>5.1.38</mysql.connector.version>

<druid.version>1.0.29</druid.version>

<jackson.version>2.8.8</jackson.version>

<fastjson.version>1.2.32</fastjson.version>

<freemarker.version>2.3.23</freemarker.version>

<jstl.version>1.2</jstl.version>

<slf4j.version>1.7.25</slf4j.version>

<log4j.version>1.2.17</log4j.version>

<aspectj.version>1.8.10</aspectj.version>

<commons-lang3.version>3.5</commons-lang3.version>

<commons-fileupload.version>1.3.2</commons-fileupload.version>

<commons-io.version>2.5</commons-io.version>

<commons-logging.version>1.2</commons-logging.version>

</properties>

<dependencies>

<!-- junit -->

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

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

<scope>test</scope>

</dependency>

<!-- springframework -->

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-core</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-beans</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-context</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-context-support</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-oxm</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-tx</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-web</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-webmvc</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-aop</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-jdbc</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-orm</artifactId>

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

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-test</artifactId>

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

<scope>test</scope>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-expression</artifactId>

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

</dependency>

<!-- aspectjweaver -->

<dependency>

<groupId>org.aspectj</groupId>

<artifactId>aspectjweaver</artifactId>

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

</dependency>

<dependency>

<groupId>org.aspectj</groupId>

<artifactId>aspectjrt</artifactId>

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

</dependency>

</dependencies>

<build>

<finalName>xxxx</finalName>

<plugins>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

<version>${plugin.maven.compiler}</version>

<configuration>

<source>${project.build.jdk}</source>

<target>${project.build.jdk}</target>

<encoding>${project.build.sourceEncoding}</encoding>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-resources-plugin</artifactId>

<configuration>

<encoding>${project.build.sourceEncoding}</encoding>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId>

<version>${plugin.maven.surefire}</version>

<configuration>

<skipTests>${skipTests}</skipTests>

<encoding>${project.build.sourceEncoding}</encoding>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-war-plugin</artifactId>

<version>${plugin.maven.war}</version>

<configuration>

<webXml>src/main/webapp/WEB-INF/web.xml</webXml>

</configuration>

</plugin>

</plugins>

<resources>

<resource>

<directory>src/main/java</directory>

<includes>

<include>**/*.properties</include>

<include>**/*.xml</include>

</includes>

<filtering>true</filtering>

</resource>

<resource>

<directory>src/main/resources</directory>

<includes>

<include>**/*.properties</include>

<include>**/*.xml</include>

</includes>

<filtering>true</filtering>

</resource>

</resources>

</build>

分享到:
评论

相关推荐

    SSM框架整合jar包和maven pom.xml配置文件整合

    SSM框架整合jar包和maven pom.xml配置文件整合

    ssm中的pom.xml的配置文件

    maven搭建框架的pom.xml的配置文件,该文件配置简单、方便

    maven的pom.xml文件

    使用maven的主要是SSM框架的99%的jar包依赖,套过来直接用就ok了,不需要的直接删,最好配置本地资源库,速断会快!

    Maven -史上 最全POM.xml模板

    最全maven pom文件 功能包括 1.整合 scm(git) 、ci(hudson)、issus(trac) 2.依赖部分根据自己添加 3.build 部分,自定义目录功能 4.report整合包括:javadoc、jxr、checkstyle、pmd、changelog、emma、...

    maven整合ssm的pom.xml

    maven整合ssm的所有pom! maven整合ssm的所有pom! maven整合ssm的所有pom! maven整合ssm的所有pom! maven整合ssm的所有pom!

    maven SSM项目pom.xml

    maven搭建ssm框架标准文档&lt;!-- 依赖管理 版本号 --&gt; &lt;!-- 设置统一依赖管理、不强行依赖 --&gt;

    2017整合ssm框架_maven_pom

    整合了maven中pom.xml所需要的ssm框架包,欢迎各位下载

    SSM_pom.xml

    SSM(Spring+SpringMVC+MyBatis)框架集由Spring、MyBatis两个开源框架整合而成(SpringMVC是Spring中的部分内容)。常作为数据源较简单的web项目的框架。SSM中maven项目的pom.xml

    SSM整合jar包+pom.xml文件

    该文件整合了SSM环境搭建的jar包,附带构建Maven项目搭建SSM框架环境的pom.xml文件。(百字)(百字)(百字)

    maven工程拆分的ssm框架

    maven工程拆分的ssm框架(方便代码重用):父工程提供pom.xml文件,子工程包括ssm_web、ssm_service、ssm_dao三个子工程,其中ssm_web的pom.xml文件中导入ssm_service的依赖,ssm_service的pom.xml中导入ssm_dao的依赖.

    maven ssm配置

    maven管理spring+springmvc+mybatis pom.xml配置 下载后替换maven中的pom.xml

    ssm框架加maven格式

    ssm开发框架,pom.xml,企业微信获取accesstoken,可以运行

    SSM框架Maven资源文件

    该资源包括写SSM框架时用到的所有Jar包,内附有Maven中pom.xml的代码内容,解压该文件,可以直接拿来用

    Maven_SSM所需要的所有配置文件

    Maven集成SSM所需要的所有配置文件,包括pom.xml web.xml applicationContext_*.xml db.properties springmvc.xml等等

    SSM框架整合(maven项目)

    今天给大家整合了maven项目的项目整合,开发工具使用的是myeclipse2017版本,还没测试能否在eclipse中运行,不过顶多是环境的小问题,配置一下pom.xml就可以了,在该项目中,使用ssm框架,在里面写了一个测试类,...

    maven项目的pom文件

    这是maven管理的动态web项目的pom.xml配置文件,里面有ssm框架需要用到的jar包依赖

    testFace_SSM_Maven.rar

    eclipse +maven +tomact+mysql开发 ssm框架,就是Spring ,SpringMVC...SSM框架,我们用MAVEN工具对他们进行管理,maven 工具的主要作用就是为我们的工程自动配置好我们所需的架包,是通过POM.xml 文件进行依懒管理的。

    使用Maven整合ssm

    Maven是一个基于POM(项目对象模型)的项目管理...POM作为项目对象模型,通过xml来表示Maven项目,使用pom.xml来对项目进行管理。主要描述了:项目的配置文件,需要遵循的规则,项目的依赖性以及所有与项目有关的因素。

    SSM-maven项目 基本配置搭建

    ssm 框架基础搭建 pom.xml 引入基本包,web.xml 配置DispatcherServlet,spring.xml 管理service,spring-mvc.xml管理Controller,spring-mybatis.xml管理driud连接池操作mysql数据库。。。。

Global site tag (gtag.js) - Google Analytics