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.

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