Loading README.md +5 −12 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ Jackson jsonSchema Generator This projects aims to do a better job than the original [jackson-module-jsonSchema](https://github.com/FasterXML/jackson-module-jsonSchema) in generating jsonSchema from your POJOs using Jackson @Annotations. Current version: *1.0.0-build-8-SNAPSHOT* **Highlights** * JSON Schema Draft v4 Loading Loading @@ -37,35 +39,26 @@ I would really appreciate it if other developers wanted to start using and contr Dependency =================== The project is currently not published to any repo yet, so you have to clone it and build it your self using sbt. This project publishes artifacts to central maven repo. Using Maven ----------------- Build is using sbt: sbt publishM2 Add this to you pom.xml: <dependency> <groupId>com.kjetland</groupId> <artifactId>mbknor-jackson-jsonschema_2.11</artifactId> <version><!-- INSERT VERSiON HERE --></version> <version>1.0.0-build-8-SNAPSHOT</version> </dependency> Using sbt ------------ Build is using sbt: sbt publish Add this to you sbt build-config: "com.kjetland" % "mbknor-jackson-jsonschema" %% <!-- INSERT VERSiON HERE --> "com.kjetland" % "mbknor-jackson-jsonschema" %% "1.0.0-build-8-SNAPSHOT" Code Loading build.sbt +10 −10 Original line number Diff line number Diff line Loading @@ -6,21 +6,21 @@ lazy val commonSettings = Seq( scalaVersion := "2.11.8", publishMavenStyle := true, publishArtifact in Test := false, // publishTo := { // val nexus = "http://nexus.nextgentel.net/content/repositories/" // if (isSnapshot.value) // Some("snapshots" at nexus + "snapshots/") // else // Some("releases" at nexus + "thirdparty/") // }, publishTo := { val nexus = "http://nexus.nextgentel.net/content/repositories/" val nexus = "https://oss.sonatype.org/" if (isSnapshot.value) Some("snapshots" at nexus + "snapshots/") Some("snapshots" at nexus + "content/repositories/snapshots") else Some("releases" at nexus + "thirdparty/") Some("releases" at nexus + "service/local/staging/deploy/maven2") }, credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"), // publishTo := { // val nexus = "https://oss.sonatype.org/" // if (isSnapshot.value) // Some("snapshots" at nexus + "content/repositories/snapshots") // else // Some("releases" at nexus + "service/local/staging/deploy/maven2") // }, homepage := Some(url("https://github.com/mbknor/mbknor-jackson-jsonSchema")), licenses := Seq("MIT" -> url("https://github.com/mbknor/mbknor-jackson-jsonSchema/blob/master/LICENSE.txt")), startYear := Some(2016), Loading Loading
README.md +5 −12 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ Jackson jsonSchema Generator This projects aims to do a better job than the original [jackson-module-jsonSchema](https://github.com/FasterXML/jackson-module-jsonSchema) in generating jsonSchema from your POJOs using Jackson @Annotations. Current version: *1.0.0-build-8-SNAPSHOT* **Highlights** * JSON Schema Draft v4 Loading Loading @@ -37,35 +39,26 @@ I would really appreciate it if other developers wanted to start using and contr Dependency =================== The project is currently not published to any repo yet, so you have to clone it and build it your self using sbt. This project publishes artifacts to central maven repo. Using Maven ----------------- Build is using sbt: sbt publishM2 Add this to you pom.xml: <dependency> <groupId>com.kjetland</groupId> <artifactId>mbknor-jackson-jsonschema_2.11</artifactId> <version><!-- INSERT VERSiON HERE --></version> <version>1.0.0-build-8-SNAPSHOT</version> </dependency> Using sbt ------------ Build is using sbt: sbt publish Add this to you sbt build-config: "com.kjetland" % "mbknor-jackson-jsonschema" %% <!-- INSERT VERSiON HERE --> "com.kjetland" % "mbknor-jackson-jsonschema" %% "1.0.0-build-8-SNAPSHOT" Code Loading
build.sbt +10 −10 Original line number Diff line number Diff line Loading @@ -6,21 +6,21 @@ lazy val commonSettings = Seq( scalaVersion := "2.11.8", publishMavenStyle := true, publishArtifact in Test := false, // publishTo := { // val nexus = "http://nexus.nextgentel.net/content/repositories/" // if (isSnapshot.value) // Some("snapshots" at nexus + "snapshots/") // else // Some("releases" at nexus + "thirdparty/") // }, publishTo := { val nexus = "http://nexus.nextgentel.net/content/repositories/" val nexus = "https://oss.sonatype.org/" if (isSnapshot.value) Some("snapshots" at nexus + "snapshots/") Some("snapshots" at nexus + "content/repositories/snapshots") else Some("releases" at nexus + "thirdparty/") Some("releases" at nexus + "service/local/staging/deploy/maven2") }, credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"), // publishTo := { // val nexus = "https://oss.sonatype.org/" // if (isSnapshot.value) // Some("snapshots" at nexus + "content/repositories/snapshots") // else // Some("releases" at nexus + "service/local/staging/deploy/maven2") // }, homepage := Some(url("https://github.com/mbknor/mbknor-jackson-jsonSchema")), licenses := Seq("MIT" -> url("https://github.com/mbknor/mbknor-jackson-jsonSchema/blob/master/LICENSE.txt")), startYear := Some(2016), Loading