[
https://issues.apache.org/jira/browse/OLINGO-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739598#comment-16739598
]
Kevin Jordan commented on OLINGO-885:
-------------------------------------
How do you get past the file already exists issue? I'm getting that trying to
generate POJOs from a Dynamics 365 metadata file.
> pojogen-maven-plugin fails to generate model for .Net service
> -------------------------------------------------------------
>
> Key: OLINGO-885
> URL: https://issues.apache.org/jira/browse/OLINGO-885
> Project: Olingo
> Issue Type: Bug
> Components: odata4-ext
> Affects Versions: (Java) V4 4.1.0
> Reporter: Jon Freedman
> Priority: Major
>
> Given the Thomson Reuters DataScope API is a production system I assume the
> OData metadata is valid however the pojogen-maven-plugin fails to parse some
> of the metadata documents.
> See https://hosted.datascopeapi.reuters.com/RestApi/
> Specifically:
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/$metadata
> org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name:
> ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateType
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Users/$metadata
> java.lang.IllegalStateException: File
> 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\users\ojc-plugin\thomsonreuters\dss\api\users\Users.java'
> already exists
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/$metadata
> org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name:
> ThomsonReuters.Dss.Api.Content.InstrumentTypeGroup
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/Jobs/$metadata
> java.lang.IllegalStateException: File
> 'C:\code\Java\Risk\shared\risk-reuters-api\target\generated-sources\jobs\ojc-plugin\thomsonreuters\dss\api\jobs\Jobs.java'
> already exists
> * https://hosted.datascopeapi.reuters.com/RestApi/v1/AskTrps/$metadata
> org.apache.olingo.commons.api.edm.EdmException: Cannot find type with name:
> ThomsonReuters.Dss.Api.Content.InstrumentIdentifier
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)