com.github.ollgei.base:base-jsonschema2pojo-library

Parent pom providing dependency and plugin management for applications built with Maven

License

License

Categories

Categories

JSON Data
GroupId

GroupId

com.github.ollgei.base
ArtifactId

ArtifactId

base-jsonschema2pojo-library
Last Version

Last Version

1.0.0.RC1
Release Date

Release Date

Type

Type

jar
Description

Description

Parent pom providing dependency and plugin management for applications built with Maven
Project URL

Project URL

https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/base-jsonschema2pojo-library
Source Code Management

Source Code Management

https://github.com/ollgei/base-swagger-annotator

Download base-jsonschema2pojo-library

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.ollgei.base/base-jsonschema2pojo-library/ -->
<dependency>
    <groupId>com.github.ollgei.base</groupId>
    <artifactId>base-jsonschema2pojo-library</artifactId>
    <version>1.0.0.RC1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.ollgei.base/base-jsonschema2pojo-library/
implementation 'com.github.ollgei.base:base-jsonschema2pojo-library:1.0.0.RC1'
// https://jarcasting.com/artifacts/com.github.ollgei.base/base-jsonschema2pojo-library/
implementation ("com.github.ollgei.base:base-jsonschema2pojo-library:1.0.0.RC1")
'com.github.ollgei.base:base-jsonschema2pojo-library:jar:1.0.0.RC1'
<dependency org="com.github.ollgei.base" name="base-jsonschema2pojo-library" rev="1.0.0.RC1">
  <artifact name="base-jsonschema2pojo-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.ollgei.base', module='base-jsonschema2pojo-library', version='1.0.0.RC1')
)
libraryDependencies += "com.github.ollgei.base" % "base-jsonschema2pojo-library" % "1.0.0.RC1"
[com.github.ollgei.base/base-jsonschema2pojo-library "1.0.0.RC1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.jsonschema2pojo : jsonschema2pojo-core jar 1.0.2
io.swagger : swagger-annotations jar 1.6.1
org.hibernate.validator : hibernate-validator jar 6.0.18.Final

Project Modules

There are no modules declared in this project.

base-swagger-annotator

swagger for jsonschema2pojo

使用

<plugin>
    <groupId>org.jsonschema2pojo</groupId>
    <artifactId>jsonschema2pojo-maven-plugin</artifactId>
    <dependencies>
        <dependency>
            <groupId>com.github.ollgei.base</groupId>
            <artifactId>base-jsonschema2pojo-library</artifactId>
            <version>1.0.0.RC1</version>
        </dependency>
        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>2.0.1.Final</version>
        </dependency>
    </dependencies>
    <configuration>
        <sourceType>jsonschema</sourceType>
        <sourceDirectory>${basedir}/../fd-json-schema/statemachine</sourceDirectory>
        <targetPackage>com.lunz.fin.fd.statemachine.pojo</targetPackage>
        <targetLanguage>java</targetLanguage>
        <annotationStyle>jackson2</annotationStyle>
        <includeAdditionalProperties>false</includeAdditionalProperties>
        <includeJsr303Annotations>true</includeJsr303Annotations>
        <serializable>true</serializable>
        <classNameSuffix>Dto</classNameSuffix>
        <customAnnotator>com.github.ollgei.base.jsonschema2pojo.annotator.SwaggerAnnotator</customAnnotator>
        <customRuleFactory>com.github.ollgei.base.jsonschema2pojo.SpecPojoRuleFactory</customRuleFactory>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Versions

Version
1.0.0.RC1