1+ organization := " com.okumin"
2+
13name := " akka-persistence-sql-async"
24
35version := " 0.1"
46
7+ scalaVersion := " 2.11.2"
8+
9+ crossScalaVersions := Seq (" 2.10.4" , " 2.11.2" )
10+
511val akkaVersion = " 2.3.6"
6- val mauricioVersion = " 0.2.14 "
12+ val mauricioVersion = " 0.2.15 "
713
814libraryDependencies ++= Seq (
915 " com.typesafe.akka" %% " akka-actor" % akkaVersion,
@@ -16,3 +22,39 @@ libraryDependencies ++= Seq(
1622 " com.typesafe.akka" %% " akka-testkit" % akkaVersion % " test" ,
1723 " org.slf4j" % " slf4j-log4j12" % " 1.7.7" % " test"
1824)
25+
26+ publishMavenStyle := true
27+
28+ publishArtifact in Test := false
29+
30+ pomIncludeRepository := { _ => false }
31+
32+ publishTo <<= version { (v : String ) =>
33+ val nexus = " https://oss.sonatype.org/"
34+ if (v.trim.endsWith(" SNAPSHOT" ))
35+ Some (" snapshots" at nexus + " content/repositories/snapshots" )
36+ else
37+ Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
38+ }
39+
40+ pomExtra := (
41+ <url >https:// github.com/ okumin/ akka- persistence- sql- async</url >
42+ <licenses >
43+ <license >
44+ <name >Apache 2 License </name >
45+ <url >http:// www.apache.org/ licenses/ LICENSE - 2.0 .html</url >
46+ <distribution >repo</distribution >
47+ </license >
48+ </licenses >
49+ <scm >
50+ <url >git@ github.com: okumin/ akka- persistence- sql- async.git</url >
51+ <connection >scm: git: git@ github.com: okumin/ akka- persistence- sql- async.git</connection >
52+ </scm >
53+ <developers >
54+ <developer >
55+ <id >okumin</id >
56+ <name >okumin</name >
57+ <url >http:// okumin.com/</ url>
58+ </developer >
59+ </developers >
60+ )
0 commit comments