TIBCOSoftware / bw6-plugin-maven

Plug-in Code for Apache Maven and TIBCO ActiveMatrix BusinessWorks™
Other
65 stars 78 forks source link

Not able to mavenize the Custom XPath Function project #666

Closed rokces closed 4 months ago

rokces commented 2 years ago

Maven Plugin version: 2.6.0

Maven version: 3.6.3

Product : TIBCO ActiveMatrix Businessworks

Product version: 6.6.0

Component: Either of Maven Eclipse Plugin or Maven build plugin

Steps to reproduce the issue:

I am trying to mavenize the Custom XPath Function project to use it externally in any Tibco BW application project. I was following the procedure on the page: https://github.com/TIBCOSoftware/bw6-plugin-maven/wiki/Custom-XPath-Function-with-Maven#external-custom-xpath-function-with-maven

First I created a new Plug-in Project and when I right-click it I don't see the option "Generate POM for CXF Project" as it is directed in the Wiki: Trying to mavenize

Am I missing something?

shashank-v-kumar commented 2 years ago

Hi @rokces , I'm also facing the same issue. Were you able to resolve it?

rokces commented 2 years ago

Hi @shashank-v-kumar, no I was not able to resolve it.

I am using Tibco BW 6.6.0 with Tibco Maven plugin 2.6.0. My guess is the manual on the wiki was written using a later version of Tibco Maven Plugin.

To test this I have installed the latest Tibco BW 6.8.1 with the latest Tibco Maven plugin 2.9.2 and it has the option "Generate POM for CXF Project".

Unfortunately we can not upgrade to later versions of Tibco BW yet and therefore can not use external plugin projects with Maven. Instead we are going to include the plugin library in the application as it is described in the first part of the manual. That part works fine with the Tibco Maven plugin 2.6.0.

Regards, Rok

shashank-v-kumar commented 2 years ago

Hi @rokces, thanks for the reply. I'm also using Tibco BW 6.6.0 and I also think the problem is with this particular version. I was able to mavenize the plugin project by right clicking on the project-> Configure->Convert to Maven Project and install into local maven repo but I'm not able to use it as a maven dependency. The BW application EAR doesn't contain the plugin jar although I've added it as a dependency in the pom.

sarundes-tibco commented 4 months ago

image c57783bb85f6On latest can see option to Generate POM for CXF Project. Hence marking this issue as closed