Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 91 lines (68 sloc) 2.717 kb
0ead3fdf » d6y
2012-05-27 Standalone build.
1 name := "jta"
2
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
3 liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"
0ead3fdf » d6y
2012-05-27 Standalone build.
4
4c5704fb » d6y
2012-05-28 Repackage: net.liftweb => net.liftmodules
5 version <<= liftVersion apply { _ + "-1.1-SNAPSHOT" }
0ead3fdf » d6y
2012-05-27 Standalone build.
6
7 organization := "net.liftmodules"
8
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
9 scalaVersion := "2.9.2"
0ead3fdf » d6y
2012-05-27 Standalone build.
10
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
11 crossScalaVersions := Seq("2.9.2", "2.9.1-1", "2.9.1", "2.9.0-1", "2.9.0")
12
13 resolvers += "CB Central Mirror" at "http://repo.cloudbees.com/content/groups/public"
0ead3fdf » d6y
2012-05-27 Standalone build.
14
15 resolvers += "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
16
17 libraryDependencies <++= liftVersion { v =>
18 "net.liftweb" %% "lift-webkit" % v % "compile->default" ::
19 "net.liftweb" %% "lift-util" % v % "compile->default" ::
20 Nil
21 }
22
23 libraryDependencies <++= scalaVersion { sv =>
24 "com.atomikos" % "atomikos-util" % "3.2.3" % "provided" ::
25 "com.atomikos" % "transactions" % "3.2.3" % "provided" ::
26 "com.atomikos" % "transactions-api" % "3.2.3" % "provided" ::
27 "com.atomikos" % "transactions-jta" % "3.2.3" % "provided" ::
28 "javax.persistence" % "persistence-api" % "1.0" % "provided" ::
29 "javax.transaction" % "transaction-api" % "1.1" % "provided" ::
30 "org.hibernate" % "hibernate-entitymanager" % "3.4.0.GA" ::
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
31 "org.scala-libs" % "scalajpa_2.9.1" % "1.4" ::
32 Nil
33 }
34
35 libraryDependencies <++= scalaVersion { sv =>
18f7b7cf » d6y
2012-05-27 Prep for 2.9.2: updated test dependencies
36 (sv match {
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
37 case "2.9.2" | "2.9.1" | "2.9.1-1" => "org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test"
18f7b7cf » d6y
2012-05-27 Prep for 2.9.2: updated test dependencies
38 case _ => "org.scala-tools.testing" %% "specs" % "1.6.8" % "test"
39 }) ::
40 (sv match {
41 case "2.9.2" => "org.scalacheck" % "scalacheck_2.9.1" % "1.9" % "test"
42 case _ => "org.scalacheck" %% "scalacheck" % "1.9" % "test"
43 }) ::
0ead3fdf » d6y
2012-05-27 Standalone build.
44 Nil
45 }
46
b6cf9b44 » d6y
2012-09-09 Aligned with Lift 2.5
47
0ead3fdf » d6y
2012-05-27 Standalone build.
48 publishTo <<= version { _.endsWith("SNAPSHOT") match {
49 case true => Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
50 case false => Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
51 }
52 }
53
54
55 // For local deployment:
56
57 credentials += Credentials( file("sonatype.credentials") )
58
59 // For the build server:
60
61 credentials += Credentials( file("/private/liftmodules/sonatype.credentials") )
62
63 publishMavenStyle := true
64
65 publishArtifact in Test := false
66
67 pomIncludeRepository := { _ => false }
68
69
70 pomExtra := (
71 <url>https://github.com/liftmodules/jta</url>
72 <licenses>
73 <license>
74 <name>Apache 2.0 License</name>
75 <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
76 <distribution>repo</distribution>
77 </license>
78 </licenses>
79 <scm>
80 <url>git@github.com:liftmodules/jta.git</url>
81 <connection>scm:git:git@github.com:liftmodules/jta.git</connection>
82 </scm>
83 <developers>
84 <developer>
85 <id>liftmodules</id>
86 <name>Lift Team</name>
87 <url>http://www.liftmodules.net</url>
88 </developer>
89 </developers>
90 )
91
Something went wrong with that request. Please try again.