123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>se.citerus</groupId>
  5. <artifactId>dddsample</artifactId>
  6. <packaging>war</packaging>
  7. <name>DDDSample</name>
  8. <version>1.1-SNAPSHOT</version>
  9. <description>This application shows a few key concepts of
  10. Domain Driven Design implemented in Enterprise Java.
  11. </description>
  12. <url>http://dddsample.sourceforge.net</url>
  13. <distributionManagement>
  14. <site>
  15. <id>sf</id>
  16. <url>scp://shell.sf.net/home/groups/d/dd/dddsample/htdocs</url>
  17. </site>
  18. </distributionManagement>
  19. <ciManagement/>
  20. <repositories>
  21. <repository>
  22. <id>maven2-repository.dev.java.net</id>
  23. <name>Java.net Repository for Maven</name>
  24. <url>http://download.java.net/maven/2</url>
  25. <layout>default</layout>
  26. </repository>
  27. <repository>
  28. <id>maven-repository.dev.java.net</id>
  29. <name>Java.net Repository for Maven 1</name>
  30. <url>http://download.java.net/maven/1</url>
  31. <layout>legacy</layout>
  32. </repository>
  33. </repositories>
  34. <pluginRepositories>
  35. <pluginRepository>
  36. <id>maven2-repository.dev.java.net</id>
  37. <name>Java.net Repository for Maven</name>
  38. <url>http://download.java.net/maven/2</url>
  39. </pluginRepository>
  40. </pluginRepositories>
  41. <developers>
  42. <developer>
  43. <id>eric_evans</id>
  44. <name>Eric Evans</name>
  45. <email>eric at domainlanguage dot com</email>
  46. <organization>Domain Language, Inc.</organization>
  47. <organizationUrl>http://www.domainlanguage.com</organizationUrl>
  48. <timezone>-8</timezone>
  49. </developer>
  50. <developer>
  51. <id>peba</id>
  52. <name>Peter Backlund</name>
  53. <email>peter.backlund@citerus.se</email>
  54. <organization>Citerus</organization>
  55. <organizationUrl>http://www.citerus.se</organizationUrl>
  56. <timezone>+1</timezone>
  57. </developer>
  58. <developer>
  59. <id>patrikfr</id>
  60. <name>Patrik Fredriksson</name>
  61. <email>patrikfr@users.sourceforge.net</email>
  62. <organization>Citerus</organization>
  63. <organizationUrl>http://www.citerus.se</organizationUrl>
  64. <timezone>+1</timezone>
  65. </developer>
  66. <developer>
  67. <id>jeham</id>
  68. <name>Jesper Hammarback</name>
  69. <email>jeham@users.sourceforge.net</email>
  70. <organization>Citerus</organization>
  71. <organizationUrl>http://www.citerus.se</organizationUrl>
  72. <timezone>+1</timezone>
  73. </developer>
  74. <developer>
  75. <id>jorgen_falk</id>
  76. <name>Jorgen Falk</name>
  77. <email>jorgen.falk@citerus.se</email>
  78. <organization>Citerus</organization>
  79. <organizationUrl>http://www.citerus.se</organizationUrl>
  80. <timezone>+1</timezone>
  81. </developer>
  82. </developers>
  83. <licenses>
  84. <license>
  85. <name>MIT</name>
  86. <url>http://www.opensource.org/licenses/mit-license.php</url>
  87. <distribution>repo</distribution>
  88. </license>
  89. </licenses>
  90. <scm>
  91. <developerConnection>scm:svn:https://dddsample.svn.sourceforge.net/svnroot/dddsample</developerConnection>
  92. <url>http://ddd.sventon.org</url>
  93. </scm>
  94. <properties>
  95. <spring.version>2.5.6</spring.version>
  96. <cxf.version>2.1.3</cxf.version>
  97. </properties>
  98. <build>
  99. <plugins>
  100. <!-- Compiler -->
  101. <plugin>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <configuration>
  104. <source>1.5</source>
  105. <target>1.5</target>
  106. <encoding>UTF-8</encoding>
  107. </configuration>
  108. </plugin>
  109. <!-- Jetty servlet container: http://jetty.mortbay.com/maven-plugin -->
  110. <plugin>
  111. <groupId>org.mortbay.jetty</groupId>
  112. <artifactId>maven-jetty-plugin</artifactId>
  113. <version>6.1.4</version>
  114. <configuration>
  115. <scanIntervalSeconds>3</scanIntervalSeconds>
  116. </configuration>
  117. </plugin>
  118. <!-- Generates WSDL from Java -->
  119. <plugin>
  120. <groupId>org.apache.cxf</groupId>
  121. <artifactId>cxf-java2ws-plugin</artifactId>
  122. <version>${cxf.version}</version>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.apache.cxf</groupId>
  126. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  127. <version>${cxf.version}</version>
  128. </dependency>
  129. </dependencies>
  130. <executions>
  131. <execution>
  132. <phase>process-classes</phase>
  133. <configuration>
  134. <className>se.citerus.dddsample.interfaces.handling.ws.HandlingReportService</className>
  135. <genWsdl>true</genWsdl>
  136. <verbose>true</verbose>
  137. </configuration>
  138. <goals>
  139. <goal>java2ws</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <!-- Package WS api classes -->
  145. <plugin>
  146. <artifactId>maven-jar-plugin</artifactId>
  147. <executions>
  148. <execution>
  149. <phase>package</phase>
  150. <goals>
  151. <goal>jar</goal>
  152. </goals>
  153. <configuration>
  154. <classifier>ws-client</classifier>
  155. <includes>
  156. <include>**/se/citerus/dddsample/interfaces/handling/ws/*.class</include>
  157. </includes>
  158. <archive>
  159. <addMavenDescriptor>false</addMavenDescriptor>
  160. </archive>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. <!-- Assembly -->
  166. <plugin>
  167. <artifactId>maven-assembly-plugin</artifactId>
  168. <configuration>
  169. <descriptorRefs>
  170. <descriptorRef>src</descriptorRef>
  171. </descriptorRefs>
  172. </configuration>
  173. </plugin>
  174. </plugins>
  175. </build>
  176. <dependencies>
  177. <dependency>
  178. <groupId>junit</groupId>
  179. <artifactId>junit</artifactId>
  180. <version>4.4</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework</groupId>
  185. <artifactId>spring-webmvc</artifactId>
  186. <version>${spring.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.springframework</groupId>
  190. <artifactId>spring-orm</artifactId>
  191. <version>${spring.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework</groupId>
  195. <artifactId>spring-jdbc</artifactId>
  196. <version>${spring.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.springframework</groupId>
  200. <artifactId>spring-aop</artifactId>
  201. <version>${spring.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.springframework</groupId>
  205. <artifactId>spring-jms</artifactId>
  206. <version>${spring.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.springframework</groupId>
  210. <artifactId>spring-test</artifactId>
  211. <version>${spring.version}</version>
  212. <scope>test</scope>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.hibernate</groupId>
  216. <artifactId>hibernate-core</artifactId>
  217. <version>3.3.1.GA</version>
  218. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  219. <exclusions>
  220. <exclusion>
  221. <groupId>org.slf4j</groupId>
  222. <artifactId>slf4j-api</artifactId>
  223. </exclusion>
  224. </exclusions>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.slf4j</groupId>
  228. <artifactId>slf4j-log4j12</artifactId>
  229. <version>1.5.6</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>javassist</groupId>
  233. <artifactId>javassist</artifactId>
  234. <version>3.8.0.GA</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.hibernate</groupId>
  238. <artifactId>hibernate-annotations</artifactId>
  239. <version>3.4.0.GA</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>commons-lang</groupId>
  243. <artifactId>commons-lang</artifactId>
  244. <version>2.3</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>commons-io</groupId>
  248. <artifactId>commons-io</artifactId>
  249. <version>1.3.1</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>commons-dbcp</groupId>
  253. <artifactId>commons-dbcp</artifactId>
  254. <version>1.2.2</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>hsqldb</groupId>
  258. <artifactId>hsqldb</artifactId>
  259. <version>1.8.0.7</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>javax.servlet</groupId>
  263. <artifactId>servlet-api</artifactId>
  264. <version>2.5</version>
  265. <scope>provided</scope>
  266. </dependency>
  267. <dependency>
  268. <groupId>taglibs</groupId>
  269. <artifactId>standard</artifactId>
  270. <version>1.1.2</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>javax.servlet</groupId>
  274. <artifactId>jstl</artifactId>
  275. <version>1.1.2</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>opensymphony</groupId>
  279. <artifactId>sitemesh</artifactId>
  280. <version>2.3</version>
  281. <scope>runtime</scope>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.activemq</groupId>
  285. <artifactId>activemq-core</artifactId>
  286. <version>5.2.0</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.xbean</groupId>
  290. <artifactId>xbean-spring</artifactId>
  291. <version>3.4.3</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.easymock</groupId>
  295. <artifactId>easymock</artifactId>
  296. <version>2.3</version>
  297. <scope>test</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.apache.cxf</groupId>
  301. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  302. <version>${cxf.version}</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.apache.cxf</groupId>
  306. <artifactId>cxf-rt-transports-http</artifactId>
  307. <version>${cxf.version}</version>
  308. </dependency>
  309. </dependencies>
  310. <reporting>
  311. <plugins>
  312. <!-- Javadoc -->
  313. <plugin>
  314. <artifactId>maven-javadoc-plugin</artifactId>
  315. </plugin>
  316. <!-- Source code cross reference -->
  317. <plugin>
  318. <artifactId>maven-jxr-plugin</artifactId>
  319. </plugin>
  320. <!-- Test report -->
  321. <plugin>
  322. <artifactId>maven-surefire-report-plugin</artifactId>
  323. </plugin>
  324. <!-- Test coverage -->
  325. <plugin>
  326. <groupId>org.codehaus.mojo</groupId>
  327. <artifactId>cobertura-maven-plugin</artifactId>
  328. </plugin>
  329. <!-- CheckStyle report -->
  330. <plugin>
  331. <artifactId>maven-checkstyle-plugin</artifactId>
  332. <configuration>
  333. <configLocation>checkstyle.xml</configLocation>
  334. </configuration>
  335. </plugin>
  336. </plugins>
  337. </reporting>
  338. </project>