pom.xml 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>at.ac.tuwien.sepm.io</groupId>
  7. <artifactId>studyr</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.mainClass>at.ac.tuwien.sepm.io.studyr.application.Main</project.mainClass>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <java.version>1.8</java.version>
  14. <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
  15. <exec-maven-plugin.version>1.4.0</exec-maven-plugin.version>
  16. <maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
  17. <!-- compile -->
  18. <spring.version>4.2.5.RELEASE</spring.version>
  19. <slf4j.version>1.7.21</slf4j.version>
  20. <!-- runtime -->
  21. <h2.version>1.4.191</h2.version>
  22. <log4j.version>2.5</log4j.version>
  23. <!-- test -->
  24. <junit.version>4.12</junit.version>
  25. <mockito-all.version>2.0.2-beta</mockito-all.version>
  26. </properties>
  27. <dependencies>
  28. <!-- compile -->
  29. <dependency>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-core</artifactId>
  32. <version>${spring.version}</version>
  33. <exclusions>
  34. <exclusion>
  35. <artifactId>commons-logging</artifactId>
  36. <groupId>commons-logging</groupId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-context</artifactId>
  43. <version>${spring.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.slf4j</groupId>
  47. <artifactId>slf4j-api</artifactId>
  48. <version>${slf4j.version}</version>
  49. </dependency>
  50. <!-- runtime -->
  51. <dependency>
  52. <groupId>com.h2database</groupId>
  53. <artifactId>h2</artifactId>
  54. <version>${h2.version}</version>
  55. <scope>runtime</scope>
  56. </dependency>
  57. <!-- http://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. <version>6.0.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.slf4j</groupId>
  65. <artifactId>jcl-over-slf4j</artifactId>
  66. <version>${slf4j.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.logging.log4j</groupId>
  70. <artifactId>log4j-api</artifactId>
  71. <version>${log4j.version}</version>
  72. <scope>runtime</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.logging.log4j</groupId>
  76. <artifactId>log4j-core</artifactId>
  77. <version>${log4j.version}</version>
  78. <scope>runtime</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.logging.log4j</groupId>
  82. <artifactId>log4j-slf4j-impl</artifactId>
  83. <version>${log4j.version}</version>
  84. <scope>runtime</scope>
  85. </dependency>
  86. <!-- testing -->
  87. <dependency>
  88. <groupId>junit</groupId>
  89. <artifactId>junit</artifactId>
  90. <version>${junit.version}</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.mockito</groupId>
  95. <artifactId>mockito-all</artifactId>
  96. <version>${mockito-all.version}</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework</groupId>
  101. <artifactId>spring-test</artifactId>
  102. <version>4.2.6.RELEASE</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.mnode.ical4j</groupId>
  106. <artifactId>ical4j</artifactId>
  107. <version>1.0.7</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.controlsfx</groupId>
  111. <artifactId>controlsfx</artifactId>
  112. <version>8.40.10</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.itextpdf</groupId>
  116. <artifactId>itextpdf</artifactId>
  117. <version>5.5.9</version>
  118. </dependency>
  119. <dependency>
  120. <!-- jsoup HTML parser library @ http://jsoup.org/ -->
  121. <groupId>org.jsoup</groupId>
  122. <artifactId>jsoup</artifactId>
  123. <version>1.9.2</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.commons</groupId>
  127. <artifactId>commons-lang3</artifactId>
  128. <version>3.4</version>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-compiler-plugin</artifactId>
  136. <version>${maven-compiler-plugin.version}</version>
  137. <configuration>
  138. <source>${java.version}</source>
  139. <target>${java.version}</target>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.codehaus.mojo</groupId>
  144. <artifactId>exec-maven-plugin</artifactId>
  145. <version>${exec-maven-plugin.version}</version>
  146. <configuration>
  147. <mainClass>${project.mainClass}</mainClass>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-shade-plugin</artifactId>
  153. <version>${maven-shade-plugin.version}</version>
  154. <executions>
  155. <execution>
  156. <phase>package</phase>
  157. <goals>
  158. <goal>shade</goal>
  159. </goals>
  160. </execution>
  161. </executions>
  162. <configuration>
  163. <transformers>
  164. <transformer
  165. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  166. <mainClass>${project.mainClass}</mainClass>
  167. </transformer>
  168. </transformers>
  169. <shadedArtifactAttached>false</shadedArtifactAttached>
  170. <createDependencyReducedPom>false</createDependencyReducedPom>
  171. </configuration>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.codehaus.mojo</groupId>
  175. <artifactId>sonar-maven-plugin</artifactId>
  176. <version>2.7.1</version>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. </project>