TIBCOSoftware / bw6-plugin-maven

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

Type Swagger parsing error. #271

Closed akashgugale15 closed 5 years ago

akashgugale15 commented 5 years ago

We are facing issues while importing a shared module to the application module. Our project is Mavenized and we face this issue only when we add the shared module (jar) as dependency in our application pom file. Below is the error that we are getting:

Description Resource Path Location Type Swagger parsing error. authentication_auto.json /MitekConfiguration/Service Descriptors Service Descriptors/authentication_auto.json BW Cloud Validation Problem

This json file is present in our shared module. Kindly let us know the cause and fix for this issue.


BUG REPORT INFORMATION

Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST --> Maven Plugin version: 2.1.1

Maven version: 3.6.0

Product : Either of TIBCO ActiveMatrix Businessworks 6

Product version: 6.5.0 HF07

Component:Maven Eclipse Plugin

SujataDarekar commented 5 years ago

@akashgugale15 We will check and let you know

akashgugale15 commented 5 years ago

@SujataDarekar : Is there any update? Is it possible to have an entitlement with TIBCO Support to have an SLA for Maven plugin related issues as well?

SujataDarekar commented 5 years ago

Hi Akash Are you getting that error while running any goal or it is getting after adding the shared module? Also could you please try to add shared module dependency in module POM in the place of application POM?

SujataDarekar commented 5 years ago

Also after adding the shared module dependency in module pom if you get the same error please attach the reproducible use case

akashgugale15 commented 5 years ago

@SujataDarekar : We are getting error after adding the shared module itself. The error does not hamper the functionality at runtime. Dependencies are added in module POM. Unfortunately we cannot attach our code as it is restricted by our client.

SujataDarekar commented 5 years ago

@akashgugale15 I am able to reproduce the issue with a sample project. Will let you know for further update

SujataDarekar commented 5 years ago

@akashgugale15 This issue is not from maven plugin side but it's related to Rest/Json component. Above issue is reproducible without maven as well. Hence closing the issue. Please track Jira AMBW-36363 for more details

rokces commented 2 years ago

@SujataDarekar could you please explain how you were able to reproduce this issue without the use of Maven? I am not able to reproduce it. If I add the shared module to the application, no error occurs.

Thank you, Rok