加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 13.44 KB
一键复制 编辑 原始数据 按行查看 历史
88250 提交于 2017-01-12 15:52 . :bookmark:Release 1.9.0
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: Symphony POM.
Version: 2.14.6.47, Jan 12, 2017
Author: Liang Ding
-->
<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>org.b3log</groupId>
<artifactId>symphony</artifactId>
<packaging>war</packaging>
<version>1.9.0</version>
<name>Symphony</name>
<url>https://github.com/b3log/symphony</url>
<description>
Sym Community: https://hacpai.com/about
</description>
<inceptionYear>2012</inceptionYear>
<!-- Properties -->
<properties>
<latke.version>2.3.6</latke.version>
<servlet.version>3.1.0</servlet.version>
<jetty.version>9.2.7.v20150116</jetty.version>
<slf4j.version>1.7.7</slf4j.version>
<mysql-connector-java.version>5.1.18</mysql-connector-java.version>
<jsoup.version>1.10.1</jsoup.version>
<pegdown.version>1.6.0</pegdown.version>
<qiniu.version>7.0.4.1</qiniu.version>
<jodd.version>3.6.6</jodd.version>
<emoji-java.version>3.0.0</emoji-java.version>
<user-agent-utils.version>1.20</user-agent-utils.version>
<commons-codec.version>1.10</commons-codec.version>
<!-- maven plugin -->
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
<maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version>
<maven-license-plugin.version>1.9.0</maven-license-plugin.version>
<!-- Unit Test -->
<testng.version>6.1.1</testng.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<organization>
<name>B3log</name>
<url>http://b3log.org</url>
</organization>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE</name>
<url>https://www.gnu.org/licenses/gpl.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>DL88250@gmail.com</id>
<name>Liang Ding</name>
<email>DL88250@gmail.com</email>
<url>http://88250.b3log.org</url>
<roles>
<role>Lead</role>
<role>Initial Committer</role>
</roles>
<organization>B3log</organization>
<organizationUrl>http://b3log.org</organizationUrl>
<timezone>+8</timezone>
</developer>
<developer>
<id>LLY219@gmail.com</id>
<name>Liyuan Li</name>
<email>LLY219@gmail.com</email>
<url>http://vanessa.b3log.org</url>
<roles>
<role>Committer</role>
</roles>
<organization>B3log</organization>
<organizationUrl>http://b3log.org</organizationUrl>
<timezone>+8</timezone>
</developer>
<developer>
<id>wmainlove@gmail.com</id>
<name>Liceng Yao</name>
<email>wmainlove@gmail.com</email>
<url>http://love.b3log.org</url>
<roles>
<role>Committer</role>
</roles>
<organization>B3log</organization>
<organizationUrl>http://b3log.org</organizationUrl>
<timezone>+8</timezone>
</developer>
</developers>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/b3log/symphony/issues</url>
</issueManagement>
<scm>
<url>https://github.com/b3log/symphony</url>
</scm>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.b3log</groupId>
<artifactId>latke</artifactId>
<version>${latke.version}</version>
<exclusions>
<exclusion>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</exclusion>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
<exclusion>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.23</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet.version}</version>
</dependency>
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.b3log</groupId>
<artifactId>latke-repository-mysql</artifactId>
<version>${latke.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
<version>${pegdown.version}</version>
</dependency>
<dependency>
<groupId>com.qiniu</groupId>
<artifactId>qiniu-java-sdk</artifactId>
<version>${qiniu.version}</version>
</dependency>
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-http</artifactId>
<version>${jodd.version}</version>
</dependency>
<dependency>
<groupId>com.vdurmont</groupId>
<artifactId>emoji-java</artifactId>
<version>${emoji-java.version}</version>
<exclusions>
<exclusion>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>eu.bitwalker</groupId>
<artifactId>UserAgentUtils</artifactId>
<version>${user-agent-utils.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
<dependency>
<groupId>org.patchca</groupId>
<artifactId>patchca</artifactId>
<version>0.5.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/lib/net/pusuo/patchca-0.5.0.jar</systemPath>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>etc/</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<httpConnector>
<port>8080</port>
</httpConnector>
<stopKey>stop</stopKey>
<stopPort>4501</stopPort>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
<scanIntervalSeconds>1</scanIntervalSeconds>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>false</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>${maven-license-plugin.version}</version>
<configuration>
<basedir>${basedir}</basedir>
<header>src/main/resources/etc/header.txt</header>
<quiet>false</quiet>
<failIfMissing>true</failIfMissing>
<aggregate>true</aggregate>
<strictCheck>true</strictCheck>
<includes>
<include>**/src/*/java/**/*.java</include>
<include>**/src/*/webapp/js/*.js</include>
<include>**/src/*/webapp/css/*.css</include>
<include>**/src/*/webapp/scss/*.scss</include>
<include>**/src/*/resources/*.properties</include>
<include>**/src/*/webapp/WEB-INF/*.xml</include>
<include>gulpfile.js</include>
</includes>
<excludes>
<exclude>**/src/main/java/**/package-info.java</exclude>
<exclude>**/src/main/java/**/Pangu.java</exclude>
<exclude>**/src/*/webapp/js/lib/*.js</exclude>
<exclude>**/src/*/webapp/js/*.min.js</exclude>
<exclude>**/src/*/webapp/css/*.css</exclude>
</excludes>
<useDefaultExcludes>true</useDefaultExcludes>
<mapping>
<java>SLASHSTAR_STYLE</java>
<scss>SLASHSTAR_STYLE</scss>
</mapping>
<useDefaultMapping>true</useDefaultMapping>
<properties>
<year>2012-2017</year>
<devTeam>b3log.org &amp; hacpai.com</devTeam>
</properties>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<!--
eclipse sucks!!
<execution>
<phase>generate-resources</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
-->
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<webResources>
<resource>
<directory>${project.basedir}/src/main/resources/lib/net/pusuo</directory>
<targetPath>WEB-INF/lib</targetPath>
<filtering>false</filtering>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
<finalName>symphony</finalName>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化