From 3c3c70234bf214b8717d72c83ff1e50fccccc7b6 Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 19 Jun 2015 19:18:16 +0200 Subject: [PATCH] Added readme.md --- .gitignore | 2 -- build.md | 21 +++++++++++---------- pom.xml | 1 - readme.md | 40 ++++++++++++++++++++++++++++++++++++++++ versions.md | 6 ------ 5 files changed, 51 insertions(+), 19 deletions(-) create mode 100644 readme.md delete mode 100644 versions.md diff --git a/.gitignore b/.gitignore index c20bedf..bf480a5 100644 --- a/.gitignore +++ b/.gitignore @@ -20,8 +20,6 @@ pom.xml.versionsBackup # Ignore copyed site resource /src/site/markdown/build.md /src/site/markdown/todo.md -/src/site/markdown/versions.md -/src/site/markdown/authors.md # Ignore binary files and formats *.o diff --git a/build.md b/build.md index 8a333c1..1f1dbcc 100644 --- a/build.md +++ b/build.md @@ -5,33 +5,34 @@ * java sdk 1.8 or higher. * maven 3 or higher. +* Commands are runned in project root folder. + +## Tests + +### Run tests normal +mvn clean test + +### Run tests with jacoco +mvn -Ptpquery-test-jacoco clean test ## Create build artifacts - -cd project-root/; mvn -Ptpquery-build clean package; ## Change pom.xml versions - -cd project-root/; mvn versions:set -DnewVersion=2.3.4-SNAPSHOT ## Make release build - -cd project-root/; mvn -Ptpquery-build clean package; mvn -B -Dusername=(scm_username) clean install release:clean release:prepare release:perform; ## Make site +mvn -Ptpquery-test-jacoco clean test +mvn -Ptpquery-build-site site:site -cd project-root/; -mvn -Ptpquery-build-site clean install site:site Optional add -DstagingDirectory=/tmp/tpquery-build-fullsite And then manual upload. ## Check for dependency-updates - -cd project-root/; mvn versions:display-plugin-updates|grep ">"|uniq; mvn versions:display-dependency-updates|grep ">"|uniq; diff --git a/pom.xml b/pom.xml index 5d7e863..4ca4c80 100644 --- a/pom.xml +++ b/pom.xml @@ -328,7 +328,6 @@ Copy project markdown to site. - diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c163f70 --- /dev/null +++ b/readme.md @@ -0,0 +1,40 @@ +TPQuery +========= + +TPQuery is a java8 library providing templated prepared statements. + +## Installation + + Add maven deps; + + + net.forwardfire.tpquery + tpquery-store + x.x.x + compile + + +## Files in this package + +build.md - Developer build commands. +license.txt - The license of tpquery. +pom.xml - Maven specific build file. +readme.md - This file. +todo.md - Small todo list. +src - site source. +tpquery-executor-jdbc - Jdbc executor implementation. +tpquery-executor-jpa - JPA executor implementation. +tpquery-store - The query store library. + +## Contributing + +In lieu of a formal styleguide, take care to maintain the existing coding style. +Add unit tests for any new or changed functionality. Style and test your code. + +## Release History + +### Version x.x.0 +* First public release +* Fourth rewrite of idea. + + diff --git a/versions.md b/versions.md deleted file mode 100644 index 8e8d392..0000000 --- a/versions.md +++ /dev/null @@ -1,6 +0,0 @@ - -# TPQuery versions - -## Version x.x.0 -* First public release -* Fourth rewrite of idea.