代码拉取完成,页面将自动刷新
同步操作将从 JPressProjects/jpress 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?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>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。