Skip to content

Commit

Permalink
Releasing 0.8.13
Browse files Browse the repository at this point in the history
  • Loading branch information
sockeqwe committed Sep 7, 2017
1 parent af7517c commit 0730e00
Show file tree
Hide file tree
Showing 16 changed files with 176 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .buildscript/deploy_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
15 changes: 15 additions & 0 deletions Releasing.md
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 6 additions & 1 deletion annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -46,6 +46,11 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion annotationprocessingtesting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 5 additions & 1 deletion autovalue/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -156,6 +156,10 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
3 changes: 2 additions & 1 deletion benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -121,6 +121,7 @@
</configuration>
</plugin>


</plugins>
</build>

Expand Down
6 changes: 5 additions & 1 deletion converters/date-rfc3339/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>converters</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -71,6 +71,10 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 5 additions & 1 deletion converters/htmlescape/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>converters</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -71,6 +71,10 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion converters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
7 changes: 6 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -78,6 +78,11 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>

</plugins>
</build>

Expand Down
59 changes: 57 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<groupId>com.tickaroo.tikxml</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
<modules>
<module>core</module>
<module>annotation</module>
Expand All @@ -62,7 +62,7 @@
<junit.version>4.12</junit.version>
<assertj.version>1.7.0</assertj.version>


<gpg.keyname>E1FB7CBA</gpg.keyname>
</properties>

<scm>
Expand Down Expand Up @@ -189,6 +189,38 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<configuration>
<keyname>${gpg.keyname}</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>0.9.15</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>dokka</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</pluginManagement>

Expand Down Expand Up @@ -264,6 +296,10 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -294,6 +330,25 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>

<pluginRepository>
<id>jcenter</id>
<name>JCenter</name>
<url>https://jcenter.bintray.com/</url>
</pluginRepository>

</pluginRepositories>


<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

</project>
12 changes: 11 additions & 1 deletion processor-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -96,6 +96,16 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>


<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>

</build>
Expand Down
7 changes: 6 additions & 1 deletion processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.tickaroo.tikxml</groupId>
<version>0.8.12-SNAPSHOT</version>
<version>0.8.14-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -176,6 +176,11 @@
</configuration>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>

</build>
Expand Down
27 changes: 27 additions & 0 deletions releaseSettings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
~ Copyright (C) 2015 Hannes Dorfmann
~ Copyright (C) 2015 Tickaroo, Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ 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.
~
-->

<settings>
<servers>
<server>
<id>ossrh</id>
<username>tickaroo</username>
<password>${tickaroo.password}</password> <!-- passed as command line parameter -->
</server>
</servers>
</settings>
Loading

0 comments on commit 0730e00

Please sign in to comment.