带有远程Maven存储库的KieScanner [英] KieScanner with remote maven repo

查看:65
本文介绍了带有远程Maven存储库的KieScanner的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅下面的KieScanner文档.已指定KieScanner与 remote maven 回购一起使用.如果我指定保存我的KieJar的远程Maven,则在项目构建时,所有jar都将下载到本地Maven缓存中.现在我的应用程序已启动并正在运行.如果远程maven存储库中有任何更新,则

Referring to the below KieScanner docs. It is specified that KieScanner works with remote maven repo. If I specify a remote maven where my KieJar is kept then at the time of project building all the jars are downloaded in local maven cache. Now my application is up and running.If there any update in remote maven repo then

1)KieScanner将自动获取更新吗?

1) KieScanner will get the update automatically ?

2)KieScanner是否监听保存在本地Maven缓存或远程Maven存储库中的工件?

2) Do KieScanner listen on artifacts kept in local maven cache or remote maven repo ?

推荐答案

(1)您可以配置扫描程序以手动或在特定时间间隔查找新版本:

(1) You can configure the scanner to look for new versions manually or at certain time intervals:

// Manually run a check for new versions 
scanner.scanNow(); 
// Configure the scanner to check for new versions every 10 seconds
scanner.start( 10_000);

(2)Maven会在必要时自动更新缓存.

(2) Maven will update the cache automatically when necessary.

这篇关于带有远程Maven存储库的KieScanner的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆