Skip to content

Commit cd7329e

Browse files
committed
Port build to SBT
1 parent eddccd4 commit cd7329e

File tree

6 files changed

+127
-365
lines changed

6 files changed

+127
-365
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
language: java
1+
language: scala
2+
scala:
3+
- 2.11.8
24
jdk:
35
- oraclejdk8

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# DDDSample
2-
This is the new home of the original DDD Sample app hosted at SourceForge.
1+
# DDDSample (scala port)
32

4-
Our intention is to move everything from SourceForge to GitHub in due time while starting upgrading both the technical aspects as well as the DDD aspects of the DDD Sample.
3+
This is an ongoing project to port the original DDD Sample app to Scala.
4+
5+
Build with [SBT](http://www.scala-sbt.org/)
6+
7+
## Automatic code reloading
8+
9+
SBT allows for compilation and server restart when source files change:
10+
11+
```bash
12+
$ sbt
13+
> ~;jetty:stop;jetty:start
14+
```
515

616
Discussion group: https://groups.google.com/forum/#!forum/dddsample
717

build.sbt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
import Libraries._
3+
4+
scalaVersion := "2.11.8"
5+
6+
enablePlugins(JettyPlugin)
7+
8+
libraryDependencies ++= Seq(
9+
junit,
10+
11+
springWebmvc,
12+
springTx,
13+
springJdbc,
14+
springJms,
15+
springOrm,
16+
springWeb,
17+
springTest,
18+
19+
thymeleaf,
20+
21+
hibernate,
22+
23+
commonsCollections,
24+
commonsLang,
25+
commonsIo,
26+
commonsDbcp,
27+
28+
slf4jlog4j,
29+
slf4jjcl,
30+
slf4japi,
31+
32+
javassist,
33+
34+
hsqldb,
35+
36+
servletApi,
37+
38+
taglibs,
39+
40+
jstl,
41+
42+
sitemesh,
43+
44+
activeMQ,
45+
46+
xbeanSpring,
47+
48+
easyMock,
49+
50+
cxfFrontend,
51+
cxfHttp
52+
)

0 commit comments

Comments
 (0)