1 Star 0 Fork 442

丛林迷雾 / hasor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 14.84 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.2.6-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- 配置属性 -->
<properties>
<wtpversion>2.0</wtpversion>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<jacoco.version>0.8.5</jacoco.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-dataql/dataql-runtime</module>
<module>hasor-dataql/dataql-maven-plugin</module>
<module>hasor-dataql/dataql-fx</module>
<module>hasor-dataql/dataql-dataway</module>
<module>hasor-rsf/rsf-framework</module>
</modules>
<!-- 构建描述 -->
<build>
<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>
</build>
<!-- 发布使用的版本库 -->
<distributionManagement>
<snapshotRepository>
<id>rdc-snapshots</id>
<url>https://packages.aliyun.com/maven/repository/2012878-snapshot-wXHWRP</url>
</snapshotRepository>
<!-- <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.6</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>false</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>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<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-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>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.200</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.1.23</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>
</dependencies>
</dependencyManagement>
</project>
Java
1
https://gitee.com/chh/hasor.git
git@gitee.com:chh/hasor.git
chh
hasor
hasor
master

搜索帮助