[jbosstools-issues] [JBoss JIRA] (JBTIS-437) Add jsonschema2pojo to TP

Paul Leacu (JIRA) issues at jboss.org
Tue Jul 7 16:29:02 EDT 2015


    [ https://issues.jboss.org/browse/JBTIS-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087546#comment-13087546 ] 

Paul Leacu commented on JBTIS-437:
----------------------------------

Hey [~nickboldt] - could you please :) take a look at this PR:

https://github.com/jbosstools/jbosstools-locus/pull/43

I think it's close - need to figure out the dependencies.  I've modified the locus TP but can't get an Import-Package to find the two packages I've added:

Import-Package: com.fasterxml.jackson.core.jackson-databind,
 javax.validation.validation-api

So - the pom from the import of the package lists a set of dependencies here:

https://repo1.maven.org/maven2/org/jsonschema2pojo/jsonschema2pojo-core/0.4.13/jsonschema2pojo-core-0.4.13.pom

Most of these dependencies Fuse Data Trans didn't need to specify in their local libs dependencies capture.  Should all of these be part of the Import-Package of the jsonschema2pojo manifest?

Thkx (in advance...)


> Add jsonschema2pojo to TP
> -------------------------
>
>                 Key: JBTIS-437
>                 URL: https://issues.jboss.org/browse/JBTIS-437
>             Project: JBoss Tools Integration Stack
>          Issue Type: Feature Request
>          Components: Fuse IDE, target-platform
>            Reporter: Keith Babo
>            Assignee: Paul Leacu
>             Fix For: 4.3.0.Final-TP
>
>
> Fuse Data Transformation tooling relies on jsonschema2pojo to generate model classes from JSON schema and JSON instance documents.  At present, this dependency is bundled directly inside the data transformation plugin for Fuse IDE. 
> *Project page/sources:* http://www.jsonschema2pojo.org/
> *Version:* 0.4.5 (this is a bit old - current is 0.4.11 and happy to try that if we want to be on the latest/greatest)
> *License and owner:* ALv2
> *Original p2 repo:* unknown
> *JBoss mirror:* unknown
> *Include Sources:* Yes
> *Affected projects:* Fuse IDE
> *Include in JBDS:* unknown
> *Type of dependency:* unknown
> *non-p2 repository:* https://repo1.maven.org/maven2/org/jsonschema2pojo/jsonschema2pojo-core/0.4.5/jsonschema2pojo-core-0.4.5.pom
> There are additional dependencies (see the POM) beyond jsonschema2pojo that will need to be included depending on which parts of jsonschema2pojo are used.  For us, that includes:
> - commons-lang3 (although we should be able to use the v2 version which is already present in the TP - need to confirm)
> - jackson-annotations.jar (2.2.0)
> - jackson-core.jar (2.2.0)
> - jackson-databind.jar (2.2.0)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list