123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>se.citerus</groupId>
  7. <artifactId>dddsample</artifactId>
  8. <packaging>war</packaging>
  9. <name>DDDSample</name>
  10. <version>1.0-SNAPSHOT</version>
  11. <description>This application shows a few key concepts of
  12. Domain Driven Design implemented in Enterprise Java.
  13. </description>
  14. <url>http://dddsample.sourceforge.net</url>
  15. <distributionManagement>
  16. <site>
  17. <id>sf</id>
  18. <url>scp://shell.sf.net/home/groups/d/dd/dddsample/htdocs</url>
  19. </site>
  20. </distributionManagement>
  21. <ciManagement/>
  22. <repositories>
  23. <repository>
  24. <id>maven2-repository.dev.java.net</id>
  25. <name>Java.net Repository for Maven</name>
  26. <url>http://download.java.net/maven/2</url>
  27. <layout>default</layout>
  28. </repository>
  29. <repository>
  30. <id>maven-repository.dev.java.net</id>
  31. <name>Java.net Repository for Maven 1</name>
  32. <url>http://download.java.net/maven/1</url>
  33. <layout>legacy</layout>
  34. </repository>
  35. </repositories>
  36. <pluginRepositories>
  37. <pluginRepository>
  38. <id>maven2-repository.dev.java.net</id>
  39. <name>Java.net Repository for Maven</name>
  40. <url>http://download.java.net/maven/2</url>
  41. </pluginRepository>
  42. </pluginRepositories>
  43. <developers>
  44. <developer>
  45. <id>eric_evans</id>
  46. <name>Eric Evans</name>
  47. <email>eric at domainlanguage dot com</email>
  48. <organization>Domain Language, Inc.</organization>
  49. <organizationUrl>http://www.domainlanguage.com</organizationUrl>
  50. <timezone>-8</timezone>
  51. </developer>
  52. <developer>
  53. <id>peba</id>
  54. <name>Peter Backlund</name>
  55. <email>peter.backlund@citerus.se</email>
  56. <organization>Citerus</organization>
  57. <organizationUrl>http://www.citerus.se</organizationUrl>
  58. <timezone>+1</timezone>
  59. </developer>
  60. <developer>
  61. <id>patrikfr</id>
  62. <name>Patrik Fredriksson</name>
  63. <email>patrikfr@users.sourceforge.net</email>
  64. <organization>Citerus</organization>
  65. <organizationUrl>http://www.citerus.se</organizationUrl>
  66. <timezone>+1</timezone>
  67. </developer>
  68. <developer>
  69. <id>jeham</id>
  70. <name>Jesper Hammarback</name>
  71. <email>jeham@users.sourceforge.net</email>
  72. <organization>Citerus</organization>
  73. <organizationUrl>http://www.citerus.se</organizationUrl>
  74. <timezone>+1</timezone>
  75. </developer>
  76. <developer>
  77. <id>jorgen_falk</id>
  78. <name>Jorgen Falk</name>
  79. <email>jorgen.falk@citerus.se</email>
  80. <organization>Citerus</organization>
  81. <organizationUrl>http://www.citerus.se</organizationUrl>
  82. <timezone>+1</timezone>
  83. </developer>
  84. </developers>
  85. <licenses>
  86. <license>
  87. <name>MIT</name>
  88. <url>http://www.opensource.org/licenses/mit-license.php</url>
  89. <distribution>repo</distribution>
  90. </license>
  91. </licenses>
  92. <scm>
  93. <developerConnection>scm:svn:https://dddsample.svn.sourceforge.net/svnroot/dddsample</developerConnection>
  94. <url>http://ddd.sventon.org</url>
  95. </scm>
  96. <properties>
  97. <spring.version>2.5.1</spring.version>
  98. </properties>
  99. <build>
  100. <plugins>
  101. <!-- Compiler -->
  102. <plugin>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <configuration>
  105. <source>1.5</source>
  106. <target>1.5</target>
  107. <encoding>UTF-8</encoding>
  108. </configuration>
  109. </plugin>
  110. <!-- Jetty servlet container: http://jetty.mortbay.com/maven-plugin -->
  111. <plugin>
  112. <groupId>org.mortbay.jetty</groupId>
  113. <artifactId>maven-jetty-plugin</artifactId>
  114. <version>6.1.4</version>
  115. <configuration>
  116. <scanIntervalSeconds>3</scanIntervalSeconds>
  117. </configuration>
  118. </plugin>
  119. <!-- JAX-WS generation plugin -->
  120. <plugin>
  121. <groupId>org.codehaus.mojo</groupId>
  122. <artifactId>jaxws-maven-plugin</artifactId>
  123. <version>1.9</version>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>wsgen</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. <configuration>
  132. <sei>se.citerus.dddsample.application.ws.HandlingEventServiceEndpointImpl</sei>
  133. <genWsdl>true</genWsdl>
  134. </configuration>
  135. </plugin>
  136. <!-- Jar plugin for generation of WS Client classes -->
  137. <plugin>
  138. <artifactId>maven-jar-plugin</artifactId>
  139. <executions>
  140. <execution>
  141. <phase>package</phase>
  142. <goals>
  143. <goal>jar</goal>
  144. </goals>
  145. <configuration>
  146. <classifier>ws-client</classifier>
  147. <includes>
  148. <include>**/se/citerus/dddsample/application/ws/**</include>
  149. </includes>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <artifactId>maven-assembly-plugin</artifactId>
  156. <configuration>
  157. <descriptorRefs>
  158. <descriptorRef>src</descriptorRef>
  159. </descriptorRefs>
  160. </configuration>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. <dependencies>
  165. <dependency>
  166. <groupId>junit</groupId>
  167. <artifactId>junit</artifactId>
  168. <version>4.4</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework</groupId>
  173. <artifactId>spring-webmvc</artifactId>
  174. <version>${spring.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.springframework</groupId>
  178. <artifactId>spring-orm</artifactId>
  179. <version>${spring.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.springframework</groupId>
  183. <artifactId>spring-jdbc</artifactId>
  184. <version>${spring.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-aop</artifactId>
  189. <version>${spring.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework</groupId>
  193. <artifactId>spring-jms</artifactId>
  194. <version>${spring.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.springframework</groupId>
  198. <artifactId>spring-test</artifactId>
  199. <version>${spring.version}</version>
  200. <scope>test</scope>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.hibernate</groupId>
  204. <artifactId>hibernate</artifactId>
  205. <version>3.2.5.ga</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.hibernate</groupId>
  209. <artifactId>hibernate-annotations</artifactId>
  210. <version>3.3.0.ga</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.hibernate</groupId>
  214. <artifactId>hibernate-commons-annotations</artifactId>
  215. <version>3.3.0.ga</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>commons-lang</groupId>
  219. <artifactId>commons-lang</artifactId>
  220. <version>2.3</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>commons-io</groupId>
  224. <artifactId>commons-io</artifactId>
  225. <version>1.3.1</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>commons-logging</groupId>
  229. <artifactId>commons-logging</artifactId>
  230. <version>1.1</version>
  231. <exclusions>
  232. <exclusion>
  233. <groupId>avalon-framework</groupId>
  234. <artifactId>avalon-framework</artifactId>
  235. </exclusion>
  236. <exclusion>
  237. <groupId>logkit</groupId>
  238. <artifactId>logkit</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>commons-dbcp</groupId>
  244. <artifactId>commons-dbcp</artifactId>
  245. <version>1.2.2</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>hsqldb</groupId>
  249. <artifactId>hsqldb</artifactId>
  250. <version>1.8.0.7</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>javax.servlet</groupId>
  254. <artifactId>servlet-api</artifactId>
  255. <version>2.5</version>
  256. <scope>provided</scope>
  257. </dependency>
  258. <dependency>
  259. <groupId>taglibs</groupId>
  260. <artifactId>standard</artifactId>
  261. <version>1.1.2</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>javax.servlet</groupId>
  265. <artifactId>jstl</artifactId>
  266. <version>1.1.2</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>opensymphony</groupId>
  270. <artifactId>sitemesh</artifactId>
  271. <version>2.3</version>
  272. <scope>runtime</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.apache.activemq</groupId>
  276. <artifactId>activemq-core</artifactId>
  277. <version>5.0.0</version>
  278. <exclusions>
  279. <!--
  280. This is a snapshot dependency, with no published pom.
  281. It does not appear to be needed either:
  282. http://mail-archives.apache.org/mod_mbox/activemq-commits/200610.mbox/%3C20061005025744.0C6591A981A@eris.apache.org%3E
  283. -->
  284. <exclusion>
  285. <groupId>org.apache.activemq</groupId>
  286. <artifactId>activeio-core</artifactId>
  287. </exclusion>
  288. <exclusion>
  289. <groupId>javax.xml</groupId>
  290. <artifactId>jaxb-api</artifactId>
  291. </exclusion>
  292. </exclusions>
  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. <!-- JAX-WS integration with Spring. Lots of broken pom files unfortunately,
  301. so we need a few excluded-and-overridden dependencies.
  302. This problem will mostly go away when we move to Java 6.
  303. javax.activation is excluded because of class loading issues with Jetty:
  304. http://jira.codehaus.org/browse/JETTY-420
  305. -->
  306. <dependency>
  307. <groupId>org.jvnet.jax-ws-commons.spring</groupId>
  308. <artifactId>jaxws-spring</artifactId>
  309. <version>1.8</version>
  310. <exclusions>
  311. <exclusion>
  312. <groupId>org.springframework</groupId>
  313. <artifactId>spring</artifactId>
  314. </exclusion>
  315. <exclusion>
  316. <groupId>com.sun.xml.stream.buffer</groupId>
  317. <artifactId>streambuffer</artifactId>
  318. </exclusion>
  319. <exclusion>
  320. <groupId>org.jvnet.staxex</groupId>
  321. <artifactId>stax-ex</artifactId>
  322. </exclusion>
  323. <exclusion>
  324. <groupId>javax.activation</groupId>
  325. <artifactId>activation</artifactId>
  326. </exclusion>
  327. </exclusions>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.jvnet.staxex</groupId>
  331. <artifactId>stax-ex</artifactId>
  332. <version>1.2</version>
  333. <scope>runtime</scope>
  334. <exclusions>
  335. <exclusion>
  336. <groupId>javax.activation</groupId>
  337. <artifactId>activation</artifactId>
  338. </exclusion>
  339. </exclusions>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.sun.xml.stream.buffer</groupId>
  343. <artifactId>streambuffer</artifactId>
  344. <version>0.7</version>
  345. <scope>runtime</scope>
  346. <exclusions>
  347. <exclusion>
  348. <groupId>javax.activation</groupId>
  349. <artifactId>activation</artifactId>
  350. </exclusion>
  351. </exclusions>
  352. </dependency>
  353. <dependency>
  354. <groupId>com.sun.xml.ws</groupId>
  355. <artifactId>jaxws-rt</artifactId>
  356. <version>2.1.3</version>
  357. <scope>runtime</scope>
  358. </dependency>
  359. <dependency>
  360. <groupId>com.sun.istack</groupId>
  361. <artifactId>istack-commons-runtime</artifactId>
  362. <version>1.0</version>
  363. <scope>runtime</scope>
  364. </dependency>
  365. </dependencies>
  366. <reporting>
  367. <plugins>
  368. <!-- Javadoc -->
  369. <plugin>
  370. <artifactId>maven-javadoc-plugin</artifactId>
  371. </plugin>
  372. <!-- Source code cross reference -->
  373. <plugin>
  374. <artifactId>maven-jxr-plugin</artifactId>
  375. </plugin>
  376. <!-- Test report -->
  377. <plugin>
  378. <artifactId>maven-surefire-report-plugin</artifactId>
  379. </plugin>
  380. <!-- Test coverage -->
  381. <plugin>
  382. <groupId>org.codehaus.mojo</groupId>
  383. <artifactId>cobertura-maven-plugin</artifactId>
  384. </plugin>
  385. <!-- CheckStyle report -->
  386. <plugin>
  387. <artifactId>maven-checkstyle-plugin</artifactId>
  388. <configuration>
  389. <configLocation>checkstyle.xml</configLocation>
  390. </configuration>
  391. </plugin>
  392. </plugins>
  393. </reporting>
  394. </project>