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.

216 lines
6.7 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.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. <dependency>
  119. <groupId>com.twelvemonkeys.imageio</groupId>
  120. <artifactId>imageio-jpeg</artifactId>
  121. </dependency>
  122. </dependencies>
  123. <build>
  124. <plugins>
  125. <!-- enable surefire for java tests-->
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-surefire-plugin</artifactId>
  129. <version>2.7</version>
  130. <configuration>
  131. <skipTests>false</skipTests>
  132. </configuration>
  133. </plugin>
  134. <!-- enable scalatest for scala tests-->
  135. <plugin>
  136. <groupId>org.scalatest</groupId>
  137. <artifactId>scalatest-maven-plugin</artifactId>
  138. <version>1.0-RC2</version>
  139. <configuration>
  140. <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
  141. <junitxml>.</junitxml>
  142. <filereports>WDF TestSuite.txt</filereports>
  143. <argLine>-Xmx128m</argLine>
  144. </configuration>
  145. <executions>
  146. <execution>
  147. <id>test</id>
  148. <goals>
  149. <goal>test</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <!-- Packaging Configuration -->
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-jar-plugin</artifactId>
  158. <version>2.4</version>
  159. <executions>
  160. <execution>
  161. <phase>package</phase>
  162. <goals>
  163. <goal>jar</goal>
  164. </goals>
  165. <configuration>
  166. <archive>
  167. <manifest>
  168. <addClasspath>true</addClasspath>
  169. <classpathPrefix>lib/</classpathPrefix>
  170. </manifest>
  171. </archive>
  172. <outputDirectory>
  173. ${project.build.directory}/release
  174. </outputDirectory>
  175. </configuration>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <!-- General Ant Tasks
  180. Mostly Moving Files -->
  181. <plugin>
  182. <artifactId>maven-antrun-plugin</artifactId>
  183. <version>1.4</version>
  184. <executions>
  185. <execution>
  186. <id>prepare</id>
  187. <phase>process-resources</phase>
  188. <configuration>
  189. <tasks>
  190. <!-- Copy hibernate configuration files -->
  191. <copy todir="${basedir}/src/test/resources/hibernate">
  192. <fileset dir="${basedir}/src/main/resources/hibernate" includes="**/*"/>
  193. </copy>
  194. <copy file="${project.build.directory}/LICENSE" toFile="${basedir}/LICENSE"
  195. overwrite="true"/>
  196. <copy file="${project.build.directory}/version.info" toFile="${basedir}/../version.info"
  197. overwrite="true"/>
  198. <copy file="${project.build.directory}/README.md" toFile="${basedir}/../README.md"
  199. overwrite="true"/>
  200. </tasks>
  201. </configuration>
  202. <goals>
  203. <goal>run</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. </plugins>
  209. </build>
  210. </project>