gradle - 您如何指定 IBM WAS 上的运行时依赖关系?

标签 gradle websphere websphere-8

我在 IBM WebSphere Application Server 8.5.5 上部署了一个 Web 应用程序。
它使用 JNDI 查找 com.ibm.websphere.cache.DistributedMap它来自运行时的 websphere 类路径。
但是,我需要访问该类才能编译代码,而且并非所有开发人员或构建服务器都安装了 WebSphere 实例。
gradle war 插件有一个 providedCompile配置来保存这个依赖,但是我从哪里得到包含 DistributedMap 的 jar ?
IBM 是否有包含 WebSphere 运行时 jar 的公共(public)存储库?
还是我需要从已安装的实例中提取它并将其发布到我们公司内部的 maven 存储库?
哪个 jar 包含这个类?

最佳答案

检查这是否能解决您的问题,这看起来像带有 DistributedMap API https://mvnrepository.com/artifact/com.ibm.websphere.appserver.api/com.ibm.websphere.appserver.api.distributedMap 的 maven repo

关于gradle - 您如何指定 IBM WAS 上的运行时依赖关系?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64450466/

相关文章:

android - 'com.android.support :appcompat-v7:27. 1.1' 与 com.google.android.gms :play-services-maps:15. 0.1 冲突?

android - 错误 :The "android" command is no longer included in the SDK. 对它的任何引用(例如第三方插件)都应该被删除

spring - spring boot需要WAS(Websphere Application Server)吗?

java - 在 WebSphere 中注入(inject) spring 资源失败

osgi - 如何在部署在 WAS 8.0 中的自己的 OSGi 应用程序中启动特定包?

java - 如何为部署到 WAS 8 的 spring 4/hibernate 4.3 应用程序配置事务管理

hadoop - Azkaban Gradle的构建失败TestTimedOutException

java - 升级到 Gradle 6 后,Jenkins 控制台上未打印上传的 War 或 Tar 信息

java - 如何使用 Java 6 SE 发送电子邮件?

jersey - Websphere 8.5 上的 JAX-RS Jersey 客户端