pom.xml 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. </properties>
  72. <build>
  73. <defaultGoal>package</defaultGoal>
  74. <plugins>
  75. <!-- Compiler -->
  76. <plugin>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <configuration>
  79. <source>1.6</source>
  80. <target>1.6</target>
  81. <encoding>UTF-8</encoding>
  82. </configuration>
  83. </plugin>
  84. <!-- Jetty plugin -->
  85. <plugin>
  86. <groupId>org.mortbay.jetty</groupId>
  87. <artifactId>maven-jetty-plugin</artifactId>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-jar-plugin</artifactId>
  91. <executions>
  92. <!-- Package booking service facade classes in separate jar -->
  93. <execution>
  94. <id>package-booking-facade</id>
  95. <phase>package</phase>
  96. <goals>
  97. <goal>jar</goal>
  98. </goals>
  99. <configuration>
  100. <classifier>booking-facade</classifier>
  101. <includes>
  102. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  103. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  104. </includes>
  105. <archive>
  106. <addMavenDescriptor>false</addMavenDescriptor>
  107. </archive>
  108. </configuration>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <!-- Assembly -->
  113. <plugin>
  114. <artifactId>maven-assembly-plugin</artifactId>
  115. <configuration>
  116. <descriptorRefs>
  117. <descriptorRef>src</descriptorRef>
  118. </descriptorRefs>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. <dependencies>
  124. <dependency>
  125. <groupId>junit</groupId>
  126. <artifactId>junit</artifactId>
  127. <version>4.4</version>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-webmvc</artifactId>
  133. <version>${spring.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-web</artifactId>
  138. <version>${spring.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring</artifactId>
  143. <version>${spring.version}</version>
  144. <exclusions>
  145. <exclusion>
  146. <groupId>commons-logging</groupId>
  147. <artifactId>commons-logging</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework</groupId>
  153. <artifactId>spring-test</artifactId>
  154. <version>${spring.version}</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.hibernate</groupId>
  159. <artifactId>hibernate-core</artifactId>
  160. <version>3.3.1.GA</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.slf4j</groupId>
  164. <artifactId>slf4j-log4j12</artifactId>
  165. <version>1.5.6</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.slf4j</groupId>
  169. <artifactId>jcl-over-slf4j</artifactId>
  170. <version>1.5.6</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.slf4j</groupId>
  174. <artifactId>slf4j-api</artifactId>
  175. <version>1.5.6</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>javassist</groupId>
  179. <artifactId>javassist</artifactId>
  180. <version>3.8.0.GA</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.hibernate</groupId>
  184. <artifactId>hibernate-annotations</artifactId>
  185. <version>3.4.0.GA</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>commons-lang</groupId>
  189. <artifactId>commons-lang</artifactId>
  190. <version>2.3</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>commons-io</groupId>
  194. <artifactId>commons-io</artifactId>
  195. <version>1.3.1</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>commons-dbcp</groupId>
  199. <artifactId>commons-dbcp</artifactId>
  200. <version>1.2.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>hsqldb</groupId>
  204. <artifactId>hsqldb</artifactId>
  205. <version>1.8.0.7</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>javax.servlet</groupId>
  209. <artifactId>servlet-api</artifactId>
  210. <version>2.5</version>
  211. <scope>provided</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>taglibs</groupId>
  215. <artifactId>standard</artifactId>
  216. <version>1.1.2</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>javax.servlet</groupId>
  220. <artifactId>jstl</artifactId>
  221. <version>1.1.2</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>opensymphony</groupId>
  225. <artifactId>sitemesh</artifactId>
  226. <version>2.3</version>
  227. <scope>runtime</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.activemq</groupId>
  231. <artifactId>activemq-core</artifactId>
  232. <version>5.2.0</version>
  233. <exclusions>
  234. <exclusion>
  235. <groupId>commons-logging</groupId>
  236. <artifactId>commons-logging-api</artifactId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.xbean</groupId>
  242. <artifactId>xbean-spring</artifactId>
  243. <version>3.4.3</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.easymock</groupId>
  247. <artifactId>easymock</artifactId>
  248. <version>2.3</version>
  249. <scope>test</scope>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.cxf</groupId>
  253. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  254. <version>${cxf.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.cxf</groupId>
  258. <artifactId>cxf-rt-transports-http</artifactId>
  259. <version>${cxf.version}</version>
  260. </dependency>
  261. </dependencies>
  262. <reporting>
  263. <plugins>
  264. <!-- Javadoc -->
  265. <plugin>
  266. <artifactId>maven-javadoc-plugin</artifactId>
  267. </plugin>
  268. <!-- Source code cross reference -->
  269. <plugin>
  270. <artifactId>maven-jxr-plugin</artifactId>
  271. </plugin>
  272. <!-- Test report -->
  273. <plugin>
  274. <artifactId>maven-surefire-report-plugin</artifactId>
  275. </plugin>
  276. <!-- Test coverage -->
  277. <plugin>
  278. <groupId>org.codehaus.mojo</groupId>
  279. <artifactId>cobertura-maven-plugin</artifactId>
  280. </plugin>
  281. <!-- CheckStyle report -->
  282. <plugin>
  283. <artifactId>maven-checkstyle-plugin</artifactId>
  284. <configuration>
  285. <configLocation>src/main/config/checkstyle.xml</configLocation>
  286. <!-- Java source code generated from WSDL -->
  287. <excludes>**/com/aggregator/**/*</excludes>
  288. </configuration>
  289. </plugin>
  290. </plugins>
  291. </reporting>
  292. </project>