当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 14.38 KB
一键复制 编辑 原始数据 按行查看 历史
88250 提交于 2021-04-14 09:14 . :arrow_up:升级 Latke 框架
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: Solo POM.
Version: 3.18.3.105, Apr 14, 2021
Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a>
Author: <a href="http://vanessa.b3log.org">Vanessa</a>
Author: <a href="https://ld246.com/member/nanolikeyou">nanolikeyou</a>
Author: <a href="https://ld246.com/member/hzchendou">hzchendou</a>
-->
<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>solo</artifactId>
<packaging>jar</packaging>
<name>Solo</name>
<version>4.3.1</version>
<description>
一款小而美的博客系统,专为程序员设计。
</description>
<inceptionYear>2010</inceptionYear>
<organization>
<name>B3log</name>
<url>https://b3log.org</url>
</organization>
<licenses>
<license>
<name>木兰宽松许可证, 第2版</name>
<url>http://license.coscl.org.cn/MulanPSL2</url>
</license>
</licenses>
<developers>
<developer>
<id>845765@qq.com</id>
<name>Liang Ding</name>
<email>845765@qq.com</email>
<url>http://88250.b3log.org</url>
<roles>
<role>Lead</role>
<role>Initial Committer</role>
</roles>
<organization>B3log</organization>
<organizationUrl>https://b3log.org</organizationUrl>
<timezone>+8</timezone>
</developer>
<developer>
<id>84588990@qq.com</id>
<name>Liyuan Li</name>
<email>84588990@qq.com</email>
<url>http://vanessa.b3log.org</url>
<roles>
<role>Committer</role>
</roles>
<organization>B3log</organization>
<organizationUrl>https://b3log.org</organizationUrl>
<timezone>+8</timezone>
</developer>
</developers>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/88250/solo/issues</url>
</issueManagement>
<scm>
<url>https://github.com/88250/solo</url>
</scm>
<properties>
<org.b3log.latke.version>3.4.14</org.b3log.latke.version>
<jsoup.version>1.12.1</jsoup.version>
<flexmark.version>0.50.40</flexmark.version>
<commons-cli.version>1.3.1</commons-cli.version>
<emoji-java.version>5.1.0</emoji-java.version>
<jodd.version>5.0.13</jodd.version>
<owasp.version>1.2.2</owasp.version>
<snakeyaml.version>1.18</snakeyaml.version>
<user-agent-utils.version>1.21</user-agent-utils.version>
<license-maven-plugin.version>3.0</license-maven-plugin.version>
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.2</jacoco-maven-plugin.version>
<testng.version>7.1.0</testng.version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.b3log</groupId>
<artifactId>latke-core</artifactId>
<version>${org.b3log.latke.version}</version>
<exclusions>
<exclusion>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.b3log</groupId>
<artifactId>latke-repository-mysql</artifactId>
<version>${org.b3log.latke.version}</version>
</dependency>
<dependency>
<groupId>org.b3log</groupId>
<artifactId>latke-repository-h2</artifactId>
<version>${org.b3log.latke.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>com.vladsch.flexmark</groupId>
<artifactId>flexmark-all</artifactId>
<version>${flexmark.version}</version>
<exclusions>
<exclusion>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-pdf-converter</artifactId>
</exclusion>
<exclusion>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-youtrack-converter</artifactId>
</exclusion>
<exclusion>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-jira-converter</artifactId>
</exclusion>
</exclusions>
</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>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-http</artifactId>
<version>${jodd.version}</version>
</dependency>
<dependency>
<groupId>org.owasp.encoder</groupId>
<artifactId>encoder</artifactId>
<version>${owasp.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>eu.bitwalker</groupId>
<artifactId>UserAgentUtils</artifactId>
<version>${user-agent-utils.version}</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>etc/</exclude>
<exclude>lib/</exclude>
<exclude>docker/</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls-maven-plugin.version}</version>
<configuration>
<repoToken>QZ1zzxOqOt1mtjyqmvzFJU5YW0kdIuExV</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version>
<configuration>
<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/*/resources/js/*.js</include>
<include>**/src/*/resources/scss/*.scss</include>
<include>**/src/*/resources/**/*.ftl</include>
<include>**/src/*/resources/skins/*/js/*.js</include>
<include>**/src/*/resources/skins/**/*.scss</include>
<include>**/src/*/resources/skins/**/*.properties</include>
<include>**/src/*/resources/plugins/*/js/*.js</include>
<include>**/src/*/resources/plugins/*/css/*.css</include>
<include>**/src/*/resources/plugins/*/*.properties</include>
<include>**/src/*/resources/js/admin/*.js</include>
<include>**/src/*/resources/*.properties</include>
<include>**/src/*/resources/*.xml</include>
<include>**/src/test/resources/**/*</include>
<include>**/src/*/resources/docker/*</include>
</includes>
<excludes>
<exclude>**/src/main/java/**/package-info.java</exclude>
<exclude>**/src/*/resources/js/lib/*.js</exclude>
<include>**/src/*/resources/js/*.min.js</include>
<include>**/src/*/resources/js/admin/*.min.js</include>
<include>**/src/*/resources/skins/*/js/*.min.js</include>
<include>**/src/*/resources/skins/*/css/*.css</include>
<exclude>**/src/main/java/com/**/*.java</exclude>
</excludes>
<useDefaultExcludes>true</useDefaultExcludes>
<mapping>
<java>SLASHSTAR_STYLE</java>
<scss>SLASHSTAR_STYLE</scss>
</mapping>
<useDefaultMapping>true</useDefaultMapping>
<properties>
<year>2010-present</year>
<devTeam>b3log.org</devTeam>
</properties>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.b3log.solo.Server</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 需要打 jar 部署的话注释掉上面的配置,启用下面这段配置
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.b3log.solo.Server</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
-->
</plugins>
<finalName>solo</finalName>
</build>
<profiles>
<profile>
<id>ci</id>
</profile>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>aliyun</id>
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun</id>
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化