暂无描述

pom.xml 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. <groupId>groupId</groupId>
  7. <artifactId>mediahub</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>18</maven.compiler.source>
  11. <maven.compiler.target>18</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <scala.binary.version>2.13</scala.binary.version>
  14. </properties>
  15. <parent>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-parent</artifactId>
  18. <version>2.7.3</version>
  19. <relativePath/>
  20. </parent>
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <groupId>org.apache.maven.plugins</groupId>
  25. <artifactId>maven-compiler-plugin</artifactId>
  26. <version>3.8.1</version>
  27. <configuration>
  28. <source>18</source>
  29. <target>18</target>
  30. </configuration>
  31. </plugin>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-shade-plugin</artifactId>
  35. <version>3.2.4</version>
  36. <configuration>
  37. </configuration>
  38. <executions>
  39. <execution>
  40. <phase>package</phase>
  41. <goals>
  42. <goal>shade</goal>
  43. </goals>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <plugin>
  48. <groupId>net.alchim31.maven</groupId>
  49. <artifactId>scala-maven-plugin</artifactId>
  50. <version>3.1.3</version>
  51. <executions>
  52. <execution>
  53. <goals>
  54. <goal>compile</goal>
  55. <goal>testCompile</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. <dependencyManagement>
  63. <dependencies>
  64. <dependency>
  65. <groupId>com.typesafe.akka</groupId>
  66. <artifactId>akka-bom_${scala.binary.version}</artifactId>
  67. <version>2.6.20</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. </dependencies>
  72. </dependencyManagement>
  73. <dependencies>
  74. <!-- Scala -->
  75. <dependency>
  76. <groupId>org.scala-lang</groupId>
  77. <artifactId>scala-library</artifactId>
  78. <version>2.13.8</version>
  79. </dependency>
  80. <!-- Akka stream -->
  81. <dependency>
  82. <groupId>com.typesafe.akka</groupId>
  83. <artifactId>akka-stream_${scala.binary.version}</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.lightbend.akka</groupId>
  87. <artifactId>akka-stream-alpakka-csv_${scala.binary.version}</artifactId>
  88. <version>4.0.0</version>
  89. </dependency>
  90. <!-- alpakka -->
  91. <dependency>
  92. <groupId>com.lightbend.akka</groupId>
  93. <artifactId>akka-stream-alpakka-file_2.13</artifactId>
  94. <version>4.0.0</version>
  95. </dependency>
  96. <!-- SpringBoot -->
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-web</artifactId>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>org.slf4j</groupId>
  103. <artifactId>log4j-over-slf4j</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>ch.qos.logback</groupId>
  107. <artifactId>logback-classic</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <!-- Test -->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-test</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. </dependencies>
  118. </project>

Powered by TurnKey Linux.