Files
obsidian_note/各种项目/内网 私有 仓库 nexus 智联.md
2025-12-04 09:12:56 +08:00

34 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
```xml
<!--配置私服镜像-->
    <repositories>
        <repository>
            <id>nexus-public</id>
            <name>central repository</name>
            <url>http://10.19.37.201:8081/repository/maven-public/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
    </repositories>
    <distributionManagement>
        <repository>
            <id>nexus</id>
            <name>Nexus Release Repository</name>
            <url>http://10.19.37.201:8081/repository/maven-releases/</url>
        </repository>
        <snapshotRepository>
            <id>snapshots</id>
            <name>Nexus Snapshot Repository</name>
            <url>http://10.19.37.201:8081/repository/maven-snapshots/</url>
        </snapshotRepository>
    </distributionManagement>
```