did/pom.xml

145 lines
6.2 KiB
XML
Raw Normal View History

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>
<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>-->
<!-- &lt;!&ndash; Deploy the web site &ndash;&gt;-->
<!-- <groupId>com.github.github</groupId>-->
<!-- <artifactId>site-maven-plugin</artifactId>-->
<!-- <version>0.12</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <goals>-->
<!-- <goal>site</goal>-->
<!-- </goals>-->
<!-- &lt;!&ndash; select the Maven phase in which the plugin will be executed &ndash;&gt;-->
<!-- <phase>deploy</phase>-->
<!-- <configuration>-->
<!-- &lt;!&ndash; Plugin configuration goes here &ndash;&gt;-->
<!-- <server>github</server>-->
<!-- &lt;!&ndash; The commit message &ndash;&gt;-->
<!-- <message>init git maven repository</message>-->
<!-- &lt;!&ndash; The location where the site is uploaded &ndash;&gt;-->
<!-- <repositoryName>mvn-repository</repositoryName> &lt;!&ndash; github repo name &ndash;&gt;-->
<!-- <repositoryOwner>ehlxr</repositoryOwner> &lt;!&ndash; organization or user name &ndash;&gt;-->
<!-- &lt;!&ndash; Use merge or override the content &ndash;&gt;-->
<!-- <merge>true</merge>-->
<!-- <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>-->
<!-- <branch>refs/heads/mvn-repo</branch>-->
<!-- &lt;!&ndash;<includes>&ndash;&gt;-->
<!-- &lt;!&ndash; <include>**/*</include>&ndash;&gt;-->
<!-- &lt;!&ndash;</includes>&ndash;&gt;-->
<!-- </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>