diff --git a/.deepsource.toml b/.deepsource.toml deleted file mode 100644 index 72ddf63..0000000 --- a/.deepsource.toml +++ /dev/null @@ -1,8 +0,0 @@ -version = 1 - -[[analyzers]] -name = "java" -enabled = true - - [analyzers.meta] - runtime_version = "11" \ No newline at end of file diff --git a/README.adoc b/README.adoc deleted file mode 100644 index b305fbe..0000000 --- a/README.adoc +++ /dev/null @@ -1,14 +0,0 @@ -# xbib Content - -image:https://api.travis-ci.org/xbib/content.svg[title="Build status", link="https://travis-ci.org/xbib/content/"] -image:https://img.shields.io/sonar/http/nemo.sonarqube.com/org.xbib%3Acontent/coverage.svg?style=flat-square[title="Coverage", link="https://sonarqube.com/dashboard/index?id=org.xbib%3Acontent"] -image:https://maven-badges.herokuapp.com/maven-central/org.xbib/content/badge.svg[title="Maven Central", link="http://search.maven.org/#search%7Cga%7C1%7Cxbib%20content"] -image:https://img.shields.io/badge/License-Apache%202.0-blue.svg[title="Apache License 2.0", link="https://opensource.org/licenses/Apache-2.0"] -image:https://img.shields.io/twitter/url/https/twitter.com/xbib.svg?style=social&label=Follow%20%40xbib[title="Twitter", link="https://twitter.com/xbib"] -image:https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif[title="PayPal", link="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GVHFQYZ9WZ8HG"] - -This is a Java library for processing structured data ("content") in the most popular formats, such as -JSON, SMILE-JSON, YAML, XML, CSV, and also semantic descriptions in RDF (N-Triples, Turtle, RDF/XML). - -xbib Content offers stream-based Java builders, parsers, and a settings API oder the formats, so it is very convenienant -to use. The only dependency is https://github.com/fasterxml/jackson[the Java Jackson library]. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ff0b6a2 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# xbib Content + +This is a Java library for processing structured data ("content") in the most popular formats, such as +JSON, SMILE-JSON, YAML, XML, CSV, and also semantic descriptions in RDF (N-Triples, Turtle, RDF/XML). + +xbib Content offers stream-based Java builders, parsers, and a settings API oder the formats, so it is very convenienant +to use. The only dependency is https://github.com/fasterxml/jackson[the Java Jackson library]. diff --git a/build.gradle b/build.gradle index 3101908..f06f425 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,6 @@ plugins { id "io.github.gradle-nexus.publish-plugin" version "1.3.0" id "com.github.spotbugs" version "5.0.14" id "org.cyclonedx.bom" version "1.7.2" - id "org.xbib.gradle.plugin.asciidoctor" version "2.5.2.2" } wrapper { @@ -16,14 +15,14 @@ wrapper { } ext { - user = 'xbib' + user = 'joerg' name = 'content' description = 'Content processing library for Java' inceptionYear = '2016' - url = 'https://github.com/' + user + '/' + name - scmUrl = 'https://github.com/' + user + '/' + name - scmConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git' - scmDeveloperConnection = 'scm:git:ssh://git@github.com:' + user + '/' + name + '.git' + url = 'https://xbib.org/' + user + '/' + name + scmUrl = 'https://xbib.org/' + user + '/' + name + scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git' + scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git' issueManagementSystem = 'Github' issueManagementUrl = ext.scmUrl + '/issues' licenseName = 'The Apache License, Version 2.0' @@ -41,4 +40,5 @@ subprojects { apply from: rootProject.file('gradle/publish/maven.gradle') } apply from: rootProject.file('gradle/publish/sonatype.gradle') +apply from: rootProject.file('gradle/publish/forgejo.gradle') apply from: rootProject.file('gradle/quality/cyclonedx.gradle') diff --git a/gradle/publish/forgejo.gradle b/gradle/publish/forgejo.gradle new file mode 100644 index 0000000..b99b2fb --- /dev/null +++ b/gradle/publish/forgejo.gradle @@ -0,0 +1,16 @@ +if (project.hasProperty('forgeJoToken')) { + publishing { + repositories { + maven { + url 'https://xbib.org/api/packages/joerg/maven' + credentials(HttpHeaderCredentials) { + name = "Authorization" + value = "token ${project.property('forgeJoToken')}" + } + authentication { + header(HttpHeaderAuthentication) + } + } + } + } +} diff --git a/settings.gradle b/settings.gradle index 3adaf59..5da4777 100644 --- a/settings.gradle +++ b/settings.gradle @@ -59,14 +59,3 @@ include 'settings-datastructures' include 'settings-datastructures-json' include 'settings-datastructures-yaml' include 'config' - -/* -gradle.wrapper.version = 7.4.2 -xbib.net.version = 2.1.1 -xbib-datastructures.version = 1.0.0 -jackson.version = 2.12.3 -woodstox.version = 6.2.6 -snakeyaml.version = 1.28 -mockito.version = 3.10.0 -asciidoclet.version = 1.5.6 - */ \ No newline at end of file