weblogic-maven-plugin是否可以从Maven中心存储库中获得? [英] is weblogic-maven-plugin available from maven center repository?

查看:250
本文介绍了weblogic-maven-plugin是否可以从Maven中心存储库中获得?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行Maven构建脚本时,我得到了

When i run my maven build script i get

Plugin com.oracle.weblogic:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.oracle.weblogic:weblogic-maven-plugin:jar:2.9.1: Could not find artifact com.oracle.weblogic:weblogic-maven-plugin:pom:2.9.1 in central (http://repo1.maven.org/maven2) 

但是当我在存储库中搜索时,我可以在其中看到它 http://search.maven .org/#search | ga | 1 | weblogic-maven-plugin 为什么此插件不可用?

But when i search in repository i can see it there http://search.maven.org/#search|ga|1|weblogic-maven-plugin Why this plugin is not available?

推荐答案

由于Oracle WebLogic不是开源产品,因此Oracle决定不在Maven Central存储库中发布其Maven插件(为每个已发布工件提供源代码)根据 Maven中央存储库使用指南,现在已成为一项要求).

As Oracle WebLogic is not an open source product, Oracle has decided not to publish their Maven plugins in the Maven Central repository (providing the sources for each published artifact has now become a requirement, according to the Maven Central Repository Usage Guide).

直到最近,唯一的方法是将WebLogic JAR文件构建并安装到本地Maven缓存中.

Until recently, the only way was to build and install the WebLogic JAR file into the local Maven cache.

从2015年开始,Oracle建立了一个Maven存储库,拥有有效OTN帐户的任何人都可以访问它-请参阅abarisone的答案.

Starting from 2015, Oracle has set up a Maven repository which can be accessed by anyone having a valid OTN account - see abarisone's answer.

这篇关于weblogic-maven-plugin是否可以从Maven中心存储库中获得?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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