pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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>example</groupId>
  5. <artifactId>java11-blank-http</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>HelloFCJava</name>
  9. <dependencies>
  10. <dependency>
  11. <groupId>junit</groupId>
  12. <artifactId>junit</artifactId>
  13. <version>3.8.1</version>
  14. <scope>test</scope>
  15. </dependency>
  16. <dependency>
  17. <groupId>com.aliyun.fc.runtime</groupId>
  18. <artifactId>fc-java-core</artifactId>
  19. <version>1.3.0</version>
  20. </dependency>
  21. </dependencies>
  22. <build>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-shade-plugin</artifactId>
  27. <version>3.2.1</version>
  28. <executions>
  29. <execution>
  30. <phase>package</phase>
  31. <goals>
  32. <goal>shade</goal>
  33. </goals>
  34. <configuration>
  35. <filters>
  36. <filter>
  37. <artifact>*:*</artifact>
  38. <excludes>
  39. <exclude>META-INF/*.SF</exclude>
  40. <exclude>META-INF/*.DSA</exclude>
  41. <exclude>META-INF/*.RSA</exclude>
  42. </excludes>
  43. </filter>
  44. </filters>
  45. </configuration>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. <properties>
  52. <maven.compiler.target>11</maven.compiler.target>
  53. <maven.compiler.source>11</maven.compiler.source>
  54. <maven.test.skip>true</maven.test.skip>
  55. </properties>
  56. </project>