diff --git a/.buildscript/deploy_snapshot.sh b/.buildscript/deploy_snapshot.sh
index 3b97bb9f..db2fac4a 100644
--- a/.buildscript/deploy_snapshot.sh
+++ b/.buildscript/deploy_snapshot.sh
@@ -22,6 +22,6 @@ elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then
echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'."
else
echo "Deploying snapshot..."
- mvn clean source:jar javadoc:jar deploy --settings=".buildscript/settings.xml" -Dmaven.test.skip=true
+ mvn clean source:jar javadoc:jar deploy --settings=".buildscript/settings.xml" -Dmaven.test.skip=true Dgpg.skip
echo "Snapshot deployed!"
fi
\ No newline at end of file
diff --git a/README.md b/README.md
index bbb07d9a..86f25883 100644
--- a/README.md
+++ b/README.md
@@ -5,34 +5,34 @@ Please note that this is still **work in progress!**, although quite stable and
# TikXML
A fast xml parser for android (and java)
-Latest snapshot `0.8.12-SNAPSHOT` available:
-
-```groovy
-repositories {
- mavenCentral()
- maven {
- url 'http://oss.sonatype.org/content/repositories/snapshots'
- }
-}
-```
-
```groovy
-compile 'com.tickaroo.tikxml:annotation:0.8.12-SNAPSHOT'
-compile 'com.tickaroo.tikxml:core:0.8.12-SNAPSHOT'
+compile 'com.tickaroo.tikxml:annotation:0.8.13'
+compile 'com.tickaroo.tikxml:core:0.8.13'
-apt 'com.tickaroo.tikxml:processor:0.8.12-SNAPSHOT'
+apt 'com.tickaroo.tikxml:processor:0.8.13'
```
For retrofit2:
```groovy
-compile 'com.tickaroo.tikxml:retrofit-converter:0.8.12-SNAPSHOT'
+compile 'com.tickaroo.tikxml:retrofit-converter:0.8.13'
```
Also, an [AutoValue](https://github.com/google/auto/tree/master/value) extension is available:
```groovy
-apt 'com.tickaroo.tikxml:auto-value-tikxml:0.8.12-SNAPSHOT'
+apt 'com.tickaroo.tikxml:auto-value-tikxml:0.8.13'
+```
+
+Latest snapshot `0.8.14-SNAPSHOT` available:
+
+```groovy
+repositories {
+ mavenCentral()
+ maven {
+ url 'http://oss.sonatype.org/content/repositories/snapshots'
+ }
+}
```
# Documentation
@@ -62,3 +62,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
+
+
+#### Releaseing on Maven central
+
+If you are a Tickaroo employee and you want to release a new version on maven central,
+take a look [at this document](https://github.com/Tickaroo/tikxml/Releasing.md)
\ No newline at end of file
diff --git a/Releasing.md b/Releasing.md
new file mode 100644
index 00000000..d5eb8ba5
--- /dev/null
+++ b/Releasing.md
@@ -0,0 +1,15 @@
+# Releasing
+
+## Version
+
+- Ensure that the public / private key pair to sign the artifacts are installed on your local machine. Ask Hannes or Andi where to get it from.
+- From command line run the following commands.
+ ````
+ mvn clean source:jar javadoc:jar dokka:javadocJar deploy --settings="releaseSettings.xml" -Dtickaroo.password=secretPassword -Dgpg.passphrase=secredPassphraseOfSigningKey
+ ````
+- Login into [https://oss.sonatype.org/](https://oss.sonatype.org/) with tickaroo account (username=tickaroo, password same as in -Dtickaroo.password=secretPassword), then go into "Staging Repositories" and close and release the repository to finally publish the artifacts on maven central.
+
+
+## Snapshots
+Travis CI is already configured to publish snapshots of every git commit / push to master branch.
+Note that for snapshot, signing of artifacts is not required.
\ No newline at end of file
diff --git a/annotation/pom.xml b/annotation/pom.xml
index e6ff4328..c544d77b 100644
--- a/annotation/pom.xml
+++ b/annotation/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -46,6 +46,11 @@
-Xdoclint:none
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
diff --git a/annotationprocessingtesting/pom.xml b/annotationprocessingtesting/pom.xml
index bbee5e05..7d6beff9 100644
--- a/annotationprocessingtesting/pom.xml
+++ b/annotationprocessingtesting/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
diff --git a/autovalue/pom.xml b/autovalue/pom.xml
index 43b98852..72acd348 100644
--- a/autovalue/pom.xml
+++ b/autovalue/pom.xml
@@ -5,7 +5,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -156,6 +156,10 @@
-Xdoclint:none
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
diff --git a/benchmark/pom.xml b/benchmark/pom.xml
index 059dc8fc..2679f834 100644
--- a/benchmark/pom.xml
+++ b/benchmark/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -121,6 +121,7 @@
+
diff --git a/converters/date-rfc3339/pom.xml b/converters/date-rfc3339/pom.xml
index c69658f9..475a1db4 100644
--- a/converters/date-rfc3339/pom.xml
+++ b/converters/date-rfc3339/pom.xml
@@ -23,7 +23,7 @@
converters
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -71,6 +71,10 @@
-Xdoclint:none
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
diff --git a/converters/htmlescape/pom.xml b/converters/htmlescape/pom.xml
index 6195822f..119f11e4 100644
--- a/converters/htmlescape/pom.xml
+++ b/converters/htmlescape/pom.xml
@@ -23,7 +23,7 @@
converters
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -71,6 +71,10 @@
-Xdoclint:none
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
diff --git a/converters/pom.xml b/converters/pom.xml
index 823f7b61..2ce2cff7 100644
--- a/converters/pom.xml
+++ b/converters/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
diff --git a/core/pom.xml b/core/pom.xml
index 8a71e9fc..2a09ad4b 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -78,6 +78,11 @@
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
+
diff --git a/pom.xml b/pom.xml
index 5aa804ef..586019fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,7 @@
com.tickaroo.tikxml
parent
pom
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
core
annotation
@@ -62,7 +62,7 @@
4.12
1.7.0
-
+ E1FB7CBA
@@ -189,6 +189,38 @@
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+ ${gpg.keyname}
+
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+ org.jetbrains.dokka
+ dokka-maven-plugin
+ 0.9.15
+
+
+ pre-site
+
+ dokka
+
+
+
+
+
@@ -264,6 +296,10 @@
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
@@ -294,6 +330,25 @@
true
+
+
+ jcenter
+ JCenter
+ https://jcenter.bintray.com/
+
+
+
+
+
+ ossrh
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ ossrh
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
\ No newline at end of file
diff --git a/processor-common/pom.xml b/processor-common/pom.xml
index b74e1e1b..2ec3e632 100644
--- a/processor-common/pom.xml
+++ b/processor-common/pom.xml
@@ -5,7 +5,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -96,6 +96,16 @@
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
+
+
+
+ org.jetbrains.dokka
+ dokka-maven-plugin
+
diff --git a/processor/pom.xml b/processor/pom.xml
index de747818..7015ed1e 100644
--- a/processor/pom.xml
+++ b/processor/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -176,6 +176,11 @@
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
diff --git a/releaseSettings.xml b/releaseSettings.xml
new file mode 100644
index 00000000..3aa18b67
--- /dev/null
+++ b/releaseSettings.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+ ossrh
+ tickaroo
+ ${tickaroo.password}
+
+
+
\ No newline at end of file
diff --git a/retrofit-converter/pom.xml b/retrofit-converter/pom.xml
index 9555727c..ad063321 100644
--- a/retrofit-converter/pom.xml
+++ b/retrofit-converter/pom.xml
@@ -23,7 +23,7 @@
parent
com.tickaroo.tikxml
- 0.8.12-SNAPSHOT
+ 0.8.14-SNAPSHOT
4.0.0
@@ -95,6 +95,11 @@
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
+