128 lines
4.1 KiB
XML
128 lines
4.1 KiB
XML
<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>com.yuandian.common</groupId>
|
|
<artifactId>config</artifactId>
|
|
<version>1.0.3</version>
|
|
<packaging>jar</packaging>
|
|
<name>config</name>
|
|
<url>http://yuandian.com</url>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<java.version>8</java.version>
|
|
<nacos.version>2.1.0</nacos.version>
|
|
<snakeyaml.version>1.30</snakeyaml.version>
|
|
<logback.version>1.2.11</logback.version>
|
|
<slf4j.version>1.7.36</slf4j.version>
|
|
</properties>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>${snakeyaml.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-client</artifactId>
|
|
<version>${nacos.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.24</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<scm>
|
|
<connection>scm:git:http://git.yuandian.com/project/yd-common-config.git</connection>
|
|
<url>http://git.yuandian.com/project/yd-common-config.git</url>
|
|
<developerConnection>scm:git:http://git.yuandian.com/project/yd-common-config.git</developerConnection>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>yuandian-nexus</id>
|
|
<name>yuandian-snapshots</name>
|
|
<url>http://mvn.yuandian.com/repository/maven-snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>yuandian-nexus</id>
|
|
<name>yuandian-releases</name>
|
|
<url>http://mvn.yuandian.com/repository/maven-releases</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.5.3</version>
|
|
<configuration>
|
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<releaseProfiles>releases</releaseProfiles>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nxrm3-maven-plugin</artifactId>
|
|
<version>1.0.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-deploy</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<nexusUrl>http://mvn.yuandian.com</nexusUrl>
|
|
<!-- The server "id" element from settings to use authentication from settings.xml-->
|
|
<serverId>yuandian-nexus</serverId>
|
|
<!-- Which repository to deploy to -->
|
|
<repository>maven-snapshots</repository>
|
|
<!-- Skip the staging deploy mojo -->
|
|
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |