did/pom.xml

199 lines
7.9 KiB
XML
Raw Normal View History

2018-08-14 07:21:56 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2021-02-07 14:11:59 +00:00
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2018-08-14 07:21:56 +00:00
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>
2021-01-22 07:40:02 +00:00
<groupId>io.github.ehlxr</groupId>
<artifactId>did-parent</artifactId>
2018-08-14 07:21:56 +00:00
<packaging>pom</packaging>
2021-01-22 07:40:02 +00:00
<version>1.0.2-SNAPSHOT</version>
2018-08-14 07:21:56 +00:00
<modules>
<module>did-server</module>
<module>did-sdk</module>
<module>did-common</module>
2021-02-09 09:36:11 +00:00
<module>did-core</module>
2018-08-14 07:21:56 +00:00
</modules>
2021-01-22 07:40:02 +00:00
<name>did-parent</name>
2018-08-14 07:21:56 +00:00
2021-01-19 06:45:49 +00:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!--目标编译的 Java 版本可以通过以下属性指定,不用配置 maven-compiler-plugin 插件-->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
2021-01-22 07:40:02 +00:00
<did.version>1.0.2-SNAPSHOT</did.version>
2021-01-19 06:45:49 +00:00
2021-01-19 10:39:42 +00:00
<netty.version>4.1.58.Final</netty.version>
2021-01-19 06:45:49 +00:00
<logback.version>1.1.7</logback.version>
<junit.version>4.13.1</junit.version>
2021-02-07 10:21:08 +00:00
<jackson.version>2.10.3</jackson.version>
2021-02-09 09:36:11 +00:00
<protostuff.version>1.7.2</protostuff.version>
2021-01-19 06:45:49 +00:00
</properties>
2018-08-14 07:21:56 +00:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
2021-01-19 06:45:49 +00:00
<version>${netty.version}</version>
2018-08-14 07:21:56 +00:00
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
2021-01-19 06:45:49 +00:00
<version>${logback.version}</version>
2018-08-14 07:21:56 +00:00
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
2021-01-19 06:45:49 +00:00
<version>${junit.version}</version>
2018-08-14 07:21:56 +00:00
<scope>test</scope>
</dependency>
2021-01-22 07:40:02 +00:00
<dependency>
<groupId>io.github.ehlxr</groupId>
<artifactId>did-common</artifactId>
<version>${did.version}</version>
</dependency>
2021-02-09 09:36:11 +00:00
<dependency>
<groupId>io.github.ehlxr</groupId>
<artifactId>did-core</artifactId>
<version>${did.version}</version>
</dependency>
2021-02-07 10:21:08 +00:00
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
2021-02-09 09:36:11 +00:00
<dependency>
<groupId>io.protostuff</groupId>
<artifactId>protostuff-core</artifactId>
<version>${protostuff.version}</version>
</dependency>
<dependency>
<groupId>io.protostuff</groupId>
<artifactId>protostuff-runtime</artifactId>
<version>${protostuff.version}</version>
</dependency>
2018-08-14 07:21:56 +00:00
</dependencies>
</dependencyManagement>
2021-01-22 06:54:56 +00:00
<!--<dependencies>-->
<!-- 为了 debug 调试-->
<!-- <dependency>-->
<!-- <groupId>com.github.github</groupId>-->
<!-- <artifactId>site-maven-plugin</artifactId>-->
<!-- <version>0.12</version>-->
<!-- </dependency>-->
<!--</dependencies>-->
2021-01-22 05:57:48 +00:00
2018-08-14 07:21:56 +00:00
<build>
<pluginManagement>
<plugins>
2021-01-21 09:43:41 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
2021-01-21 14:05:51 +00:00
<configuration>
<altDeploymentRepository>maven.repo::default::file://${project.build.directory}/mvn-repo
</altDeploymentRepository>
</configuration>
2021-01-21 09:43:41 +00:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
2018-08-14 07:21:56 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2021-01-25 03:06:54 +00:00
<version>3.2.4</version>
2018-08-14 07:21:56 +00:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
2021-01-21 09:43:41 +00:00
2021-01-21 14:05:51 +00:00
<plugin>
<!-- Deploy the web site -->
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<!-- select the Maven phase in which the plugin will be executed -->
<phase>deploy</phase>
<configuration>
<!-- Plugin configuration goes here -->
<userName>ehlxr</userName>
<!--suppress UnresolvedMavenProperty -->
<password>${env.GITHUB_MVN_TOKEN}</password>
<!-- The commit message -->
<message>init git maven repository</message>
<!-- The location where the site is uploaded -->
2021-01-22 08:15:16 +00:00
<repositoryName>maven-repository</repositoryName> <!-- github repo name -->
2021-01-21 14:05:51 +00:00
<repositoryOwner>ehlxr</repositoryOwner> <!-- organization or user name -->
<!-- Use merge or override the content -->
<merge>true</merge>
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
2021-01-22 08:15:16 +00:00
<branch>refs/heads/main</branch>
2021-01-21 14:05:51 +00:00
<!--<includes>-->
<!-- <include>**/*</include>-->
<!--</includes>-->
</configuration>
</execution>
</executions>
</plugin>
2018-08-14 07:21:56 +00:00
</plugins>
</pluginManagement>
2021-01-21 14:05:51 +00:00
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
2021-01-21 10:04:19 +00:00
2021-01-21 09:43:41 +00:00
<distributionManagement>
<repository>
2021-01-21 14:05:51 +00:00
<id>maven.repo</id>
<name>Local Staging Repository</name>
<url>file://${project.build.directory}/mvn-repo</url>
2021-01-21 09:43:41 +00:00
</repository>
</distributionManagement>
2021-01-21 14:05:51 +00:00
<!--<distributionManagement>-->
<!-- <repository>-->
<!-- <id>github</id>-->
<!-- <name>GitHub Apache Maven Packages</name>-->
<!-- <url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>-->
<!-- </repository>-->
<!--</distributionManagement>-->
2018-08-14 07:21:56 +00:00
</project>