pom.xml 12KB

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