-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
29 lines (22 loc) · 918 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name := """soap-client-with-cxf-using-play"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.8"
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
val cxfVersion: String = "3.1.7"
libraryDependencies ++= Seq(
"org.apache.cxf" % "cxf-rt-frontend-jaxws" % cxfVersion,
"org.apache.cxf" % "cxf-rt-transports-http" % cxfVersion,
"org.springframework" % "spring-context" % "4.3.3.RELEASE",
// Test dependencies
"junit" % "junit" % "4.12" % "test",
"org.assertj" % "assertj-core" % "3.5.2" % "test",
"org.mockito" % "mockito-core" % "1.10.19" % "test"
)
// CXF wsdl2java configuration
Seq(cxf.settings: _*)
cxf.cxfVersion := cxfVersion
cxf.wsdls := Seq(
cxf.Wsdl((resourceDirectory in Compile).value / "wsdls/globalweather.wsdl",
Seq("-mark-generated", "-p", "com.global.weather", "-b", "jaxb-bindings.xml"), "globalweather")
)