Maven OSB(12.2.1.3)问题

时间:2019-03-13 04:28:31

标签: oracle maven plugins repository osb

我正在尝试配置Maven以部署OSB项目。我运行了以下两个命令,两个命令均显示成功:

  
      
  1. mvn install:安装文件-DpomFile = oracle-maven-sync-12.2.1.pom -Dfile = oracle-maven-sync-12.2.1.jar
  2.   
  3. mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome = ORACLE_HOME
  4.   

但是根据我尝试运行时的Oracle文档https://docs.oracle.com/en/middleware/service-bus/12.2.1.3/develop/using-oracle-service-bus-development-maven-plug1.html#GUID-05C3C827-C474-4D27-9D35-7B82E2D6E080

  

MVN帮助:描述-DgroupId = com.oracle.servicebus.plugin   -DartifactId = oracle-servicebus-plugin -Dversion = 12.2.1-0-0

要验证我是否已经成功安装了插件,出现以下错误:

1。

  

起因:org.apache.maven.plugin.MojoExecutionException:错误   检索以下插件的描述符:

     

groupId:“ com.oracle.servicebus.plugin”工件ID:   'oracle-servicebus-plugin'版本:'12 .2.1-0-0'

2。

  

原因:org.apache.maven.plugin.PluginResolutionException:插件   com.oracle.servicebus.plugin:oracle-servicebus-plugin:12.2.1-0-0或   无法解决其依赖项之一:找不到   com.oracle.servicebus.plugin:oracle-servicebus-plugin:jar:12.2.1-0-0   https://repo.maven.apache.org/maven2中的缓存在本地   存储库,直到更新后才会重新尝试解析   中心间隔已过去或强制更新

0 个答案:

没有答案