pom.xml 10.0KB

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