Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

160 řádky
4.7 KiB

  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>LibrarySystem</groupId>
  5. <artifactId>libsys</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0</version>
  8. <name>LibrarySystem</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <kotlin.version>1.1.3-2</kotlin.version>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.json</groupId>
  16. <artifactId>org.json</artifactId>
  17. <version>chargebee-1.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.jetbrains.kotlin</groupId>
  21. <artifactId>kotlin-stdlib-jre8</artifactId>
  22. <version>${kotlin.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.jetbrains.kotlin</groupId>
  26. <artifactId>kotlin-test</artifactId>
  27. <version>${kotlin.version}</version>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.intellij</groupId>
  32. <artifactId>forms_rt</artifactId>
  33. <version>7.0.3</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.junit.jupiter</groupId>
  37. <artifactId>junit-jupiter-api</artifactId>
  38. <version>RELEASE</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <version>4.12</version>
  44. <scope>test</scope>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.codehaus.mojo</groupId>
  51. <artifactId>ideauidesigner-maven-plugin</artifactId>
  52. <version>1.0-beta-1</version>
  53. <executions>
  54. <execution>
  55. <goals>
  56. <goal>javac2</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. <configuration>
  61. <fork>true</fork>
  62. <debug>true</debug>
  63. <failOnError>true</failOnError>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.codehaus.mojo</groupId>
  68. <artifactId>exec-maven-plugin</artifactId>
  69. <version>1.2.1</version>
  70. <configuration>
  71. <mainClass>libsys.Main</mainClass>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.codehaus.mojo</groupId>
  76. <artifactId>cobertura-maven-plugin</artifactId>
  77. <version>2.7</version>
  78. <configuration>
  79. <formats>
  80. <format>html</format>
  81. <format>xml</format>
  82. </formats>
  83. <check />
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-assembly-plugin</artifactId>
  88. <configuration>
  89. <archive>
  90. <manifest>
  91. <mainClass>libsys.Main</mainClass>
  92. </manifest>
  93. </archive>
  94. <descriptorRefs>
  95. <descriptorRef>jar-with-dependencies</descriptorRef>
  96. </descriptorRefs>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.jetbrains.kotlin</groupId>
  101. <artifactId>kotlin-maven-plugin</artifactId>
  102. <version>${kotlin.version}</version>
  103. <executions>
  104. <execution>
  105. <id>compile</id>
  106. <phase>process-sources</phase>
  107. <goals>
  108. <goal>compile</goal>
  109. </goals>
  110. <configuration>
  111. <sourceDirs>
  112. <source>src/main/java</source>
  113. <source>src/main/kotlin</source>
  114. </sourceDirs>
  115. </configuration>
  116. </execution>
  117. <execution>
  118. <id>test-compile</id>
  119. <phase>process-test-sources</phase>
  120. <goals>
  121. <goal>test-compile</goal>
  122. </goals>
  123. <configuration>
  124. <sourceDirs>
  125. <source>src/test/java</source>
  126. <source>src/test/kotlin</source>
  127. </sourceDirs>
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-compiler-plugin</artifactId>
  135. <version>3.5</version>
  136. <executions>
  137. <execution>
  138. <id>compile</id>
  139. <phase>compile</phase>
  140. <goals>
  141. <goal>compile</goal>
  142. </goals>
  143. </execution>
  144. <execution>
  145. <id>testCompile</id>
  146. <phase>test-compile</phase>
  147. <goals>
  148. <goal>testCompile</goal>
  149. </goals>
  150. </execution>
  151. </executions>
  152. <configuration>
  153. <source>1.6</source>
  154. <target>1.6</target>
  155. </configuration>
  156. </plugin>
  157. </plugins>
  158. </build>
  159. </project>