feat:优化

This commit is contained in:
wangyu 2022-04-01 07:51:35 +08:00
parent ec17382474
commit 7bb00db892
2 changed files with 109 additions and 4 deletions

View File

@ -55,14 +55,15 @@
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>flyfish-releases</id>
<url>http://nexus.flyfish.group/repository/maven-releases/</url>
<id>rdc-releases</id>
<url>https://repo.rdc.aliyun.com/repository/118156-release-Sw8aZv/</url>
</repository>
<snapshotRepository>
<id>flyfish-snapshots</id>
<url>http://nexus.flyfish.group/repository/maven-snapshots/</url>
<id>rdc-snapshots</id>
<url>https://repo.rdc.aliyun.com/repository/118156-snapshot-jRK1Jp/</url>
</snapshotRepository>
</distributionManagement>

104
settings.xml Normal file
View File

@ -0,0 +1,104 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>mirror</id>
<mirrorOf>!rdc-releases,!rdc-snapshots</mirrorOf>
<name>mirror</name>
<url>https://maven.aliyun.com/repository/public/</url>
</mirror>
</mirrors>
<servers>
<server>
<id>flyfish-releases</id>
<username>admin</username>
<password>YJXR19950501..</password>
</server>
<server>
<id>flyfish-snapshots</id>
<username>admin</username>
<password>YJXR19950501..</password>
</server>
<server>
<id>ossrh</id>
<username>wybaby168</username>
<password>Yjxr19950501..</password>
</server>
<server>
<id>rdc-releases</id>
<username>vsUeq1</username>
<password>qATkD3fND4</password>
</server>
<server>
<id>rdc-snapshots</id>
<username>vsUeq1</username>
<password>qATkD3fND4</password>
</server>
</servers>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>rdc-releases</id>
<url>https://repo.rdc.aliyun.com/repository/118156-release-Sw8aZv/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>rdc-snapshots</id>
<url>https://repo.rdc.aliyun.com/repository/118156-snapshot-jRK1Jp/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>rdc-releases</id>
<url>https://repo.rdc.aliyun.com/repository/118156-release-Sw8aZv/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>rdc-snapshots</id>
<url>https://repo.rdc.aliyun.com/repository/118156-snapshot-jRK1Jp/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>ossrh</id>
<properties>
<!-- 由于我电脑安装的是gpg2不存在gpg命令所以需要指定执行gpg2否则会报错 -->
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>19680823www</gpg.passphrase>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>