mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-08 15:22:43 +08:00
139 lines
4.3 KiB
Markdown
139 lines
4.3 KiB
Markdown
# boyue_jnpf
|
||
|
||
#### 介绍
|
||
boyue_快速开发平台
|
||
|
||
#### 软件架构
|
||
软件架构说明
|
||
|
||
|
||
#### 安装教程
|
||
|
||
依赖拉取:
|
||
需要配置"C:\maven\conf\settings.xml"
|
||
|
||
```
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
|
||
|
||
<!-- 本地仓库 -->
|
||
<localRepository>C:\maven\repository</localRepository>
|
||
|
||
<!-- 发布在pom中添加: -->
|
||
|
||
<!-- <distributionManagement>
|
||
<repository>
|
||
<id>maven-releases</id>
|
||
<url>http://222.184.49.22:19999/repository/maven-releases/</url>
|
||
</repository>
|
||
<snapshotRepository>
|
||
<id>maven-snapshots</id>
|
||
<url>http://222.184.49.22:19999/repository/maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
</distributionManagement> -->
|
||
|
||
<!-- 镜像配置 -->
|
||
<mirrors>
|
||
<!-- 私服镜像 -->
|
||
<!-- <mirror>
|
||
<id>boyue</id>
|
||
<mirrorOf>*</mirrorOf>
|
||
<name>boyue</name>
|
||
<url>http://222.184.49.22:19999/repository/maven-public/</url>
|
||
</mirror> -->
|
||
<!-- 私服镜像 -->
|
||
<!-- <mirror>
|
||
<id>monn-releases</id>
|
||
<mirrorOf>*</mirrorOf>
|
||
<name>Nexus qzdcloud</name>
|
||
<url>http://8.134.127.247:9999/repository/maven-public/</url>
|
||
</mirror> -->
|
||
<!-- 如果需要通过镜像访问仓库A或B -->
|
||
<mirror>
|
||
<id>repoA-mirror</id>
|
||
<url>http://8.134.127.247:9999/repository/maven-public/</url>
|
||
<mirrorOf>repoA</mirrorOf>
|
||
</mirror>
|
||
<mirror>
|
||
<id>repoB-mirror</id>
|
||
<url>http://222.184.49.22:19999/repository/maven-public/</url>
|
||
<mirrorOf>repoB</mirrorOf>
|
||
</mirror>
|
||
<!-- 阿里云镜像 -->
|
||
<mirror>
|
||
<id>aliyunmaven</id>
|
||
<mirrorOf>central</mirrorOf>
|
||
<name>阿里云公共仓库</name>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
</mirror>
|
||
<!-- 阻止 HTTP 外部仓库 -->
|
||
<!-- <mirror>
|
||
<id>maven-default-http-blocker</id>
|
||
<mirrorOf>external:http:*</mirrorOf>
|
||
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
|
||
<url>http://0.0.0.0</url>
|
||
<blocked>true</blocked>
|
||
</mirror> -->
|
||
</mirrors>
|
||
|
||
<!-- 服务器认证信息 -->
|
||
<servers>
|
||
<server>
|
||
<id>repoA</id>
|
||
<username>admin</username>
|
||
<password>admin123</password>
|
||
</server>
|
||
<server>
|
||
<id>repoB</id>
|
||
<username>admin</username>
|
||
<password>boyue1!Z</password>
|
||
</server>
|
||
<server>
|
||
<id>monn-releases</id>
|
||
<username>admin</username>
|
||
<password>admin123</password>
|
||
</server>
|
||
<server>
|
||
<id>boyue</id>
|
||
<username>admin</username>
|
||
<password>boyue1!Z</password>
|
||
</server>
|
||
<server>
|
||
<id>maven-releases</id>
|
||
<username>admin</username>
|
||
<password>boyue1!Z</password>
|
||
</server>
|
||
<server>
|
||
<id>maven-snapshots</id>
|
||
<username>admin</username>
|
||
<password>boyue1!Z</password>
|
||
</server>
|
||
</servers>
|
||
<profiles>
|
||
<profile>
|
||
<id>jnpf-repos</id>
|
||
<repositories>
|
||
<repository>
|
||
<id>repoA</id>
|
||
<url>http://8.134.127.247:9999/repository/maven-public/</url>
|
||
<releases><enabled>true</enabled></releases>
|
||
<snapshots><enabled>true</enabled></snapshots>
|
||
</repository>
|
||
<repository>
|
||
<id>repoB</id>
|
||
<url>http://222.184.49.22:19999/repository/maven-public/</url>
|
||
<releases><enabled>true</enabled></releases>
|
||
<snapshots><enabled>true</enabled></snapshots>
|
||
</repository>
|
||
</repositories>
|
||
</profile>
|
||
</profiles>
|
||
|
||
<activeProfiles>
|
||
<activeProfile>jnpf-repos</activeProfile>
|
||
</activeProfiles>
|
||
</settings>
|
||
```
|