pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.xt.js.gkaq.common</groupId>
  5. <artifactId>gkaq-common</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <!-- java 版本 -->
  10. <jdk.version>1.7</jdk.version>
  11. </properties>
  12. <build>
  13. <!-- 插件配置 -->
  14. <pluginManagement>
  15. <plugins>
  16. <!-- compiler插件, 设定JDK版本 -->
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <version>3.0</version>
  21. <configuration>
  22. <source>${jdk.version}</source>
  23. <target>${jdk.version}</target>
  24. <showWarnings>true</showWarnings>
  25. </configuration>
  26. </plugin>
  27. </plugins>
  28. </pluginManagement>
  29. </build>
  30. <distributionManagement>
  31. <repository>
  32. <id>xt-repository</id>
  33. <name>xt Repository</name>
  34. <url>${deploy.url}</url>
  35. </repository>
  36. <snapshotRepository>
  37. <id>xt-repository-snapshots</id>
  38. <name>xt Repository Snapshots</name>
  39. <url>${deploy.snapshots.url}</url>
  40. </snapshotRepository>
  41. </distributionManagement>
  42. <dependencyManagement>
  43. <dependencies>
  44. <dependency>
  45. <groupId>com.xt.js.gkaq</groupId>
  46. <artifactId>gkaq-bom</artifactId>
  47. <version>0.0.1-SNAPSHOT</version>
  48. <type>pom</type>
  49. <scope>import</scope>
  50. </dependency>
  51. </dependencies>
  52. </dependencyManagement>
  53. <dependencies>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-jdbc</artifactId>
  57. </dependency>
  58. </dependencies>
  59. </project>