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.

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