pom.xml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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.eclipse.jetty</groupId>
  112. <artifactId>jetty-maven-plugin</artifactId>
  113. <configuration>
  114. <stopPort>9966</stopPort>
  115. <stopKey>foo</stopKey>
  116. <stopWait>10</stopWait>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <artifactId>maven-jar-plugin</artifactId>
  121. <version>${maven-jar-plugin.version}</version>
  122. <executions>
  123. <!-- Package booking service facade classes in separate jar -->
  124. <execution>
  125. <id>package-booking-facade</id>
  126. <phase>package</phase>
  127. <goals>
  128. <goal>jar</goal>
  129. </goals>
  130. <configuration>
  131. <classifier>booking-facade</classifier>
  132. <includes>
  133. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  134. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  135. </includes>
  136. <archive>
  137. <addMavenDescriptor>false</addMavenDescriptor>
  138. </archive>
  139. </configuration>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. <!-- Assembly -->
  144. <plugin>
  145. <artifactId>maven-assembly-plugin</artifactId>
  146. <version>${maven-assembly-plugin.version}</version>
  147. <configuration>
  148. <descriptorRefs>
  149. <descriptorRef>src</descriptorRef>
  150. </descriptorRefs>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. <dependencies>
  156. <dependency>
  157. <groupId>junit</groupId>
  158. <artifactId>junit</artifactId>
  159. <version>4.12</version>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.seleniumhq.selenium</groupId>
  164. <artifactId>selenium-server</artifactId>
  165. <version>3.4.0</version>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.seleniumhq.selenium</groupId>
  170. <artifactId>selenium-java</artifactId>
  171. <version>2.28.0</version>
  172. <scope>test</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-webmvc</artifactId>
  177. <version>${spring.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>spring-tx</artifactId>
  182. <version>${spring.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-jdbc</artifactId>
  187. <version>${spring.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-jms</artifactId>
  192. <version>${spring.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-orm</artifactId>
  197. <version>${spring.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-web</artifactId>
  202. <version>${spring.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.springframework</groupId>
  206. <artifactId>spring-test</artifactId>
  207. <version>${spring.version}</version>
  208. <scope>test</scope>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.thymeleaf</groupId>
  212. <artifactId>thymeleaf-spring4</artifactId>
  213. <version>2.1.4.RELEASE</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.hibernate</groupId>
  217. <artifactId>hibernate-core</artifactId>
  218. <version>4.3.5.Final</version>
  219. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  220. <exclusions>
  221. <exclusion>
  222. <groupId>org.slf4j</groupId>
  223. <artifactId>slf4j-api</artifactId>
  224. </exclusion>
  225. </exclusions>
  226. </dependency>
  227. <dependency>
  228. <groupId>commons-collections</groupId>
  229. <artifactId>commons-collections</artifactId>
  230. <version>3.2.2</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.slf4j</groupId>
  234. <artifactId>slf4j-log4j12</artifactId>
  235. <version>1.5.6</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.slf4j</groupId>
  239. <artifactId>jcl-over-slf4j</artifactId>
  240. <version>1.5.6</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.slf4j</groupId>
  244. <artifactId>slf4j-api</artifactId>
  245. <version>1.5.6</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>javassist</groupId>
  249. <artifactId>javassist</artifactId>
  250. <version>3.8.0.GA</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-lang</groupId>
  254. <artifactId>commons-lang</artifactId>
  255. <version>2.3</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>commons-io</groupId>
  259. <artifactId>commons-io</artifactId>
  260. <version>1.3.1</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>commons-dbcp</groupId>
  264. <artifactId>commons-dbcp</artifactId>
  265. <version>1.2.2</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.hsqldb</groupId>
  269. <artifactId>hsqldb</artifactId>
  270. <version>2.3.3</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>javax.servlet</groupId>
  274. <artifactId>javax.servlet-api</artifactId>
  275. <version>3.1.0</version>
  276. <scope>provided</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.activemq</groupId>
  280. <artifactId>activemq-core</artifactId>
  281. <version>5.2.0</version>
  282. <exclusions>
  283. <exclusion>
  284. <groupId>commons-logging</groupId>
  285. <artifactId>commons-logging-api</artifactId>
  286. </exclusion>
  287. </exclusions>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.apache.xbean</groupId>
  291. <artifactId>xbean-spring</artifactId>
  292. <version>3.4.3</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.easymock</groupId>
  296. <artifactId>easymock</artifactId>
  297. <version>2.3</version>
  298. <scope>test</scope>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.apache.cxf</groupId>
  302. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  303. <version>${cxf.version}</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.apache.cxf</groupId>
  307. <artifactId>cxf-rt-transports-http</artifactId>
  308. <version>${cxf.version}</version>
  309. </dependency>
  310. </dependencies>
  311. <reporting>
  312. <plugins>
  313. <!-- Javadoc -->
  314. <plugin>
  315. <artifactId>maven-javadoc-plugin</artifactId>
  316. </plugin>
  317. <!-- Source code cross reference -->
  318. <plugin>
  319. <artifactId>maven-jxr-plugin</artifactId>
  320. </plugin>
  321. <!-- Test report -->
  322. <plugin>
  323. <artifactId>maven-surefire-report-plugin</artifactId>
  324. </plugin>
  325. <!-- Test coverage -->
  326. <plugin>
  327. <groupId>org.codehaus.mojo</groupId>
  328. <artifactId>cobertura-maven-plugin</artifactId>
  329. </plugin>
  330. <!-- CheckStyle report -->
  331. <plugin>
  332. <artifactId>maven-checkstyle-plugin</artifactId>
  333. <configuration>
  334. <configLocation>src/main/config/checkstyle.xml</configLocation>
  335. <!-- Java source code generated from WSDL -->
  336. <excludes>**/com/aggregator/**/*</excludes>
  337. </configuration>
  338. </plugin>
  339. </plugins>
  340. </reporting>
  341. </project>