2018-08-14 07:21:56 +00:00
|
|
|
<?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>cn.ceres.did</groupId>
|
|
|
|
<artifactId>did</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<modules>
|
|
|
|
<module>did-server</module>
|
|
|
|
<module>did-sdk</module>
|
|
|
|
<module>did-common</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<name>did</name>
|
|
|
|
|
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-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>
|
2021-01-19 07:22:11 +00:00
|
|
|
<junit.version>4.13.1</junit.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>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<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 10:04:19 +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>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-01-21 09:43:41 +00:00
|
|
|
|
2021-01-21 10:04:19 +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 –>-->
|
|
|
|
<!-- <server>github</server>-->
|
|
|
|
<!-- <!– The commit message –>-->
|
|
|
|
<!-- <message>init git maven repository</message>-->
|
|
|
|
<!-- <!– The location where the site is uploaded –>-->
|
|
|
|
<!-- <repositoryName>mvn-repository</repositoryName> <!– github repo name –>-->
|
|
|
|
<!-- <repositoryOwner>ehlxr</repositoryOwner> <!– organization or user name –>-->
|
|
|
|
<!-- <!– Use merge or override the content –>-->
|
|
|
|
<!-- <merge>true</merge>-->
|
|
|
|
<!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>-->
|
|
|
|
<!-- <branch>refs/heads/mvn-repo</branch>-->
|
|
|
|
<!-- <!–<includes>–>-->
|
|
|
|
<!-- <!– <include>**/*</include>–>-->
|
|
|
|
<!-- <!–</includes>–>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<!-- </execution>-->
|
|
|
|
<!-- </executions>-->
|
|
|
|
<!--</plugin>-->
|
2018-08-14 07:21:56 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2021-01-21 10:04:19 +00:00
|
|
|
<!--<distributionManagement>-->
|
|
|
|
<!-- <repository>-->
|
|
|
|
<!-- <id>maven.repo</id>-->
|
|
|
|
<!-- <name>Local Staging Repository</name>-->
|
|
|
|
<!-- <url>file://${project.build.directory}/mvn-repo</url>-->
|
|
|
|
<!-- </repository>-->
|
|
|
|
<!--</distributionManagement>-->
|
|
|
|
|
2021-01-21 09:43:41 +00:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
2021-01-21 10:04:19 +00:00
|
|
|
<id>github</id>
|
|
|
|
<name>GitHub Apache Maven Packages</name>
|
|
|
|
<url>https://maven.pkg.github.com/ehlxr/mvn-repository</url>
|
2021-01-21 09:43:41 +00:00
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
2018-08-14 07:21:56 +00:00
|
|
|
</project>
|