From d2af8dda0662f3aa3b057e4edf7c91200b9a2e18 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Wed, 21 Oct 2015 00:18:24 +0200 Subject: [PATCH] added a Maven badge --- README.md | 3 ++- build.sbt | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6d5a4a..885ee05 100755 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Stochastic Outlier Selection on Apache Spark [![Codacy Badge](https://www.codacy.com/project/badge/9069624e46ac4d97bb19a34705f95965)](https://www.codacy.com) [![Build Status](https://travis-ci.org/Fokko/spark-stochastic-outlier-selection.svg?branch=master)](https://travis-ci.org/Fokko/spark-stochastic-outlier-selection) [![Coverage Status](https://coveralls.io/repos/Fokko/spark-stochastic-outlier-selection/badge.svg?branch=master&service=github)](https://coveralls.io/github/Fokko/spark-stochastic-outlier-selection?branch=master) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/frl.driesprong/spark-stochastic-outlier-selection_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/frl.driesprong/spark-stochastic-outlier-selection_2.11) Stochastic Outlier Selection (SOS) is an unsupervised outlier selection algorithm. It uses the concept of affinity to compute an outlier probability for each data point. @@ -14,4 +15,4 @@ Selecting outliers from data The current implementation accepts RDD's of the type `Array[Double]` and returns the indexes of the vector with it's degree of outlierness. -Current implementation only works with Euclidean distance, but this will be extended in the foreseeable future. \ No newline at end of file +Current implementation only works with Euclidean distance, but this will be extended in the foreseeable future. diff --git a/build.sbt b/build.sbt index 16a9e0e..4b6fe69 100755 --- a/build.sbt +++ b/build.sbt @@ -3,7 +3,6 @@ name := "Spark Stochastic Outlier Selection" version := "0.1.0" - publishTo := { val nexus = "https://oss.sonatype.org/" if (isSnapshot.value) @@ -12,6 +11,11 @@ publishTo := { Some("releases" at nexus + "service/local/staging/deploy/maven2") } +lazy val core = (project in file(".")).settings( + organization := "frl.driesprong" + //other properties here +) + publishMavenStyle := true publishArtifact in Test := false