IBM Filenet P8订阅Maven依赖项 [英] IBM Filenet P8 subscription maven dependencies

查看:186
本文介绍了IBM Filenet P8订阅Maven依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我当前的项目中,使用Filenet P8 Content Platform Engine 5.2.1和WebSphere 8.5.5.3,IBM RAD 9.5和Apache Maven 3.3.1

In my current project using Filenet P8 Content Platform Engine 5.2.1 with WebSphere 8.5.5.3, IBM RAD 9.5 and Apache Maven 3.3.1

我将使用Maven来构建我的工件,特别是我要问的是正确构建订阅的代码模块所需要的依赖项.

I'm going to use maven to build my artifacts, and specifically I'm asking which are the dependencies needed to correctly build a subscription's code module.

此外,我不确定它们的范围,因为我不确定它们已经提供了.

Moreover I would need to know their scope, since I'm not sure about which of them are already provided.

由于这个克里斯托弗·鲍威尔的答案,我找到了这个用于ECM开发人员的Eclipse插件,但我不能完全确定这些依赖关系是指Content Platform Engine的最新版本.

Thanks to this Christopher Powell's answer I found this Eclipse Plugin for ECM Developers but I'm not completely sure that the dependencies refer to the latest version of Content Platform Engine.

此刻,我发现只有jace.jar是唯一需要的.

At the moment I found that jace.jar is the only clearly required.

推荐答案

从事件操作"运行的代码模块"是从FileNet内部运行的;它是Class Loader中最小的孩子.

The "Code Module" run from an "Event Action", is run from inside FileNet; it is the youngest child within the Class Loader.

对于基本编码,您只需要Jace.jar来构建代码模块,而不应在代码模块中包括Jace.jar(一个代码模块可以包含多个jar). 有关更高级的编码,请查看以下内容:

For basic coding, you only need Jace.jar to build your Code Module, and should not include Jace.jar within your Code Module (a Code Module can have more than one jar). For more advanced coding, please review this: FileNet required Jars

构建时,还应该使用Content Engine安装中的Jace.jar. 5.2.1上的Jace.jar与5.2.0上的Jace.jar有所不同.

When building, you should also use the Jace.jar from your Content Engine install. The Jace.jar on 5.2.1, will be different than the Jace.jar on 5.2.0.

如果您开始做更高级的工作,例如从代码模块中调用SOAP,那么您的依赖需求可能会导致Application Server(WAS或WebLogic等)出现问题,因为您可能最终会遇到类加载器问题.

If you start doing more advanced stuff, like calling SOAP from within the Code Module, then your dependency needs might cause problems with the Application Server (WAS or WebLogic etc), because you may end up with class loader issues.

这篇关于IBM Filenet P8订阅Maven依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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