pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <parent>
  6. <artifactId>platform</artifactId>
  7. <groupId>com.zcxk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. <relativePath>../../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>zoniot-core-oauth2</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <dependencies>
  18. <!--common-->
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-oauth2</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.security.oauth</groupId>
  25. <artifactId>spring-security-oauth2</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.zcxk</groupId>
  29. <artifactId>zoniot-core-common</artifactId>
  30. </dependency>
  31. </dependencies>
  32. <build>
  33. <plugins>
  34. <!--编译插件 -->
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-compiler-plugin</artifactId>
  38. <configuration>
  39. <source>8</source>
  40. <target>8</target>
  41. <encoding>utf-8</encoding>
  42. </configuration>
  43. </plugin>
  44. <!--打包插件-->
  45. <plugin>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-maven-plugin</artifactId>
  48. <executions>
  49. <execution>
  50. <goals>
  51. <goal>repackage</goal>
  52. </goals>
  53. </execution>
  54. </executions>
  55. <configuration>
  56. <skip>true</skip>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>