123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>se.citerus</groupId>
  4. <artifactId>dddsample</artifactId>
  5. <packaging>war</packaging>
  6. <name>DDDSample</name>
  7. <version>2.0-SNAPSHOT</version>
  8. <description>This application shows a few key concepts of
  9. Domain Driven Design implemented in Enterprise Java.
  10. </description>
  11. <url>http://dddsample.sourceforge.net</url>
  12. <distributionManagement>
  13. <site>
  14. <id>sf</id>
  15. <url>scp://shell.sf.net/home/groups/d/dd/dddsample/htdocs/preview</url>
  16. </site>
  17. </distributionManagement>
  18. <ciManagement />
  19. <developers>
  20. <developer>
  21. <id>eric_evans</id>
  22. <name>Eric Evans</name>
  23. <organization>Domain Language, Inc.</organization>
  24. <organizationUrl>http://www.domainlanguage.com</organizationUrl>
  25. <timezone>-8</timezone>
  26. </developer>
  27. <developer>
  28. <id>peba</id>
  29. <name>Peter Backlund</name>
  30. <organization>Citerus</organization>
  31. <organizationUrl>http://www.citerus.se</organizationUrl>
  32. <timezone>+1</timezone>
  33. </developer>
  34. <developer>
  35. <id>patrikfr</id>
  36. <name>Patrik Fredriksson</name>
  37. <organization>Citerus</organization>
  38. <organizationUrl>http://www.citerus.se</organizationUrl>
  39. <timezone>+1</timezone>
  40. </developer>
  41. <developer>
  42. <id>jeham</id>
  43. <name>Jesper Hammarback</name>
  44. <organization>Citerus</organization>
  45. <organizationUrl>http://www.citerus.se</organizationUrl>
  46. <timezone>+1</timezone>
  47. </developer>
  48. <developer>
  49. <id>jorgen_falk</id>
  50. <name>Jorgen Falk</name>
  51. <organization>Citerus</organization>
  52. <organizationUrl>http://www.citerus.se</organizationUrl>
  53. <timezone>+1</timezone>
  54. </developer>
  55. </developers>
  56. <licenses>
  57. <license>
  58. <name>MIT</name>
  59. <url>http://www.opensource.org/licenses/mit-license.php</url>
  60. <distribution>repo</distribution>
  61. </license>
  62. </licenses>
  63. <scm>
  64. <developerConnection>scm:git:https://github.com/citerus/dddsample-core</developerConnection>
  65. <url>https://github.com/citerus/dddsample-core</url>
  66. </scm>
  67. <properties>
  68. <java.version>1.8</java.version>
  69. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  70. <!-- Dependencies -->
  71. <spring.version>4.2.1.RELEASE</spring.version>
  72. <cxf.version>3.0.3</cxf.version>
  73. <!-- Plugin versions -->
  74. <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
  75. <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
  76. <maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
  77. </properties>
  78. <build>
  79. <plugins>
  80. <!-- Compiler -->
  81. <plugin>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <version>${maven-compiler-plugin.version}</version>
  84. <configuration>
  85. <source>${java.version}</source>
  86. <target>${java.version}</target>
  87. <encoding>${project.build.sourceEncoding}</encoding>
  88. </configuration>
  89. </plugin>
  90. <!-- Downloader for Selenium server -->
  91. <plugin>
  92. <groupId>com.lazerycode.selenium</groupId>
  93. <artifactId>driver-binary-downloader-maven-plugin</artifactId>
  94. <version>1.0.14</version>
  95. <configuration>
  96. <!-- root directory that downloaded driver binaries will be stored in -->
  97. <rootStandaloneServerDirectory>/tmp</rootStandaloneServerDirectory>
  98. <!-- Where you want to store downloaded zip files -->
  99. <downloadedZipFileDirectory>/tmp</downloadedZipFileDirectory>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>selenium</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <!-- Jetty plugin -->
  110. <plugin>
  111. <groupId>org.mortbay.jetty</groupId>
  112. <artifactId>maven-jetty-plugin</artifactId>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-jar-plugin</artifactId>
  116. <version>${maven-jar-plugin.version}</version>
  117. <executions>
  118. <!-- Package booking service facade classes in separate jar -->
  119. <execution>
  120. <id>package-booking-facade</id>
  121. <phase>package</phase>
  122. <goals>
  123. <goal>jar</goal>
  124. </goals>
  125. <configuration>
  126. <classifier>booking-facade</classifier>
  127. <includes>
  128. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  129. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  130. </includes>
  131. <archive>
  132. <addMavenDescriptor>false</addMavenDescriptor>
  133. </archive>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <!-- Assembly -->
  139. <plugin>
  140. <artifactId>maven-assembly-plugin</artifactId>
  141. <version>${maven-assembly-plugin.version}</version>
  142. <configuration>
  143. <descriptorRefs>
  144. <descriptorRef>src</descriptorRef>
  145. </descriptorRefs>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. <dependencies>
  151. <dependency>
  152. <groupId>junit</groupId>
  153. <artifactId>junit</artifactId>
  154. <version>4.12</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.seleniumhq.selenium</groupId>
  159. <artifactId>selenium-server</artifactId>
  160. <version>3.4.0</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.seleniumhq.selenium</groupId>
  165. <artifactId>selenium-java</artifactId>
  166. <version>2.28.0</version>
  167. <scope>test</scope>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-webmvc</artifactId>
  172. <version>${spring.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-tx</artifactId>
  177. <version>${spring.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>spring-jdbc</artifactId>
  182. <version>${spring.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-jms</artifactId>
  187. <version>${spring.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-orm</artifactId>
  192. <version>${spring.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-web</artifactId>
  197. <version>${spring.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-test</artifactId>
  202. <version>${spring.version}</version>
  203. <scope>test</scope>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.thymeleaf</groupId>
  207. <artifactId>thymeleaf-spring4</artifactId>
  208. <version>2.1.4.RELEASE</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.hibernate</groupId>
  212. <artifactId>hibernate-core</artifactId>
  213. <version>4.3.5.Final</version>
  214. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  215. <exclusions>
  216. <exclusion>
  217. <groupId>org.slf4j</groupId>
  218. <artifactId>slf4j-api</artifactId>
  219. </exclusion>
  220. </exclusions>
  221. </dependency>
  222. <dependency>
  223. <groupId>commons-collections</groupId>
  224. <artifactId>commons-collections</artifactId>
  225. <version>3.2.2</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.slf4j</groupId>
  229. <artifactId>slf4j-log4j12</artifactId>
  230. <version>1.5.6</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.slf4j</groupId>
  234. <artifactId>jcl-over-slf4j</artifactId>
  235. <version>1.5.6</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.slf4j</groupId>
  239. <artifactId>slf4j-api</artifactId>
  240. <version>1.5.6</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>javassist</groupId>
  244. <artifactId>javassist</artifactId>
  245. <version>3.8.0.GA</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>commons-lang</groupId>
  249. <artifactId>commons-lang</artifactId>
  250. <version>2.3</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-io</groupId>
  254. <artifactId>commons-io</artifactId>
  255. <version>1.3.1</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>commons-dbcp</groupId>
  259. <artifactId>commons-dbcp</artifactId>
  260. <version>1.2.2</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.hsqldb</groupId>
  264. <artifactId>hsqldb</artifactId>
  265. <version>2.3.3</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>javax.servlet</groupId>
  269. <artifactId>javax.servlet-api</artifactId>
  270. <version>3.1.0</version>
  271. <scope>provided</scope>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.apache.activemq</groupId>
  275. <artifactId>activemq-core</artifactId>
  276. <version>5.2.0</version>
  277. <exclusions>
  278. <exclusion>
  279. <groupId>commons-logging</groupId>
  280. <artifactId>commons-logging-api</artifactId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.xbean</groupId>
  286. <artifactId>xbean-spring</artifactId>
  287. <version>3.4.3</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.easymock</groupId>
  291. <artifactId>easymock</artifactId>
  292. <version>2.3</version>
  293. <scope>test</scope>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.apache.cxf</groupId>
  297. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  298. <version>${cxf.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.cxf</groupId>
  302. <artifactId>cxf-rt-transports-http</artifactId>
  303. <version>${cxf.version}</version>
  304. </dependency>
  305. </dependencies>
  306. <reporting>
  307. <plugins>
  308. <!-- Javadoc -->
  309. <plugin>
  310. <artifactId>maven-javadoc-plugin</artifactId>
  311. </plugin>
  312. <!-- Source code cross reference -->
  313. <plugin>
  314. <artifactId>maven-jxr-plugin</artifactId>
  315. </plugin>
  316. <!-- Test report -->
  317. <plugin>
  318. <artifactId>maven-surefire-report-plugin</artifactId>
  319. </plugin>
  320. <!-- Test coverage -->
  321. <plugin>
  322. <groupId>org.codehaus.mojo</groupId>
  323. <artifactId>cobertura-maven-plugin</artifactId>
  324. </plugin>
  325. <!-- CheckStyle report -->
  326. <plugin>
  327. <artifactId>maven-checkstyle-plugin</artifactId>
  328. <configuration>
  329. <configLocation>src/main/config/checkstyle.xml</configLocation>
  330. <!-- Java source code generated from WSDL -->
  331. <excludes>**/com/aggregator/**/*</excludes>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </reporting>
  336. </project>