pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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. <parent>
  7. <groupId>net.mamoe</groupId>
  8. <artifactId>mirai</artifactId>
  9. <version>1.0</version>
  10. </parent>
  11. <artifactId>mirai-console</artifactId>
  12. <version>1.0</version>
  13. <dependencies>
  14. <dependency>
  15. <groupId>net.mamoe</groupId>
  16. <artifactId>mirai-core</artifactId>
  17. <version>1.0</version>
  18. <scope>compile</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.jetbrains.kotlin</groupId>
  22. <artifactId>kotlin-stdlib</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.jetbrains.kotlinx</groupId>
  26. <artifactId>kotlinx-coroutines-core</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.jetbrains.kotlin</groupId>
  30. <artifactId>kotlin-test</artifactId>
  31. <version>${kotlin.version}</version>
  32. <scope>test</scope>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <resources>
  37. <resource>
  38. <directory>/src/main/resources</directory>
  39. <includes>
  40. <include>**/*.*</include>
  41. </includes>
  42. </resource>
  43. </resources>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.jetbrains.kotlin</groupId>
  47. <artifactId>kotlin-maven-plugin</artifactId>
  48. <version>${kotlin.version}</version>
  49. <executions>
  50. <execution>
  51. <id>compile</id>
  52. <phase>compile</phase>
  53. <goals>
  54. <goal>compile</goal>
  55. </goals>
  56. </execution>
  57. <execution>
  58. <id>test-compile</id>
  59. <phase>test-compile</phase>
  60. <goals>
  61. <goal>test-compile</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. <configuration>
  66. <jvmTarget>1.8</jvmTarget>
  67. </configuration>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-compiler-plugin</artifactId>
  72. <executions>
  73. <execution>
  74. <id>compile</id>
  75. <phase>compile</phase>
  76. <goals>
  77. <goal>compile</goal>
  78. </goals>
  79. </execution>
  80. <execution>
  81. <id>testCompile</id>
  82. <phase>test-compile</phase>
  83. <goals>
  84. <goal>testCompile</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>