pom.xml 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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/preview</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. <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. <organization>Citerus</organization>
  53. <organizationUrl>http://www.citerus.se</organizationUrl>
  54. <timezone>+1</timezone>
  55. </developer>
  56. <developer>
  57. <id>patrikfr</id>
  58. <name>Patrik Fredriksson</name>
  59. <organization>Citerus</organization>
  60. <organizationUrl>http://www.citerus.se</organizationUrl>
  61. <timezone>+1</timezone>
  62. </developer>
  63. <developer>
  64. <id>jeham</id>
  65. <name>Jesper Hammarback</name>
  66. <organization>Citerus</organization>
  67. <organizationUrl>http://www.citerus.se</organizationUrl>
  68. <timezone>+1</timezone>
  69. </developer>
  70. <developer>
  71. <id>jorgen_falk</id>
  72. <name>Jorgen Falk</name>
  73. <organization>Citerus</organization>
  74. <organizationUrl>http://www.citerus.se</organizationUrl>
  75. <timezone>+1</timezone>
  76. </developer>
  77. </developers>
  78. <licenses>
  79. <license>
  80. <name>MIT</name>
  81. <url>http://www.opensource.org/licenses/mit-license.php</url>
  82. <distribution>repo</distribution>
  83. </license>
  84. </licenses>
  85. <scm>
  86. <developerConnection>scm:svn:https://dddsample.svn.sourceforge.net/svnroot/dddsample</developerConnection>
  87. <url>http://ddd.sventon.org</url>
  88. </scm>
  89. <properties>
  90. <spring.version>2.5.6</spring.version>
  91. <cxf.version>2.1.3</cxf.version>
  92. </properties>
  93. <build>
  94. <plugins>
  95. <!-- Compiler -->
  96. <plugin>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <configuration>
  99. <source>1.6</source>
  100. <target>1.6</target>
  101. <encoding>UTF-8</encoding>
  102. </configuration>
  103. </plugin>
  104. <!-- Jetty plugin -->
  105. <plugin>
  106. <groupId>org.mortbay.jetty</groupId>
  107. <artifactId>maven-jetty-plugin</artifactId>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-jar-plugin</artifactId>
  111. <executions>
  112. <!-- Package booking service facade classes in separate jar -->
  113. <execution>
  114. <id>package-booking-facade</id>
  115. <phase>package</phase>
  116. <goals>
  117. <goal>jar</goal>
  118. </goals>
  119. <configuration>
  120. <classifier>booking-facade</classifier>
  121. <includes>
  122. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  123. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  124. </includes>
  125. <archive>
  126. <addMavenDescriptor>false</addMavenDescriptor>
  127. </archive>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <!-- Assembly -->
  133. <plugin>
  134. <artifactId>maven-assembly-plugin</artifactId>
  135. <configuration>
  136. <descriptorRefs>
  137. <descriptorRef>src</descriptorRef>
  138. </descriptorRefs>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. <dependencies>
  144. <dependency>
  145. <groupId>junit</groupId>
  146. <artifactId>junit</artifactId>
  147. <version>4.4</version>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-webmvc</artifactId>
  153. <version>${spring.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.springframework</groupId>
  157. <artifactId>spring-web</artifactId>
  158. <version>${spring.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework</groupId>
  162. <artifactId>spring</artifactId>
  163. <version>${spring.version}</version>
  164. <exclusions>
  165. <exclusion>
  166. <groupId>commons-logging</groupId>
  167. <artifactId>commons-logging</artifactId>
  168. </exclusion>
  169. </exclusions>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework</groupId>
  173. <artifactId>spring-test</artifactId>
  174. <version>${spring.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.hibernate</groupId>
  179. <artifactId>hibernate-core</artifactId>
  180. <version>3.3.1.GA</version>
  181. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  182. <exclusions>
  183. <exclusion>
  184. <groupId>org.slf4j</groupId>
  185. <artifactId>slf4j-api</artifactId>
  186. </exclusion>
  187. </exclusions>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.slf4j</groupId>
  191. <artifactId>slf4j-log4j12</artifactId>
  192. <version>1.5.6</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.slf4j</groupId>
  196. <artifactId>jcl-over-slf4j</artifactId>
  197. <version>1.5.6</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.slf4j</groupId>
  201. <artifactId>slf4j-api</artifactId>
  202. <version>1.5.6</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>javassist</groupId>
  206. <artifactId>javassist</artifactId>
  207. <version>3.8.0.GA</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.hibernate</groupId>
  211. <artifactId>hibernate-annotations</artifactId>
  212. <version>3.4.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-dbcp</groupId>
  226. <artifactId>commons-dbcp</artifactId>
  227. <version>1.2.2</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>hsqldb</groupId>
  231. <artifactId>hsqldb</artifactId>
  232. <version>1.8.0.7</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>javax.servlet</groupId>
  236. <artifactId>servlet-api</artifactId>
  237. <version>2.5</version>
  238. <scope>provided</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>taglibs</groupId>
  242. <artifactId>standard</artifactId>
  243. <version>1.1.2</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>javax.servlet</groupId>
  247. <artifactId>jstl</artifactId>
  248. <version>1.1.2</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>opensymphony</groupId>
  252. <artifactId>sitemesh</artifactId>
  253. <version>2.3</version>
  254. <scope>runtime</scope>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.activemq</groupId>
  258. <artifactId>activemq-core</artifactId>
  259. <version>5.2.0</version>
  260. <exclusions>
  261. <exclusion>
  262. <groupId>commons-logging</groupId>
  263. <artifactId>commons-logging-api</artifactId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.apache.xbean</groupId>
  269. <artifactId>xbean-spring</artifactId>
  270. <version>3.4.3</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.easymock</groupId>
  274. <artifactId>easymock</artifactId>
  275. <version>2.3</version>
  276. <scope>test</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.cxf</groupId>
  280. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  281. <version>${cxf.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.cxf</groupId>
  285. <artifactId>cxf-rt-transports-http</artifactId>
  286. <version>${cxf.version}</version>
  287. </dependency>
  288. </dependencies>
  289. <reporting>
  290. <plugins>
  291. <!-- Javadoc -->
  292. <plugin>
  293. <artifactId>maven-javadoc-plugin</artifactId>
  294. </plugin>
  295. <!-- Source code cross reference -->
  296. <plugin>
  297. <artifactId>maven-jxr-plugin</artifactId>
  298. </plugin>
  299. <!-- Test report -->
  300. <plugin>
  301. <artifactId>maven-surefire-report-plugin</artifactId>
  302. </plugin>
  303. <!-- Test coverage -->
  304. <plugin>
  305. <groupId>org.codehaus.mojo</groupId>
  306. <artifactId>cobertura-maven-plugin</artifactId>
  307. </plugin>
  308. <!-- CheckStyle report -->
  309. <plugin>
  310. <artifactId>maven-checkstyle-plugin</artifactId>
  311. <configuration>
  312. <configLocation>src/main/config/checkstyle.xml</configLocation>
  313. <!-- Java source code generated from WSDL -->
  314. <excludes>**/com/aggregator/**/*</excludes>
  315. </configuration>
  316. </plugin>
  317. </plugins>
  318. </reporting>
  319. </project>