Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: java
jdk:
- oraclejdk8
dist: trusty
- openjdk8
dist: bionic
before_install:
- openssl aes-256-cbc -K $encrypted_8f2a81d544cc_key -iv $encrypted_8f2a81d544cc_iv -in travis/pubring.gpg.enc -out travis/pubring.gpg -d
- openssl aes-256-cbc -K $encrypted_5c292d804727_key -iv $encrypted_5c292d804727_iv -in travis/secring.gpg.enc -out travis/secring.gpg -d
script:
- mvn verify
after_success:
- mvn coveralls:report
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_BRANCH}" != "master" && mvn deploy --settings travis/settings.xml
- test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_TAG}" != "" && mvn deploy --settings travis/settings.xml -DskipTests=true -Possrh -Prelease
cache:
directories:
- "~/.m2"
Expand All @@ -16,5 +19,7 @@ branches:
- "/^bullet-spark-[0-9]+\\.[0-9]+\\.[0-9]+/"
env:
global:
- secure: MEsZt40BaBrAcPlvBCdhZRpVRIcD6hwB0vzcsm6m7GRu/MkIyhBG700+OHkAlSBIUW9hXgQjuJCq3YbroEvaJvolmKK78koa77rEM3IlncR6M0QaHhNHyJCiVYeX7jBATVNgxyNxicMxpNvMGKb8vy5S+RXb8pGu+zBHNDH6c1G/xTQKGZC16Ygftk2gsXMb6lKpJ2B6/uDZigEKJCSc44lwdfP5k5Id+AcxLhnLsZEkdCydrboU1Wn0xHwvKHSW074IZ6d7HSLlKmDy/M6S+BMy5nPqn/A28WTHR0hS9MihFOqqMtAmFGPUT43arKXL68BRDOdwEAWi8Eh8iZADURgmOSpuk7semVj2U6JAa5Q9NvEcy/6y964D232fqb2XiLm96ErddlZB/ARJ4g6300xuLSbMEuog/00HUYjXUOBHMMW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kGImYJvyQjqlW8vLEGQJc99CyFKomtVEn0Nn4i9jNnfwjddfB2If+6CzJP6GaER4nR0MRkxiymRMnoFozOOr/KLu3DfgEb/NsJwqqSNvQ9tvhd9e5u0pc8jp1Y7aDxEASbmK+P31HaTw+DFaZM466d2rZGqxsc0=
- secure: CLOlKfSyAHo0iZFr70gPmKhRXa0FNktAWga3rwa6qyb0Zu/R22v2AZBxZYQEUCS/AJcGRiazK+MqbfQ0k+D5EKM94jIGAICoDeQaHOASTnk2krMfsE0XwYhKCTsBHueroAv0PS5hHZUMjoHnYsRFNppElx/cPEFl1uZvF/RSg9tiXyePQP3L2bVQ11/qFdQn5M+8QZd+yU7NVRYIIp6nPUPLP9ccPMAeEa1B+N7SdezrOmArB0fOf813EnuvVZ/aoWq+PXbTt2Uwkq9SAgJJFA2GBYDA7fmoWnzbStBDiDgLWVuSDh+zCVvh1DzXIfEHsB7ANO0pDomZpR/oPdNuSwvl07v7EjHY1dilVgiib/bgNTGz0qsW8UwHnVgYE8K+GHhQyT+YwKh4lpKHN0a5YCrLJtEGUgnYcdZGy//vYSL0I7Jm5GJYmX7UjLakykIdueTYeaFoJb0SgTPHJXsqewG14bs6SVz8JrlZDCe7AzpO+LRBx0Ntuk8z3u+r3PLiSZSpblMebgbUfeXJCg60Gbsv+k1FFu/zRlVFNokd++bV3NvueKd5RpCk9NNEYD7Y3bdxoOcm4SGRJoqCZgU6b0ADjc7XEvCZp1IwS0sAdkQrrziLM9IBW8On4u1RKxcUpyGgDAHUQNRxwEE6ZySDvfZCN5TYVJ/PPuuIVqVDRw4=
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jar:
mvn clean package

release:
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
mvn -B release:prepare release:clean

coverage:
mvn clean scoverage:report
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bullet Spark

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

## Introduction

Expand Down
98 changes: 80 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,44 @@
<packaging>jar</packaging>
<name>bullet-spark</name>

<scm>
<developerConnection>scm:git:ssh://git@github.com/bullet-db/bullet-spark.git</developerConnection>
<tag>HEAD</tag>
</scm>
<description>
This is the implementation of Bullet - a real-time query engine - in Apache Spark.
</description>
<url>https://github.com/bullet-db/bullet-spark</url>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>bintray-bullet-spark-repo</id>
<url>https://api.bintray.com/maven/yahoo/maven/bullet-spark;publish=1</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-yahoo-maven</id>
<name>bintray</name>
<url>http://yahoo.bintray.com/maven</url>
</repository>
</repositories>
<scm>
<url>https://github.com/bullet-db/bullet-spark</url>
<connection>scm:git:ssh://git@github.com/bullet-db/bullet-spark.git</connection>
<developerConnection>scm:git:ssh://git@github.com/bullet-db/bullet-spark.git</developerConnection>
<tag>HEAD</tag>
</scm>

<developers>
<developer>
<name>Bullet Developers</name>
<email>bullet-dev@googlegroups.com</email>
<organization>Yahoo Inc.</organization>
<organizationUrl>https://github.com/bullet-db</organizationUrl>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -38,8 +54,8 @@
<scala.dep.version>2.12</scala.dep.version>
<scoverage.plugin.version>1.3.0</scoverage.plugin.version>
<spark.version>3.0.1</spark.version>
<bullet.core.version>1.2.1</bullet.core.version>
<bullet.dsl.version>1.1.3</bullet.dsl.version>
<bullet.core.version>1.2.2</bullet.core.version>
<bullet.dsl.version>1.1.4</bullet.dsl.version>
<avro.version>1.9.2</avro.version>
<kafka.clients.version>2.6.0</kafka.clients.version>
<pulsar.client.version>2.2.1</pulsar.client.version>
Expand Down Expand Up @@ -319,4 +335,50 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Binary file added travis/pubring.gpg.enc
Binary file not shown.
Binary file added travis/secring.gpg.enc
Binary file not shown.
23 changes: 20 additions & 3 deletions travis/settings.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
<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">
<servers>
<server>
<id>bintray-bullet-spark-repo</id>
<username>${env.BINTRAY_USER}</username>
<password>${env.BINTRAY_API_KEY}</password>
<id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
</servers>

<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
<gpg.defaultKeyring>false</gpg.defaultKeyring>
<gpg.homedir>${env.TRAVIS_BUILD_DIR}/travis</gpg.homedir>
<gpg.publickeyring>pubring.gpg</gpg.publickeyring>
<gpg.secretkeyring>secring.gpg</gpg.secretkeyring>
</properties>
</profile>
</profiles>
</settings>