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