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.
 
 

135 regels
3.9 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. </dependencies>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.codehaus.mojo</groupId>
  41. <artifactId>exec-maven-plugin</artifactId>
  42. <version>1.2.1</version>
  43. <configuration>
  44. <mainClass>libsys.Main</mainClass>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.codehaus.mojo</groupId>
  49. <artifactId>cobertura-maven-plugin</artifactId>
  50. <version>2.7</version>
  51. <configuration>
  52. <formats>
  53. <format>html</format>
  54. <format>xml</format>
  55. </formats>
  56. <check />
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-assembly-plugin</artifactId>
  61. <configuration>
  62. <archive>
  63. <manifest>
  64. <mainClass>libsys.Main</mainClass>
  65. </manifest>
  66. </archive>
  67. <descriptorRefs>
  68. <descriptorRef>jar-with-dependencies</descriptorRef>
  69. </descriptorRefs>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.jetbrains.kotlin</groupId>
  74. <artifactId>kotlin-maven-plugin</artifactId>
  75. <version>${kotlin.version}</version>
  76. <executions>
  77. <execution>
  78. <id>compile</id>
  79. <phase>process-sources</phase>
  80. <goals>
  81. <goal>compile</goal>
  82. </goals>
  83. <configuration>
  84. <sourceDirs>
  85. <source>src/main/java</source>
  86. <source>src/main/kotlin</source>
  87. </sourceDirs>
  88. </configuration>
  89. </execution>
  90. <execution>
  91. <id>test-compile</id>
  92. <phase>process-test-sources</phase>
  93. <goals>
  94. <goal>test-compile</goal>
  95. </goals>
  96. <configuration>
  97. <sourceDirs>
  98. <source>src/test/java</source>
  99. </sourceDirs>
  100. </configuration>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <version>3.5</version>
  108. <executions>
  109. <execution>
  110. <id>compile</id>
  111. <phase>compile</phase>
  112. <goals>
  113. <goal>compile</goal>
  114. </goals>
  115. </execution>
  116. <execution>
  117. <id>testCompile</id>
  118. <phase>test-compile</phase>
  119. <goals>
  120. <goal>testCompile</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. <configuration>
  125. <source>1.6</source>
  126. <target>1.6</target>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>