Best way to handle old snapshots in local repository?

前端 未结 5 950
萌比男神i
萌比男神i 2021-02-19 06:35

We have a Nexus local repository manager which handles all our internal projects (as well as mirroring outside repositories). For our internal projects, we only keep the most

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-19 07:32

    It could be a configuration problem with maven on your jenkins server.

    maven can and should be configured to periodically look for updated snapshots by configuring the value of in section for .

    daily
    

    The choices are: always, daily (default), interval:X (where X is an integer in minutes) or never.

    Also, if the version changes (from 1.1-SNAPSHOT to 1.2-SNAPSHOT), it is not clear how jenkins would successfully build with an older (1.1-SNAPSHOT) version.

提交回复
热议问题