当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 2.1K

zhaoxy8/OneBlog
暂停

forked from yadong.zhang/OneBlog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 6.43 KB
一键复制 编辑 原始数据 按行查看 历史
DoyuTu 提交于 2019-01-30 18:16 . :apple:Updated version
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zyd</groupId>
<artifactId>blog</artifactId>
<version>2.1.0.Beta</version>
<packaging>pom</packaging>
<modules>
<module>blog-core</module>
<module>blog-web</module>
<module>blog-admin</module>
<module>blog-spider</module>
</modules>
<name>blog</name>
<description>OneBlog是一款简洁美观、自适应的Java博客系统</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.8.RELEASE</version>
<relativePath/>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<maven.test.skip>true</maven.test.skip>
<webmagic.version>0.7.3</webmagic.version>
<jsoup.version>1.10.2</jsoup.version>
<javax.validation.version>2.0.1.Final</javax.validation.version>
<hibernate.validator.version>6.0.9.Final</hibernate.validator.version>
<tomcat.version>8.5.34</tomcat.version>
<excel4j.version>2.1.4-Final</excel4j.version>
<mybatis.version>1.3.2</mybatis.version>
<mapper.version>2.1.0</mapper.version>
<pagehelper.version>1.2.3</pagehelper.version>
<druid.version>1.1.10</druid.version>
<fastjson.version>1.2.44</fastjson.version>
<shiro.spring.version>1.4.0</shiro.spring.version>
<shiro.redis.version>2.4.2.1-RELEASE</shiro.redis.version>
<shiro.freemarker.tags.version>0.1</shiro.freemarker.tags.version>
<qiniu.version>[7.0.0, 7.1.99]</qiniu.version>
<useragentutils.version>1.20</useragentutils.version>
<braum.version>1.0.0-alpha</braum.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.zyd</groupId>
<artifactId>blog-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId>
<scope>test</scope>
</dependency>
<!--仅用于升级springboot版本时,提供配置迁移建议-->
<!--<dependency>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-properties-migrator</artifactId>-->
<!--<optional>true</optional>-->
<!--</dependency>-->
</dependencies>
<!-- Maven控制Spring Profile -->
<profiles>
<!--默认开启dev-->
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profileActive>dev</profileActive>
</properties>
<build>
<!-- 产生的构件的文件名,默认值是${artifactId}-${version}-->
<finalName>${project.artifactId}-${project.version}</finalName>
</build>
</profile>
<!--测试配置-->
<profile>
<id>test</id>
<properties>
<profileActive>test</profileActive>
</properties>
<build>
<!-- 产生的构件的文件名-->
<finalName>${project.artifactId}</finalName>
</build>
</profile>
<!--生产配置-->
<profile>
<id>prod</id>
<properties>
<profileActive>prod</profileActive>
</properties>
<build>
<!-- 产生的构件的文件名-->
<finalName>${project.artifactId}</finalName>
</build>
</profile>
</profiles>
<build>
<!-- profile对资源的操作 -->
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>application*.yml</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<!-- 是否替换@xx@表示的maven properties属性值 -->
<filtering>true</filtering>
<includes>
<include>application.yml</include>
<include>application-${profileActive}.yml</include>
</includes>
</resource>
</resources>
</build>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhaoxy8/DBlog.git
git@gitee.com:zhaoxy8/DBlog.git
zhaoxy8
DBlog
OneBlog
master

搜索帮助