pom.xml 9.5KB

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