<!-- 发布命令 -->
    <distributionManagement>
        <repository>
            <id>nexus_release</id>
            <name>Nexus ReleaseRepository</name>
            <url>http://localhost:8081/nexus/content/repositories/releases/</url>
        </repository>
        <snapshotRepository>
            <id>nexus_snapshot</id>
            <name>Nexus SnapshotRepository</name>
            <url>http://localhost:8081/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>
    </distributionManagement>

setting.xml 中

       <server>
        <id>nexus_release</id>
        <username>admin</username>
        <password>admin123</password>
      </server>

      <server>
        <id>nexus_snapshot</id>
        <username>admin</username>
        <password>admin123</password>
      </server>

发布命令

clean deploy

 

更新子模块版本命令:

mvn versions:update-child-modules

相关文章:

  • 2021-10-29
  • 2022-03-11
  • 2021-04-12
  • 2021-12-06
  • 2021-09-27
  • 2022-12-23
  • 2021-11-25
  • 2022-02-17
猜你喜欢
  • 2021-11-28
  • 2021-09-23
  • 2021-12-25
  • 2021-10-29
  • 2022-12-23
  • 2021-10-16
  • 2022-01-20
相关资源
相似解决方案