You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

223 lines
7.0 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.sothr.imagetools</groupId>
  6. <artifactId>parent</artifactId>
  7. <version>1.0.1</version>
  8. <relativePath>../parent</relativePath>
  9. </parent>
  10. <artifactId>engine</artifactId>
  11. <version>0.1.3</version>
  12. <packaging>jar</packaging>
  13. <name>ImageTools-Engine</name>
  14. <description>An image collection management utility</description>
  15. <url>http://imagetools.sothr.com</url>
  16. <organization>
  17. <name>Sothr Software</name>
  18. </organization>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.sothr.imagetools</groupId>
  22. <artifactId>hash</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>junit</groupId>
  26. <artifactId>junit</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.scalatest</groupId>
  31. <artifactId>scalatest_${scala.binary.version}</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>ch.qos.logback</groupId>
  36. <artifactId>logback-core</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>ch.qos.logback</groupId>
  40. <artifactId>logback-classic</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>ch.qos.logback</groupId>
  44. <artifactId>logback-access</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>slf4j-api</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.clapper</groupId>
  52. <artifactId>grizzled-slf4j_${scala.binary.version}</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.scala-lang</groupId>
  56. <artifactId>scala-library</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.jsuereth</groupId>
  60. <artifactId>scala-arm_${scala.binary.version}</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>net.coobird</groupId>
  64. <artifactId>thumbnailator</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.typesafe</groupId>
  68. <artifactId>config</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>net.sourceforge.jtransforms</groupId>
  72. <artifactId>jtransforms</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-cli</groupId>
  76. <artifactId>commons-cli</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-codec</groupId>
  80. <artifactId>commons-codec</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>javax.transaction</groupId>
  84. <artifactId>jta</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>net.sf.ehcache</groupId>
  88. <artifactId>ehcache</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.typesafe.akka</groupId>
  92. <artifactId>akka-actor_${scala.binary.version}</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.typesafe.akka</groupId>
  96. <artifactId>akka-slf4j_${scala.binary.version}</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.h2database</groupId>
  100. <artifactId>h2</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.hibernate</groupId>
  104. <artifactId>hibernate-core</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.hibernate</groupId>
  108. <artifactId>hibernate-ehcache</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>net.sf.ehcache</groupId>
  112. <artifactId>ehcache-core</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.hibernate</groupId>
  116. <artifactId>hibernate-c3p0</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.commonjava.googlecode.markdown4j</groupId>
  120. <artifactId>markdown4j</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.jsuereth</groupId>
  124. <artifactId>scala-arm_${scala.binary.version}</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.twelvemonkeys.imageio</groupId>
  128. <artifactId>imageio-jpeg</artifactId>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <plugins>
  133. <!-- enable surefire for java tests-->
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-surefire-plugin</artifactId>
  137. <version>2.7</version>
  138. <configuration>
  139. <skipTests>false</skipTests>
  140. </configuration>
  141. </plugin>
  142. <!-- enable scalatest for scala tests-->
  143. <plugin>
  144. <groupId>org.scalatest</groupId>
  145. <artifactId>scalatest-maven-plugin</artifactId>
  146. <version>1.0-RC2</version>
  147. <configuration>
  148. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  149. <junitxml>.</junitxml>
  150. <filereports>WDF TestSuite.txt</filereports>
  151. <argLine>-Xmx128m</argLine>
  152. </configuration>
  153. <executions>
  154. <execution>
  155. <id>test</id>
  156. <goals>
  157. <goal>test</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <!-- Packaging Configuration -->
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-jar-plugin</artifactId>
  166. <version>2.4</version>
  167. <executions>
  168. <execution>
  169. <phase>package</phase>
  170. <goals>
  171. <goal>jar</goal>
  172. </goals>
  173. <configuration>
  174. <archive>
  175. <manifest>
  176. <addClasspath>true</addClasspath>
  177. <classpathPrefix>lib/</classpathPrefix>
  178. </manifest>
  179. </archive>
  180. <outputDirectory>
  181. ${project.build.directory}/release
  182. </outputDirectory>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <!-- General Ant Tasks
  188. Mostly Moving Files -->
  189. <plugin>
  190. <artifactId>maven-antrun-plugin</artifactId>
  191. <version>1.4</version>
  192. <executions>
  193. <execution>
  194. <id>prepare</id>
  195. <phase>process-resources</phase>
  196. <configuration>
  197. <tasks>
  198. <!-- Copy hibernate configuration files -->
  199. <copy todir="${basedir}/src/test/resources/hibernate">
  200. <fileset dir="${basedir}/src/main/resources/hibernate" includes="**/*"/>
  201. </copy>
  202. <copy file="${project.build.directory}/LICENSE" toFile="${basedir}/LICENSE"
  203. overwrite="true"/>
  204. <copy file="${project.build.directory}/version.info" toFile="${basedir}/../version.info"
  205. overwrite="true"/>
  206. <copy file="${project.build.directory}/README.md" toFile="${basedir}/../README.md"
  207. overwrite="true"/>
  208. </tasks>
  209. </configuration>
  210. <goals>
  211. <goal>run</goal>
  212. </goals>
  213. </execution>
  214. </executions>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. </project>