1 Star 0 Fork 0

好想告诉你 / jfinal_demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 7.41 KB
一键复制 编辑 原始数据 按行查看 历史
gczheng 提交于 2016-11-02 16:18 . update maven plugin
<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.hxgsn</groupId>
<artifactId>jfinal_demo</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>jfinal Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<!-- jdk 版本号 -->
<jdk.version>1.8</jdk.version>
<!-- maven plugin 版本号 -->
<maven-war-plugin.version>3.0.0</maven-war-plugin.version>
<maven-release-plugin.vesion>2.5.3</maven-release-plugin.vesion>
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<!-- junit 版本号 -->
<junit.version>4.12</junit.version>
<!-- jfinal 版本号 -->
<jfinal.version>2.2</jfinal.version>
<!-- jetty-server 版本号 -->
<jetty-server.version>8.1.8</jetty-server.version>
<!-- freemarker 版本号 -->
<freemarker.version>2.3.25-incubating</freemarker.version>
<!-- cos 版本号 -->
<cos.version>26Dec2008</cos.version>
<!-- ehcache-core 版本号 -->
<ehcache-core.version>2.6.11</ehcache-core.version>
<!-- slf4j-log4j12 版本号 -->
<slf4j-log4j12.version>1.7.21</slf4j-log4j12.version>
<!-- log4j-core 版本号 -->
<log4j-core.version>2.6.2</log4j-core.version>
<!-- druid 版本号 -->
<druid.version>1.0.25</druid.version>
<!-- postgresql 版本号 -->
<postgresql.version>9.4.1211.jre7</postgresql.version>
<!-- encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Maven 镜像地址 -->
<repository.url>http://maven.aliyun.com/nexus/content/groups/public</repository.url>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>jfinal</artifactId>
<version>${jfinal.version}</version>
</dependency>
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty-server.version}</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>cos</artifactId>
<version>${cos.version}</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>${ehcache-core.version}</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j-log4j12.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j-core.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
</dependencies>
<!-- Maven mirror -->
<repositories>
<repository>
<id>nexus</id>
<name>local private nexus</name>
<url>${repository.url}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<!-- Maven Plugin mirror -->
<pluginRepositories>
<pluginRepository>
<id>nexus</id>
<name>local private nexus</name>
<url>${repository.url}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>jfinal_demo</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.vesion}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<!-- 设置jdk版本 -->
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<debug>true</debug>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
HTML
1
https://gitee.com/hxgsn/jfinal_demo.git
git@gitee.com:hxgsn/jfinal_demo.git
hxgsn
jfinal_demo
jfinal_demo
master

搜索帮助