pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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</groupId>
  5. <artifactId>gkaq-common</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <properties>
  8. <project.build.sourceEncoding>GBK</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. <plugins>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-surefire-plugin</artifactId>
  33. <configuration>
  34. <skipTests>true</skipTests>
  35. </configuration>
  36. </plugin>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-source-plugin</artifactId>
  40. <executions>
  41. <execution>
  42. <id>attach-sources</id>
  43. <goals>
  44. <goal>jar</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <!-- compiler插件, 设定JDK版本 -->
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <configuration>
  54. <source>1.7</source>
  55. <target>1.7</target>
  56. <showWarnings>true</showWarnings>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. <distributionManagement>
  62. <repository>
  63. <id>xt-repository</id>
  64. <name>xt Repository</name>
  65. <url>${deploy.url}</url>
  66. </repository>
  67. <snapshotRepository>
  68. <id>xt-repository-snapshots</id>
  69. <name>xt Repository Snapshots</name>
  70. <url>${deploy.snapshots.url}</url>
  71. </snapshotRepository>
  72. </distributionManagement>
  73. <dependencyManagement>
  74. <dependencies>
  75. <dependency>
  76. <groupId>com.xt.js.gkaq</groupId>
  77. <artifactId>gkaq-bom</artifactId>
  78. <version>0.0.1-SNAPSHOT</version>
  79. <type>pom</type>
  80. <scope>import</scope>
  81. </dependency>
  82. </dependencies>
  83. </dependencyManagement>
  84. <dependencies>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-jdbc</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.yuanxd.tools</groupId>
  91. <artifactId>x-tools-utils</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.shiro</groupId>
  95. <artifactId>shiro-core</artifactId>
  96. </dependency>
  97. </dependencies>
  98. </project>