pom.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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>com.seamew</groupId>
  8. <artifactId>Lottery</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>lottery-rpc</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.seamew</groupId>
  20. <artifactId>lottery-common</artifactId>
  21. <version>1.0-SNAPSHOT</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <finalName>lottery-rpc</finalName>
  26. <plugins>
  27. <!-- 编译plugin -->
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-compiler-plugin</artifactId>
  31. <configuration>
  32. <source>${jdk.version}</source>
  33. <target>${jdk.version}</target>
  34. <compilerVersion>1.8</compilerVersion>
  35. </configuration>
  36. </plugin>
  37. </plugins>
  38. </build>
  39. </project>