Skip to content

Commit

Permalink
Convert to Java
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Dubinsky committed Jan 12, 2022
1 parent e370f80 commit 7273222
Show file tree
Hide file tree
Showing 107 changed files with 3,804 additions and 4,018 deletions.
89 changes: 0 additions & 89 deletions build.sbt

This file was deleted.

168 changes: 168 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>net.almson</groupId>
<artifactId>mbknor-jackson-jsonschema-java</artifactId>
<version>1.0.39</version>
<packaging>jar</packaging>

<description>mbknor-jackson-jsonSchema</description>
<url>https://github.com/mbknor/mbknor-jackson-jsonSchema</url>
<licenses>
<license>
<name>MIT</name>
<url>https://github.com/mbknor/mbknor-jackson-jsonSchema/blob/master/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<name>mbknor-jackson-jsonSchema</name>
<inceptionYear>2016</inceptionYear>
<organization>
<name>mbknor</name>
<url>https://github.com/mbknor/mbknor-jackson-jsonSchema</url>
</organization>
<scm>
<url>[email protected]:almson/mbknor-jackson-jsonSchema-java.git</url>
<connection>scm:git:[email protected]:almson/mbknor-jackson-jsonSchema-java.git</connection>
</scm>
<developers>
<developer>
<id>mbknor</id>
<name>Morten Kjetland</name>
<url>https://github.com/mbknor</url>
</developer>
<developer>
<id>almson</id>
<name>Aleksandr Dubinsky</name>
<url>https://github.com/almson</url>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson-version>2.13.0</jackson-version>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-version}</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.32</version>
</dependency>
<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.138</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.32</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.java-json-tools</groupId>
<artifactId>json-schema-validator</artifactId>
<version>2.2.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
<version>${jackson-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>${jackson-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 0 additions & 1 deletion project/build.properties

This file was deleted.

7 changes: 0 additions & 7 deletions project/plugins.sbt

This file was deleted.

3 changes: 0 additions & 3 deletions release-howto.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.kjetland.jackson.jsonSchema;

import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider;

abstract class AbstractJsonFormatVisitorWithSerializerProvider implements JsonFormatVisitorWithSerializerProvider {

SerializerProvider provider;

@Override
public SerializerProvider getProvider() {
return provider;
}

@Override
public void setProvider(SerializerProvider provider) {
this.provider = provider;
}
}
Loading

0 comments on commit 7273222

Please sign in to comment.