diff --git a/README.md b/README.md index e1618f9..5aec649 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,23 @@ Hibernate's MultiTableBulkIdStrategy for Hibernate using using just a single pre Can be useful in environments where DDL statements cannot be executed from application and managing a large number of ID tables is not practical. ## How to use -1. Build this project and add it as a dependency. +1. Add a dependency to your project. For Maven, use the following: + + ```xml + + com.github.grimsa.hibernate + single-table-bulk-id-strategy + 1.0 + + ``` + For Gradle: + + ``` + dependencies { + compile 'com.github.grimsa.hibernate:single-table-bulk-id-strategy:1.0' + } + ``` + 1. Create a shared global temporary table, e.g. ``` @@ -19,6 +35,6 @@ Can be useful in environments where DDL statements cannot be executed from appli configuration.setProperty(SingleGlobalTemporaryTableBulkIdStrategy.CLEAN_ROWS, "true"); ``` -## Versions -* Hibernate 5.1.0 -* JDK 1.8 +## Release history + +* 1.0 released 2016-09-29. Requires Hibernate 5.1 and JDK 1.8 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2fc775d..502961d 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,34 @@ 4.0.0 - lt.grimsa.hibernate + com.github.grimsa.hibernate single-table-bulk-id-strategy 1.0 + ${project.groupId}:${project.artifactId} + Single Table Bulk ID Strategy for Hibernate + https://github.com/grimsa/hibernate-single-table-bulk-id-strategy + + + scm:git:https://github.com/grimsa/hibernate-single-table-bulk-id-strategy.git + scm:git:git@github.com:grimsa/hibernate-single-table-bulk-id-strategy.git + https://github.com/grimsa/hibernate-single-table-bulk-id-strategy + + + + + Public domain (Unlicense) + http://unlicense.org/ + repo + + + + + + Gediminas Rimsa + gediminas.rimsa@gmail.com + + + UTF-8 1.8 @@ -19,8 +44,6 @@ provided - - org.hibernate hibernate-testing @@ -43,4 +66,69 @@ + + + release + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + false + + + + + + + \ No newline at end of file