Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Commit 7af15ac

Browse files
committed
publish snapshot
1 parent e983088 commit 7af15ac

File tree

5 files changed

+606
-13
lines changed

5 files changed

+606
-13
lines changed

.gitignore

+78-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,78 @@
1-
/target
2-
/.scala_dependencies
3-
/.classpath
4-
/.settings
5-
/.project
6-
/lib_managed
7-
/bin
8-
/mavenrepo
1+
## generic files to ignore
2+
*~
3+
*.lock
4+
*.DS_Store
5+
*.swp
6+
*.out
7+
8+
# rails specific
9+
*.sqlite3
10+
config/database.yml
11+
log/*
12+
tmp/*
13+
14+
# java specific
15+
*.class
16+
17+
# python specific
18+
*.pyc
19+
20+
# xcode/iphone specific
21+
build/*
22+
*.pbxuser
23+
*.mode2v3
24+
*.mode1v3
25+
*.perspective
26+
*.perspectivev3
27+
*~.nib
28+
29+
# akka specific
30+
logs/*
31+
32+
# sbt specific
33+
project/boot
34+
lib_managed/*
35+
project/build/target
36+
project/build/lib_managed
37+
project/build/src_managed
38+
project/plugins/lib_managed
39+
project/plugins/target
40+
project/plugins/src_managed
41+
project/plugins/project
42+
43+
core/lib_managed
44+
core/target
45+
pubsub/lib_managed
46+
pubsub/target
47+
48+
# eclipse specific
49+
.metadata
50+
jrebel.lic
51+
.idea/workspace.xml
52+
.idea/bashsupport_project.xml
53+
54+
*.iml
55+
*.ipr
56+
*.iws
57+
58+
target
59+
.idea
60+
.settings
61+
.classpath
62+
.project
63+
.ensime*
64+
*.sublime-*
65+
src/main/webapp/js/app.js
66+
src/main/javascript/**/*.js
67+
src/main/javascript/*.js
68+
src/main/javascript/**/*.jsm
69+
src/main/javascript/*.jsm
70+
.cache
71+
src/main/webapp/scripts
72+
src/main/webapp/css
73+
src/main/webapp/img
74+
src/main/webapp/build.txt
75+
src/main/webapp/index.html
76+
node_modules
77+
src/main/webapp/app.html
78+
.#*

build.sbt

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
import scala.xml.Group
2+
3+
organization := "org.json4s"
4+
5+
name := "scalabeans"
6+
7+
version := "0.3.0-SNAPSHOT"
8+
9+
scalaVersion := "2.9.2"
10+
11+
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation")
12+
13+
scalacOptions ++= Seq("-optimize", "-unchecked", "-deprecation", "-Xcheckinit", "-encoding", "utf8")
14+
15+
homepage := Some(url("https://github.com/scalastuff/scalabeans"))
16+
17+
startYear := Some(2010)
18+
19+
licenses := Seq(("ASL", url("http://www.apache.org/licenses/LICENSE-2.0.txt")))
20+
21+
pomExtra <<= (pomExtra, name, description) {(pom, name, desc) => pom ++ Group(
22+
<scm>
23+
<connection>scm:git:git@github.com:scalastuff/scalabeans.git</connection>
24+
<url>https://github.com/scalastuff/scalabeans</url>
25+
</scm>
26+
<developers>
27+
<developer>
28+
<id>rditerwich</id>
29+
<name>Ruud Diterwich</name>
30+
</developer>
31+
<developer>
32+
<id>advorkovyy</id>
33+
<name>Alexander Dvorkovyy</name>
34+
</developer>
35+
</developers>
36+
<contributors>
37+
<contributor>
38+
<name>Sergey Nazarov</name>
39+
</contributor>
40+
</contributors>
41+
)}
42+
43+
packageOptions <+= (name, version, organization) map {
44+
(title, version, vendor) =>
45+
Package.ManifestAttributes(
46+
"Created-By" -> "Simple Build Tool",
47+
"Built-By" -> System.getProperty("user.name"),
48+
"Build-Jdk" -> System.getProperty("java.version"),
49+
"Specification-Title" -> title,
50+
"Specification-Version" -> version,
51+
"Specification-Vendor" -> vendor,
52+
"Implementation-Title" -> title,
53+
"Implementation-Version" -> version,
54+
"Implementation-Vendor-Id" -> vendor,
55+
"Implementation-Vendor" -> vendor
56+
)
57+
}
58+
59+
publishMavenStyle := true
60+
61+
publishTo <<= version { (v: String) =>
62+
val nexus = "https://oss.sonatype.org/"
63+
if (v.trim.endsWith("SNAPSHOT"))
64+
Some("snapshots" at nexus + "content/repositories/snapshots")
65+
else
66+
Some("releases" at nexus + "service/local/staging/deploy/maven2")
67+
}
68+
69+
publishArtifact in Test := false
70+
71+
pomIncludeRepository := { x => false }
72+
73+
libraryDependencies ++= Seq(
74+
"com.thoughtworks.paranamer" % "paranamer" % "2.5.1",
75+
"org.codehaus.woodstox" % "woodstox-core-asl" % "4.1.4" % "optional",
76+
"junit" % "junit" % "4.8.2" % "test",
77+
"com.google.guava" % "guava" % "13.0.1",
78+
"com.dyuproject.protostuff" % "protostuff-core" % "1.0.7" % "optional",
79+
"com.dyuproject.protostuff" % "protostuff-api" % "1.0.7" % "optional",
80+
"com.dyuproject.protostuff" % "protostuff-json" % "1.0.7" % "optional",
81+
"com.dyuproject.protostuff" % "protostuff-xml" % "1.0.7" % "optional"
82+
)

pom.xml pom.xml.disabled

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
<testSourceDirectory>src/test/scala</testSourceDirectory>
4646
<plugins>
4747
<plugin>
48-
<groupId>org.scala-tools</groupId>
49-
<artifactId>maven-scala-plugin</artifactId>
50-
<version>2.15.2</version>
48+
<groupId>net.alchim31.maven</groupId>
49+
<artifactId>scala-maven-plugin</artifactId>
50+
<version>3.1.0</version>
5151
<executions>
5252
<execution>
5353
<goals>

0 commit comments

Comments
 (0)