pom.xml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. <assertj.version>3.8.0</assertj.version>
  74. <!-- Plugin versions -->
  75. <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
  76. <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
  77. <maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
  78. </properties>
  79. <build>
  80. <plugins>
  81. <!-- Compiler -->
  82. <plugin>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <version>${maven-compiler-plugin.version}</version>
  85. <configuration>
  86. <source>${java.version}</source>
  87. <target>${java.version}</target>
  88. <encoding>${project.build.sourceEncoding}</encoding>
  89. </configuration>
  90. </plugin>
  91. <!-- Jetty plugin -->
  92. <plugin>
  93. <groupId>org.mortbay.jetty</groupId>
  94. <artifactId>maven-jetty-plugin</artifactId>
  95. </plugin>
  96. <plugin>
  97. <artifactId>maven-jar-plugin</artifactId>
  98. <version>${maven-jar-plugin.version}</version>
  99. <executions>
  100. <!-- Package booking service facade classes in separate jar -->
  101. <execution>
  102. <id>package-booking-facade</id>
  103. <phase>package</phase>
  104. <goals>
  105. <goal>jar</goal>
  106. </goals>
  107. <configuration>
  108. <classifier>booking-facade</classifier>
  109. <includes>
  110. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  111. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  112. </includes>
  113. <archive>
  114. <addMavenDescriptor>false</addMavenDescriptor>
  115. </archive>
  116. </configuration>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. <!-- Assembly -->
  121. <plugin>
  122. <artifactId>maven-assembly-plugin</artifactId>
  123. <version>${maven-assembly-plugin.version}</version>
  124. <configuration>
  125. <descriptorRefs>
  126. <descriptorRef>src</descriptorRef>
  127. </descriptorRefs>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. <dependencies>
  133. <dependency>
  134. <groupId>junit</groupId>
  135. <artifactId>junit</artifactId>
  136. <version>4.12</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.assertj</groupId>
  141. <artifactId>assertj-core</artifactId>
  142. <version>${assertj.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework</groupId>
  146. <artifactId>spring-webmvc</artifactId>
  147. <version>${spring.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework</groupId>
  151. <artifactId>spring-tx</artifactId>
  152. <version>${spring.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-jdbc</artifactId>
  157. <version>${spring.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-jms</artifactId>
  162. <version>${spring.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-orm</artifactId>
  167. <version>${spring.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-web</artifactId>
  172. <version>${spring.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-test</artifactId>
  177. <version>${spring.version}</version>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.thymeleaf</groupId>
  182. <artifactId>thymeleaf-spring4</artifactId>
  183. <version>2.1.4.RELEASE</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.hibernate</groupId>
  187. <artifactId>hibernate-core</artifactId>
  188. <version>4.3.5.Final</version>
  189. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  190. <exclusions>
  191. <exclusion>
  192. <groupId>org.slf4j</groupId>
  193. <artifactId>slf4j-api</artifactId>
  194. </exclusion>
  195. </exclusions>
  196. </dependency>
  197. <dependency>
  198. <groupId>commons-collections</groupId>
  199. <artifactId>commons-collections</artifactId>
  200. <version>3.2.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>slf4j-log4j12</artifactId>
  205. <version>1.5.6</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.slf4j</groupId>
  209. <artifactId>jcl-over-slf4j</artifactId>
  210. <version>1.5.6</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.slf4j</groupId>
  214. <artifactId>slf4j-api</artifactId>
  215. <version>1.5.6</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>javassist</groupId>
  219. <artifactId>javassist</artifactId>
  220. <version>3.8.0.GA</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>commons-lang</groupId>
  224. <artifactId>commons-lang</artifactId>
  225. <version>2.3</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>commons-io</groupId>
  229. <artifactId>commons-io</artifactId>
  230. <version>1.3.1</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>commons-dbcp</groupId>
  234. <artifactId>commons-dbcp</artifactId>
  235. <version>1.2.2</version>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.hsqldb</groupId>
  239. <artifactId>hsqldb</artifactId>
  240. <version>2.3.3</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>javax.servlet</groupId>
  244. <artifactId>javax.servlet-api</artifactId>
  245. <version>3.1.0</version>
  246. <scope>provided</scope>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.apache.activemq</groupId>
  250. <artifactId>activemq-core</artifactId>
  251. <version>5.2.0</version>
  252. <exclusions>
  253. <exclusion>
  254. <groupId>commons-logging</groupId>
  255. <artifactId>commons-logging-api</artifactId>
  256. </exclusion>
  257. </exclusions>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.xbean</groupId>
  261. <artifactId>xbean-spring</artifactId>
  262. <version>3.4.3</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.easymock</groupId>
  266. <artifactId>easymock</artifactId>
  267. <version>2.3</version>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.cxf</groupId>
  272. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  273. <version>${cxf.version}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.apache.cxf</groupId>
  277. <artifactId>cxf-rt-transports-http</artifactId>
  278. <version>${cxf.version}</version>
  279. </dependency>
  280. </dependencies>
  281. <reporting>
  282. <plugins>
  283. <!-- Javadoc -->
  284. <plugin>
  285. <artifactId>maven-javadoc-plugin</artifactId>
  286. </plugin>
  287. <!-- Source code cross reference -->
  288. <plugin>
  289. <artifactId>maven-jxr-plugin</artifactId>
  290. </plugin>
  291. <!-- Test report -->
  292. <plugin>
  293. <artifactId>maven-surefire-report-plugin</artifactId>
  294. </plugin>
  295. <!-- Test coverage -->
  296. <plugin>
  297. <groupId>org.codehaus.mojo</groupId>
  298. <artifactId>cobertura-maven-plugin</artifactId>
  299. </plugin>
  300. <!-- CheckStyle report -->
  301. <plugin>
  302. <artifactId>maven-checkstyle-plugin</artifactId>
  303. <configuration>
  304. <configLocation>src/main/config/checkstyle.xml</configLocation>
  305. <!-- Java source code generated from WSDL -->
  306. <excludes>**/com/aggregator/**/*</excludes>
  307. </configuration>
  308. </plugin>
  309. </plugins>
  310. </reporting>
  311. </project>