Skip to content

Commit 79c0e81

Browse files
authored
Sonatype (#92)
1 parent b2830f7 commit 79c0e81

File tree

7 files changed

+110
-27
lines changed

7 files changed

+110
-27
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
language: java
22
jdk:
3-
- oraclejdk8
4-
dist: trusty
3+
- openjdk8
4+
dist: bionic
5+
before_install:
6+
- openssl aes-256-cbc -K $encrypted_8f2a81d544cc_key -iv $encrypted_8f2a81d544cc_iv -in travis/pubring.gpg.enc -out travis/pubring.gpg -d
7+
- openssl aes-256-cbc -K $encrypted_5c292d804727_key -iv $encrypted_5c292d804727_iv -in travis/secring.gpg.enc -out travis/secring.gpg -d
58
script:
69
- mvn verify
710
after_success:
811
- mvn coveralls:report
9-
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_BRANCH}" != "master" && mvn deploy --settings travis/settings.xml
12+
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_TAG}" != "" && mvn deploy --settings travis/settings.xml -DskipTests=true -Possrh -Prelease
1013
cache:
1114
directories:
1215
- "~/.m2"
@@ -16,5 +19,7 @@ branches:
1619
- "/^bullet-core-[0-9]+\\.[0-9]+\\.[0-9]+/"
1720
env:
1821
global:
19-
- secure: KZWcR5Gp4vJhBonhd3FrSOCOSeAika+7LE64YlluE2nEpslOlZzZo1hc93YShnitEZHIgXofkcUMY6yFOmYwXMWPMztk/3shs+eEM7mohTWNvtsWGUeJjtYqYjy84JAumc5FkydXdlPCoUXGkgknSKFiS1YuHdHVgggDjdV7Gbp6WTR+bAV47WlAPqSp1G+7RDXpI/Z6tfNsnuLhXfRtJIOKq+gk/OagAjNx/TV/wXwzRNL2eT22FZSd0Q5YC8MSi06bhJa/UXe/wbocbgPj1REEMq4TdT2onOS8TcTP66A2no/Q++RuFIrQE8rs5CEK6TaOWAgmFcdfiSjr04c7IIRTuCcwnGTVkLhafyqqg5HShKaZdU9BMIyUaKEi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ci9HCO5fv5ZG9rAfUUtGgj0/VNTuX04qVHol1a0gbqILJm+Tcf7M3QJNwAWr4K3ZjReBen9VnY50St6gAswuwhALOb5s+tO2xuiZvpE7omJ5XtQHM+wvotJqmMHRTpzgE7w5TGO6MfnoLir+1P6FqY3LUqLh+OjRjUrGURNXjEQbTav1p/g9+Gm8Yg9U4ORVUy5jHOTjJUmMsILQuzqqVLB//SR0f56s37Q58cvTmYkzAZM=
25+
- secure: P0pNNlkZiTE5Kv3sx7ZXm0g9veNaMKRVd5hz+HiYeIKxlyMubl80QL2iB3KLdbtCKt0E5OlA71aBOUpURk6N10HTqlxa6QJH48qW8QBbX68qqz7LP7JcjjK0Z0rYMu1+OZZfpGlSL2FY3KMPNtyzg9b2aEmeFjlvbm55NeNhxC8JVFO8oxkMOkIVOoHWLNRl/I2IG/bTkrJfFXPdUiJPQfYYp6UwAzPgwP4sTSq95a/7VjyEiLERAUrN4DT8h7Si2J/Qc3AEdpC9y60y0JkYfiEKBwSK0DT1qNEsVOiXkphILosp8ARdYgF2DZw5MpVpn5R38Q4Dq1SzITAEHA4h9WAyCzo6BFvTblTX32/bIidYBZIkwwxFC1UhDwQQI2X4iVx0GTN9Folpt02TL7eEJHIQ5hYOxHDFMW91ZwTQAW9HslA4Je4xKDSQ+qVKlQwVe+T8wm9qF75dWed6c0S9Nc7vIXHXZ6JpYzfLBlQGlGn1kxVuvWuH3uwah6Q/FXlQmDRqjchlflFV96mD/SSfKVgH+TLaBWC1rAVaSOsl3Uep513YhVkmWXqTSRU1MCatINJ8h/GLVIE5T9whzY8kklCG46UAuzJeKhQ4WaYtZtmG/QrctHZ0S7ipPPLCAlgEh6TvXZRKw43Jb/syKyKxT4Fsxk37oXaKI1WxMxroqGw=

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jar:
1313
mvn clean package
1414

1515
release:
16-
mvn -B release:prepare release:clean && git checkout `git describe --abbrev=0` -b `git describe --abbrev=0` && git push -u origin HEAD && git checkout master && git pull
16+
mvn -B release:prepare release:clean
1717

1818
coverage:
1919
mvn clean clover2:setup test clover2:aggregate clover2:clover

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Bullet Core
22

3-
[![Build Status](https://travis-ci.com/bullet-db/bullet-core.svg?branch=master)](https://travis-ci.com/bullet-db/bullet-core) [![Coverage Status](https://coveralls.io/repos/github/bullet-db/bullet-core/badge.svg?branch=master)](https://coveralls.io/github/bullet-db/bullet-core?branch=master) [![Download](https://api.bintray.com/packages/yahoo/maven/bullet-core/images/download.svg) ](https://bintray.com/yahoo/maven/bullet-core/_latestVersion)
3+
[![Build Status](https://travis-ci.com/bullet-db/bullet-core.svg?branch=master)](https://travis-ci.com/bullet-db/bullet-core) [![Coverage Status](https://coveralls.io/repos/github/bullet-db/bullet-core/badge.svg?branch=master)](https://coveralls.io/github/bullet-db/bullet-core?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-core/)
44

55
Bullet is a streaming query engine that can be plugged into any singular data stream using a Stream Processing framework like Apache [Storm](https://storm.apache.org), [Spark](https://spark.apache.org) or [Flink](https://flink.apache.org). It lets you run queries on this data stream - including hard queries like Count Distincts, Top K etc.
66

pom.xml

Lines changed: 78 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,50 @@
77
<version>1.2.2-SNAPSHOT</version>
88
<packaging>jar</packaging>
99
<name>bullet-core</name>
10+
<description>
11+
This is the core library that powers various components for Bullet - a real-time data query engine.
12+
</description>
13+
<url>https://github.com/bullet-db/bullet-core</url>
1014

11-
<scm>
12-
<developerConnection>scm:git:ssh://git@github.com/bullet-db/bullet-core.git</developerConnection>
13-
<tag>HEAD</tag>
14-
</scm>
15+
<licenses>
16+
<license>
17+
<name>Apache License, Version 2.0</name>
18+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
19+
</license>
20+
</licenses>
1521

1622
<distributionManagement>
23+
<snapshotRepository>
24+
<id>ossrh</id>
25+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
26+
</snapshotRepository>
1727
<repository>
18-
<id>bintray-bullet-core-repo</id>
19-
<url>https://api.bintray.com/maven/yahoo/maven/bullet-core;publish=1</url>
28+
<id>ossrh</id>
29+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
2030
</repository>
2131
</distributionManagement>
2232

23-
<repositories>
24-
<repository>
25-
<snapshots>
26-
<enabled>false</enabled>
27-
</snapshots>
28-
<id>bintray-yahoo-maven</id>
29-
<name>bintray</name>
30-
<url>http://dl.bintray.com/yahoo/maven</url>
31-
</repository>
32-
</repositories>
33+
<scm>
34+
<url>https://github.com/bullet-db/bullet-core</url>
35+
<connection>scm:git:ssh://git@github.com/bullet-db/bullet-core.git</connection>
36+
<developerConnection>scm:git:ssh://git@github.com/bullet-db/bullet-core.git</developerConnection>
37+
<tag>HEAD</tag>
38+
</scm>
39+
40+
<developers>
41+
<developer>
42+
<name>Bullet Developers</name>
43+
<email>bullet-dev@googlegroups.com</email>
44+
<organization>Yahoo Inc.</organization>
45+
<organizationUrl>https://github.com/bullet-db</organizationUrl>
46+
</developer>
47+
</developers>
3348

3449
<properties>
3550
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3651
<maven.compiler.source>1.8</maven.compiler.source>
3752
<maven.compiler.target>1.8</maven.compiler.target>
38-
<bullet.record.version>1.1.0</bullet.record.version>
53+
<bullet.record.version>1.1.1</bullet.record.version>
3954
<sketches.version>0.9.1</sketches.version>
4055
</properties>
4156

@@ -246,4 +261,50 @@
246261
</plugin>
247262
</plugins>
248263
</build>
264+
265+
<profiles>
266+
<profile>
267+
<id>release</id>
268+
<activation>
269+
<property>
270+
<name>release</name>
271+
</property>
272+
</activation>
273+
<build>
274+
<plugins>
275+
<plugin>
276+
<groupId>org.apache.maven.plugins</groupId>
277+
<artifactId>maven-gpg-plugin</artifactId>
278+
<version>1.6</version>
279+
<executions>
280+
<execution>
281+
<id>sign-artifacts</id>
282+
<phase>verify</phase>
283+
<goals>
284+
<goal>sign</goal>
285+
</goals>
286+
<configuration>
287+
<gpgArguments>
288+
<arg>--pinentry-mode</arg>
289+
<arg>loopback</arg>
290+
</gpgArguments>
291+
</configuration>
292+
</execution>
293+
</executions>
294+
</plugin>
295+
<plugin>
296+
<groupId>org.sonatype.plugins</groupId>
297+
<artifactId>nexus-staging-maven-plugin</artifactId>
298+
<version>1.6.8</version>
299+
<extensions>true</extensions>
300+
<configuration>
301+
<serverId>ossrh</serverId>
302+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
303+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
304+
</configuration>
305+
</plugin>
306+
</plugins>
307+
</build>
308+
</profile>
309+
</profiles>
249310
</project>

travis/pubring.gpg.enc

2.23 KB
Binary file not shown.

travis/secring.gpg.enc

4.84 KB
Binary file not shown.

travis/settings.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
22
<servers>
33
<server>
4-
<id>bintray-bullet-core-repo</id>
5-
<username>${env.BINTRAY_USER}</username>
6-
<password>${env.BINTRAY_API_KEY}</password>
4+
<id>ossrh</id>
5+
<username>${env.SONATYPE_USERNAME}</username>
6+
<password>${env.SONATYPE_PASSWORD}</password>
77
</server>
88
</servers>
9+
10+
<profiles>
11+
<profile>
12+
<id>ossrh</id>
13+
<activation>
14+
<activeByDefault>true</activeByDefault>
15+
</activation>
16+
<properties>
17+
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
18+
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
19+
<gpg.defaultKeyring>false</gpg.defaultKeyring>
20+
<gpg.homedir>${env.TRAVIS_BUILD_DIR}/travis</gpg.homedir>
21+
<gpg.publickeyring>pubring.gpg</gpg.publickeyring>
22+
<gpg.secretkeyring>secring.gpg</gpg.secretkeyring>
23+
</properties>
24+
</profile>
25+
</profiles>
926
</settings>

0 commit comments

Comments
 (0)