pom.xml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>se.citerus</groupId>
  4. <artifactId>dddsample</artifactId>
  5. <packaging>war</packaging>
  6. <name>DDDSample</name>
  7. <version>2.0-SNAPSHOT</version>
  8. <description>This application shows a few key concepts of
  9. Domain Driven Design implemented in Enterprise Java.
  10. </description>
  11. <url>http://dddsample.sourceforge.net</url>
  12. <distributionManagement>
  13. <site>
  14. <id>sf</id>
  15. <url>scp://shell.sf.net/home/groups/d/dd/dddsample/htdocs/preview</url>
  16. </site>
  17. </distributionManagement>
  18. <ciManagement />
  19. <developers>
  20. <developer>
  21. <id>eric_evans</id>
  22. <name>Eric Evans</name>
  23. <organization>Domain Language, Inc.</organization>
  24. <organizationUrl>http://www.domainlanguage.com</organizationUrl>
  25. <timezone>-8</timezone>
  26. </developer>
  27. <developer>
  28. <id>peba</id>
  29. <name>Peter Backlund</name>
  30. <organization>Citerus</organization>
  31. <organizationUrl>http://www.citerus.se</organizationUrl>
  32. <timezone>+1</timezone>
  33. </developer>
  34. <developer>
  35. <id>patrikfr</id>
  36. <name>Patrik Fredriksson</name>
  37. <organization>Citerus</organization>
  38. <organizationUrl>http://www.citerus.se</organizationUrl>
  39. <timezone>+1</timezone>
  40. </developer>
  41. <developer>
  42. <id>jeham</id>
  43. <name>Jesper Hammarback</name>
  44. <organization>Citerus</organization>
  45. <organizationUrl>http://www.citerus.se</organizationUrl>
  46. <timezone>+1</timezone>
  47. </developer>
  48. <developer>
  49. <id>jorgen_falk</id>
  50. <name>Jorgen Falk</name>
  51. <organization>Citerus</organization>
  52. <organizationUrl>http://www.citerus.se</organizationUrl>
  53. <timezone>+1</timezone>
  54. </developer>
  55. </developers>
  56. <licenses>
  57. <license>
  58. <name>MIT</name>
  59. <url>http://www.opensource.org/licenses/mit-license.php</url>
  60. <distribution>repo</distribution>
  61. </license>
  62. </licenses>
  63. <scm>
  64. <developerConnection>scm:git:https://github.com/citerus/dddsample-core</developerConnection>
  65. <url>https://github.com/citerus/dddsample-core</url>
  66. </scm>
  67. <properties>
  68. <java.version>1.8</java.version>
  69. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  70. <!-- Dependencies -->
  71. <spring.version>4.2.1.RELEASE</spring.version>
  72. <cxf.version>3.0.3</cxf.version>
  73. <!-- Plugin versions -->
  74. <maven-jetty-plugin.version>8.1.16.v20140903</maven-jetty-plugin.version>
  75. <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
  76. <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
  77. <maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
  78. </properties>
  79. <build>
  80. <plugins>
  81. <!-- Compiler -->
  82. <plugin>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <version>${maven-compiler-plugin.version}</version>
  85. <configuration>
  86. <source>${java.version}</source>
  87. <target>${java.version}</target>
  88. <encoding>${project.build.sourceEncoding}</encoding>
  89. </configuration>
  90. </plugin>
  91. <!-- Jetty plugin -->
  92. <plugin>
  93. <groupId>org.mortbay.jetty</groupId>
  94. <artifactId>maven-jetty-plugin</artifactId>
  95. <version>${maven-jetty-plugin.version}</version>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-jar-plugin</artifactId>
  99. <version>${maven-jar-plugin.version}</version>
  100. <executions>
  101. <!-- Package booking service facade classes in separate jar -->
  102. <execution>
  103. <id>package-booking-facade</id>
  104. <phase>package</phase>
  105. <goals>
  106. <goal>jar</goal>
  107. </goals>
  108. <configuration>
  109. <classifier>booking-facade</classifier>
  110. <includes>
  111. <include>**/se/citerus/dddsample/interfaces/booking/facade/*.class</include>
  112. <include>**/se/citerus/dddsample/interfaces/booking/facade/dto/*.class</include>
  113. </includes>
  114. <archive>
  115. <addMavenDescriptor>false</addMavenDescriptor>
  116. </archive>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <!-- Assembly -->
  122. <plugin>
  123. <artifactId>maven-assembly-plugin</artifactId>
  124. <version>${maven-assembly-plugin.version}</version>
  125. <configuration>
  126. <descriptorRefs>
  127. <descriptorRef>src</descriptorRef>
  128. </descriptorRefs>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <dependencies>
  134. <dependency>
  135. <groupId>junit</groupId>
  136. <artifactId>junit</artifactId>
  137. <version>4.12</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-webmvc</artifactId>
  143. <version>${spring.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-tx</artifactId>
  148. <version>${spring.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-jdbc</artifactId>
  153. <version>${spring.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.springframework</groupId>
  157. <artifactId>spring-jms</artifactId>
  158. <version>${spring.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework</groupId>
  162. <artifactId>spring-orm</artifactId>
  163. <version>${spring.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework</groupId>
  167. <artifactId>spring-web</artifactId>
  168. <version>${spring.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-test</artifactId>
  173. <version>${spring.version}</version>
  174. <scope>test</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.hibernate</groupId>
  178. <artifactId>hibernate-core</artifactId>
  179. <version>4.3.5.Final</version>
  180. <!-- God, what is it with Java and logging frameworks... http://forum.hibernate.org/viewtopic.php?p=2401380 -->
  181. <exclusions>
  182. <exclusion>
  183. <groupId>org.slf4j</groupId>
  184. <artifactId>slf4j-api</artifactId>
  185. </exclusion>
  186. </exclusions>
  187. </dependency>
  188. <dependency>
  189. <groupId>commons-collections</groupId>
  190. <artifactId>commons-collections</artifactId>
  191. <version>3.2.1</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.slf4j</groupId>
  195. <artifactId>slf4j-log4j12</artifactId>
  196. <version>1.5.6</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>jcl-over-slf4j</artifactId>
  201. <version>1.5.6</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.slf4j</groupId>
  205. <artifactId>slf4j-api</artifactId>
  206. <version>1.5.6</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>javassist</groupId>
  210. <artifactId>javassist</artifactId>
  211. <version>3.8.0.GA</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>commons-lang</groupId>
  215. <artifactId>commons-lang</artifactId>
  216. <version>2.3</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>commons-io</groupId>
  220. <artifactId>commons-io</artifactId>
  221. <version>1.3.1</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>commons-dbcp</groupId>
  225. <artifactId>commons-dbcp</artifactId>
  226. <version>1.2.2</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.hsqldb</groupId>
  230. <artifactId>hsqldb</artifactId>
  231. <version>2.3.3</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>javax.servlet</groupId>
  235. <artifactId>javax.servlet-api</artifactId>
  236. <version>3.1.0</version>
  237. <scope>provided</scope>
  238. </dependency>
  239. <dependency>
  240. <groupId>taglibs</groupId>
  241. <artifactId>standard</artifactId>
  242. <version>1.1.2</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>javax.servlet</groupId>
  246. <artifactId>jstl</artifactId>
  247. <version>1.1.2</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>opensymphony</groupId>
  251. <artifactId>sitemesh</artifactId>
  252. <version>2.3</version>
  253. <scope>runtime</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.activemq</groupId>
  257. <artifactId>activemq-core</artifactId>
  258. <version>5.2.0</version>
  259. <exclusions>
  260. <exclusion>
  261. <groupId>commons-logging</groupId>
  262. <artifactId>commons-logging-api</artifactId>
  263. </exclusion>
  264. </exclusions>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.xbean</groupId>
  268. <artifactId>xbean-spring</artifactId>
  269. <version>3.4.3</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.easymock</groupId>
  273. <artifactId>easymock</artifactId>
  274. <version>2.3</version>
  275. <scope>test</scope>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.apache.cxf</groupId>
  279. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  280. <version>${cxf.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.cxf</groupId>
  284. <artifactId>cxf-rt-transports-http</artifactId>
  285. <version>${cxf.version}</version>
  286. </dependency>
  287. </dependencies>
  288. <reporting>
  289. <plugins>
  290. <!-- Javadoc -->
  291. <plugin>
  292. <artifactId>maven-javadoc-plugin</artifactId>
  293. </plugin>
  294. <!-- Source code cross reference -->
  295. <plugin>
  296. <artifactId>maven-jxr-plugin</artifactId>
  297. </plugin>
  298. <!-- Test report -->
  299. <plugin>
  300. <artifactId>maven-surefire-report-plugin</artifactId>
  301. </plugin>
  302. <!-- Test coverage -->
  303. <plugin>
  304. <groupId>org.codehaus.mojo</groupId>
  305. <artifactId>cobertura-maven-plugin</artifactId>
  306. </plugin>
  307. <!-- CheckStyle report -->
  308. <plugin>
  309. <artifactId>maven-checkstyle-plugin</artifactId>
  310. <configuration>
  311. <configLocation>src/main/config/checkstyle.xml</configLocation>
  312. <!-- Java source code generated from WSDL -->
  313. <excludes>**/com/aggregator/**/*</excludes>
  314. </configuration>
  315. </plugin>
  316. </plugins>
  317. </reporting>
  318. </project>