pom.xml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. <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 servlet container: http://jetty.mortbay.com/maven-plugin -->
  105. <plugin>
  106. <groupId>org.mortbay.jetty</groupId>
  107. <artifactId>maven-jetty-plugin</artifactId>
  108. <configuration>
  109. <scanIntervalSeconds>3</scanIntervalSeconds>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <artifactId>maven-jar-plugin</artifactId>
  114. <executions>
  115. <!-- Package WS api classes in separate jar -->
  116. <execution>
  117. <id>package-ws-client</id>
  118. <phase>package</phase>
  119. <goals>
  120. <goal>jar</goal>
  121. </goals>
  122. <configuration>
  123. <classifier>ws-client</classifier>
  124. <includes>
  125. <include>**/com/aggregator/*.class</include>
  126. </includes>
  127. <archive>
  128. <addMavenDescriptor>false</addMavenDescriptor>
  129. </archive>
  130. </configuration>
  131. </execution>
  132. <!-- Package booking service facade classes in separate jar -->
  133. <execution>
  134. <id>package-booking-facade</id>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>jar</goal>
  138. </goals>
  139. <configuration>
  140. <classifier>booking-facade</classifier>
  141. <includes>
  142. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  143. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  144. </includes>
  145. <archive>
  146. <addMavenDescriptor>false</addMavenDescriptor>
  147. </archive>
  148. </configuration>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <!-- Assembly -->
  153. <plugin>
  154. <artifactId>maven-assembly-plugin</artifactId>
  155. <configuration>
  156. <descriptorRefs>
  157. <descriptorRef>src</descriptorRef>
  158. </descriptorRefs>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. <dependencies>
  164. <dependency>
  165. <groupId>junit</groupId>
  166. <artifactId>junit</artifactId>
  167. <version>4.4</version>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-webmvc</artifactId>
  173. <version>${spring.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework</groupId>
  177. <artifactId>spring</artifactId>
  178. <version>${spring.version}</version>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>commons-logging</groupId>
  182. <artifactId>commons-logging</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-test</artifactId>
  189. <version>${spring.version}</version>
  190. <scope>test</scope>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.hibernate</groupId>
  194. <artifactId>hibernate-core</artifactId>
  195. <version>3.3.1.GA</version>
  196. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  197. <exclusions>
  198. <exclusion>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>slf4j-api</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.slf4j</groupId>
  206. <artifactId>slf4j-log4j12</artifactId>
  207. <version>1.5.6</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.slf4j</groupId>
  211. <artifactId>jcl-over-slf4j</artifactId>
  212. <version>1.5.6</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.slf4j</groupId>
  216. <artifactId>slf4j-api</artifactId>
  217. <version>1.5.6</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>javassist</groupId>
  221. <artifactId>javassist</artifactId>
  222. <version>3.8.0.GA</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.hibernate</groupId>
  226. <artifactId>hibernate-annotations</artifactId>
  227. <version>3.4.0.GA</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>commons-lang</groupId>
  231. <artifactId>commons-lang</artifactId>
  232. <version>2.3</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>commons-io</groupId>
  236. <artifactId>commons-io</artifactId>
  237. <version>1.3.1</version>
  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.2.0</version>
  275. <exclusions>
  276. <exclusion>
  277. <groupId>commons-logging</groupId>
  278. <artifactId>commons-logging-api</artifactId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.xbean</groupId>
  284. <artifactId>xbean-spring</artifactId>
  285. <version>3.4.3</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.easymock</groupId>
  289. <artifactId>easymock</artifactId>
  290. <version>2.3</version>
  291. <scope>test</scope>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.cxf</groupId>
  295. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  296. <version>${cxf.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.cxf</groupId>
  300. <artifactId>cxf-rt-transports-http</artifactId>
  301. <version>${cxf.version}</version>
  302. </dependency>
  303. </dependencies>
  304. <reporting>
  305. <plugins>
  306. <!-- Javadoc -->
  307. <plugin>
  308. <artifactId>maven-javadoc-plugin</artifactId>
  309. </plugin>
  310. <!-- Source code cross reference -->
  311. <plugin>
  312. <artifactId>maven-jxr-plugin</artifactId>
  313. </plugin>
  314. <!-- Test report -->
  315. <plugin>
  316. <artifactId>maven-surefire-report-plugin</artifactId>
  317. </plugin>
  318. <!-- Test coverage -->
  319. <plugin>
  320. <groupId>org.codehaus.mojo</groupId>
  321. <artifactId>cobertura-maven-plugin</artifactId>
  322. </plugin>
  323. <!-- CheckStyle report -->
  324. <plugin>
  325. <artifactId>maven-checkstyle-plugin</artifactId>
  326. <configuration>
  327. <configLocation>src/main/config/checkstyle.xml</configLocation>
  328. <!-- Java source code generated from WSDL -->
  329. <excludes>**/com/aggregator/**/*</excludes>
  330. </configuration>
  331. </plugin>
  332. </plugins>
  333. </reporting>
  334. </project>