pom.xml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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.6</source>
  105. <target>1.6</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. <configuration>
  114. <scanIntervalSeconds>3</scanIntervalSeconds>
  115. </configuration>
  116. </plugin>
  117. <!-- Generates WSDL from Java
  118. <plugin>
  119. <groupId>org.apache.cxf</groupId>
  120. <artifactId>cxf-java2ws-plugin</artifactId>
  121. <version>${cxf.version}</version>
  122. <dependencies>
  123. <dependency>
  124. <groupId>org.apache.cxf</groupId>
  125. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  126. <version>${cxf.version}</version>
  127. </dependency>
  128. </dependencies>
  129. <executions>
  130. <execution>
  131. <phase>process-classes</phase>
  132. <configuration>
  133. <className>se.citerus.dddsample.interfaces.handling.ws.HandlingReportService</className>
  134. <genWsdl>true</genWsdl>
  135. <verbose>true</verbose>
  136. </configuration>
  137. <goals>
  138. <goal>java2ws</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. -->
  144. <plugin>
  145. <artifactId>maven-jar-plugin</artifactId>
  146. <executions>
  147. <!-- Package WS api classes in separate jar -->
  148. <execution>
  149. <id>package-ws-client</id>
  150. <phase>package</phase>
  151. <goals>
  152. <goal>jar</goal>
  153. </goals>
  154. <configuration>
  155. <classifier>ws-client</classifier>
  156. <includes>
  157. <include>**/com/aggregator/*.class</include>
  158. </includes>
  159. <archive>
  160. <addMavenDescriptor>false</addMavenDescriptor>
  161. </archive>
  162. </configuration>
  163. </execution>
  164. <!-- Package booking service facade classes in separate jar -->
  165. <execution>
  166. <id>package-booking-facade</id>
  167. <phase>package</phase>
  168. <goals>
  169. <goal>jar</goal>
  170. </goals>
  171. <configuration>
  172. <classifier>booking-facade</classifier>
  173. <includes>
  174. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  175. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  176. </includes>
  177. <archive>
  178. <addMavenDescriptor>false</addMavenDescriptor>
  179. </archive>
  180. </configuration>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. <!-- Assembly -->
  185. <plugin>
  186. <artifactId>maven-assembly-plugin</artifactId>
  187. <configuration>
  188. <descriptorRefs>
  189. <descriptorRef>src</descriptorRef>
  190. </descriptorRefs>
  191. </configuration>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. <dependencies>
  196. <dependency>
  197. <groupId>junit</groupId>
  198. <artifactId>junit</artifactId>
  199. <version>4.4</version>
  200. <scope>test</scope>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.springframework</groupId>
  204. <artifactId>spring-webmvc</artifactId>
  205. <version>${spring.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.springframework</groupId>
  209. <artifactId>spring-orm</artifactId>
  210. <version>${spring.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.springframework</groupId>
  214. <artifactId>spring-jdbc</artifactId>
  215. <version>${spring.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.springframework</groupId>
  219. <artifactId>spring-aop</artifactId>
  220. <version>${spring.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.springframework</groupId>
  224. <artifactId>spring-jms</artifactId>
  225. <version>${spring.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.springframework</groupId>
  229. <artifactId>spring-test</artifactId>
  230. <version>${spring.version}</version>
  231. <scope>test</scope>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.hibernate</groupId>
  235. <artifactId>hibernate-core</artifactId>
  236. <version>3.3.1.GA</version>
  237. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  238. <exclusions>
  239. <exclusion>
  240. <groupId>org.slf4j</groupId>
  241. <artifactId>slf4j-api</artifactId>
  242. </exclusion>
  243. </exclusions>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.slf4j</groupId>
  247. <artifactId>slf4j-log4j12</artifactId>
  248. <version>1.5.6</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.slf4j</groupId>
  252. <artifactId>jcl-over-slf4j</artifactId>
  253. <version>1.5.6</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>javassist</groupId>
  257. <artifactId>javassist</artifactId>
  258. <version>3.8.0.GA</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.hibernate</groupId>
  262. <artifactId>hibernate-annotations</artifactId>
  263. <version>3.4.0.GA</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>commons-lang</groupId>
  267. <artifactId>commons-lang</artifactId>
  268. <version>2.3</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>commons-io</groupId>
  272. <artifactId>commons-io</artifactId>
  273. <version>1.3.1</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>commons-dbcp</groupId>
  277. <artifactId>commons-dbcp</artifactId>
  278. <version>1.2.2</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>hsqldb</groupId>
  282. <artifactId>hsqldb</artifactId>
  283. <version>1.8.0.7</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>javax.servlet</groupId>
  287. <artifactId>servlet-api</artifactId>
  288. <version>2.5</version>
  289. <scope>provided</scope>
  290. </dependency>
  291. <dependency>
  292. <groupId>taglibs</groupId>
  293. <artifactId>standard</artifactId>
  294. <version>1.1.2</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>javax.servlet</groupId>
  298. <artifactId>jstl</artifactId>
  299. <version>1.1.2</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>opensymphony</groupId>
  303. <artifactId>sitemesh</artifactId>
  304. <version>2.3</version>
  305. <scope>runtime</scope>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.apache.activemq</groupId>
  309. <artifactId>activemq-core</artifactId>
  310. <version>5.2.0</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.apache.xbean</groupId>
  314. <artifactId>xbean-spring</artifactId>
  315. <version>3.4.3</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.easymock</groupId>
  319. <artifactId>easymock</artifactId>
  320. <version>2.3</version>
  321. <scope>test</scope>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.apache.cxf</groupId>
  325. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  326. <version>${cxf.version}</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.apache.cxf</groupId>
  330. <artifactId>cxf-rt-transports-http</artifactId>
  331. <version>${cxf.version}</version>
  332. </dependency>
  333. </dependencies>
  334. <reporting>
  335. <plugins>
  336. <!-- Javadoc -->
  337. <plugin>
  338. <artifactId>maven-javadoc-plugin</artifactId>
  339. </plugin>
  340. <!-- Source code cross reference -->
  341. <plugin>
  342. <artifactId>maven-jxr-plugin</artifactId>
  343. </plugin>
  344. <!-- Test report -->
  345. <plugin>
  346. <artifactId>maven-surefire-report-plugin</artifactId>
  347. </plugin>
  348. <!-- Test coverage -->
  349. <plugin>
  350. <groupId>org.codehaus.mojo</groupId>
  351. <artifactId>cobertura-maven-plugin</artifactId>
  352. </plugin>
  353. <!-- CheckStyle report -->
  354. <plugin>
  355. <artifactId>maven-checkstyle-plugin</artifactId>
  356. <configuration>
  357. <configLocation>checkstyle.xml</configLocation>
  358. </configuration>
  359. </plugin>
  360. </plugins>
  361. </reporting>
  362. </project>