当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 17.91 KB
一键复制 编辑 原始数据 按行查看 历史
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.hasor</groupId>
<artifactId>hasor-parent</artifactId>
<version>4.1.4-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- 配置属性 -->
<properties>
<wtpversion>2.0</wtpversion>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<jacoco.version>0.8.5</jacoco.version>
<spring.version>5.2.3.RELEASE</spring.version>
<spring.boot.version>2.2.4.RELEASE</spring.boot.version>
<!--<maven.test.skip>true</maven.test.skip>-->
<!--<skipTests>true</skipTests>-->
<powermock.version>2.0.6</powermock.version>
<project.shortname>Hasor-</project.shortname>
<project.website>http://www.hasor.net/</project.website>
<project.inceptionYear>2020</project.inceptionYear>
<javadocs.bottom><![CDATA[ ]]></javadocs.bottom>
</properties>
<!-- 项目信息 -->
<name>Root</name>
<description>master POM</description>
<url>${project.website}</url>
<inceptionYear>${project.inceptionYear}</inceptionYear>
<!-- 授权协议 -->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<!-- SCM -->
<scm>
<connection>scm:git:git@git.oschina.net:zycgit/hasor.git</connection>
<developerConnection>scm:git:git@git.oschina.net:zycgit/hasor.git</developerConnection>
<url>git@git.oschina.net:zycgit/hasor.git</url>
<tag>HEAD</tag>
</scm>
<!-- 开发者 -->
<developers>
<developer>
<name>赵永春(Mr.Zhao)</name>
<email>zyc@hasor.net</email>
</developer>
</developers>
<modules>
<module>hasor-all</module>
<module>hasor-commons</module>
<module>hasor-core</module>
<module>hasor-db</module>
<module>hasor-web</module>
<module>hasor-tconsole</module>
<module>hasor-spring</module>
<module>hasor-dataql/dataql-runtime</module>
<module>hasor-dataql/dataql-maven-plugin</module>
<module>hasor-dataql/dataql-fx</module>
<module>hasor-dataway</module>
<module>hasor-rsf/rsf-framework</module>
<!-- <module>hasor-rsf/rsf-network</module>-->
<!-- <module>hasor-rsf/rsf-gateway</module>-->
<!-- <module>hasor-rsf/rsf-registry</module>-->
<!-- <module>hasor-plugins</module>-->
<!-- <module>hasor-land</module>-->
</modules>
<!-- 构建描述 -->
<build>
<pluginManagement>
<plugins>
<!-- Compile -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF8</encoding>
</configuration>
</plugin>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<failOnError>false</failOnError>
<failOnWarnings>false</failOnWarnings>
<doclint>none</doclint>
<additionalJOption>--allow-script-in-comments</additionalJOption>
<excludePackageNames>net.hasor.utils.*,net.hasor.libs.*</excludePackageNames>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<header><![CDATA[ [<a target="_blank" href="http://www.hasor.net">Web Site</a>] ]]></header>
<bottom>${javadocs.bottom}</bottom>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- resources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- eclipse 插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<workspace>${basedir}</workspace>
<downloadSources>${downloadSources}</downloadSources>
<downloadJavadocs>${downloadJavadocs}</downloadJavadocs>
</configuration>
</plugin>
<!-- Test 失败继续 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
<!-- 覆盖率 -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${project.basedir}/target/jacoco-ut</outputDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Compile -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- Source -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- Javadoc -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<!-- resources -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<!-- eclipse 插件 -->
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
</plugin>
<!-- Test 失败继续 -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<!-- 覆盖率 -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- 发布使用的版本库 -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- 使用“-P release”启用下面配置 -->
<profiles>
<profile>
<id>release</id>
<properties>
<gpg.executable>gpg2</gpg.executable>
<gpg.passphrase>fubing220106</gpg.passphrase>
</properties>
<build>
<plugins>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<tagNameFormat>Release.${project.shortname}@{project.version}</tagNameFormat>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- 公共依赖 -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- 需要统一管理的依赖 -->
<dependencyManagement>
<dependencies>
<!-- self -->
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-db</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-dataql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-dataql-fx</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-dataway</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-tconsole</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-rsf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-spring</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-all</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Log依赖 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
</dependency>
<!-- network -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.45.Final</version>
</dependency>
<!-- antlr4 & script -->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.7.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>2.5.8</version>
</dependency>
<!-- JSON 序列化 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.67</version>
</dependency>
<!-- dbs -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.3</version>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.5</version>
</dependency>
<!-- webs -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
</dependency>
<!-- Spring & SpringBoot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化