pom.xml 9.5KB

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