1 Star 0 Fork 2.8K

boy_lin/jpress

forked from JPressProjects/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 7.94 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2018-11-10 12:20 . update ...
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<groupId>io.jpress</groupId>
<artifactId>parent</artifactId>
<version>${jpress.version}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>io.jpress</groupId>
<artifactId>starter-tomcat</artifactId>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>io.jboot</groupId>
<artifactId>jboot</artifactId>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
</exclusion>
<exclusion>
<groupId>io.undertow</groupId>
<artifactId>undertow-servlet</artifactId>
</exclusion>
<exclusion>
<groupId>io.undertow</groupId>
<artifactId>undertow-websockets-jsr</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>com.netflix.hystrix</groupId>
<artifactId>hystrix-metrics-event-stream</artifactId>
</exclusion>
<exclusion>
<groupId>com.netflix.hystrix</groupId>
<artifactId>hystrix-codahale-metrics-publisher</artifactId>
</exclusion>
<exclusion>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-servlets</artifactId>
</exclusion>
<exclusion>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</exclusion>
<exclusion>
<groupId>io.opentracing.brave</groupId>
<artifactId>brave-opentracing</artifactId>
</exclusion>
<exclusion>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-sender-urlconnection</artifactId>
</exclusion>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>jpress-web</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>jpress-template</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>jpress-service-provider</artifactId>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>module-page-web</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>module-article-web</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>module-article-service-provider</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>io.jpress</groupId>
<artifactId>module-page-service-provider</artifactId>
<version>${jpress.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<!--必须添加compilerArgument配置,才能使用JFinal的Controller方法带参数的功能-->
<compilerArgument>-parameters</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.5</version>
<configuration>
<resourceBundles>
<!-- 使用jpress-web下的resource文件-->
<resourceBundle>io.jpress:jpress-web:${project.version}</resourceBundle>
<resourceBundle>io.jpress:jpress-template:${project.version}</resourceBundle>
<resourceBundle>io.jpress:module-page-web:${project.version}</resourceBundle>
<resourceBundle>io.jpress:module-article-web:${project.version}</resourceBundle>
</resourceBundles>
</configuration>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<move file="${project.build.directory}/classes/static"
tofile="${project.build.directory}/${project.build.finalName}/static"/>
<move file="${project.build.directory}/classes/templates"
tofile="${project.build.directory}/${project.build.finalName}/templates"/>
<move file="${project.build.directory}/classes/WEB-INF"
tofile="${project.build.directory}/${project.build.finalName}/WEB-INF"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<attachClasses>true</attachClasses>
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/boy_lin/jpress.git
git@gitee.com:boy_lin/jpress.git
boy_lin
jpress
jpress
master

搜索帮助