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.
 
 

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