dependency-reduced-pom.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>org.example</groupId>
  5. <artifactId>jiaoke_dataextract</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <build>
  8. <sourceDirectory>src/main/scala</sourceDirectory>
  9. <testSourceDirectory>src/test/scala</testSourceDirectory>
  10. <plugins>
  11. <plugin>
  12. <groupId>net.alchim31.maven</groupId>
  13. <artifactId>scala-maven-plugin</artifactId>
  14. <version>3.2.0</version>
  15. <executions>
  16. <execution>
  17. <goals>
  18. <goal>compile</goal>
  19. <goal>testCompile</goal>
  20. </goals>
  21. <configuration>
  22. <args>
  23. <arg>-dependencyfile</arg>
  24. <arg>${project.build.directory}/.scala_dependencies</arg>
  25. </args>
  26. </configuration>
  27. </execution>
  28. </executions>
  29. </plugin>
  30. <plugin>
  31. <artifactId>maven-shade-plugin</artifactId>
  32. <version>2.3</version>
  33. <executions>
  34. <execution>
  35. <phase>package</phase>
  36. <goals>
  37. <goal>shade</goal>
  38. </goals>
  39. <configuration>
  40. <filters>
  41. <filter>
  42. <artifact>*:*</artifact>
  43. <excludes>
  44. <exclude>META-INF/*.SF</exclude>
  45. <exclude>META-INF/*.DSA</exclude>
  46. <exclude>META-INF/*.RSA</exclude>
  47. </excludes>
  48. </filter>
  49. </filters>
  50. <transformers>
  51. <transformer>
  52. <mainClass />
  53. </transformer>
  54. </transformers>
  55. </configuration>
  56. </execution>
  57. </executions>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>