pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <groupId>com.edu</groupId>
  7. <artifactId>vtrt-edu</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0-SNAPSHOT</version>
  10. <modules>
  11. <module>edu-web</module>
  12. <module>edu-service</module>
  13. <module>edu-dao</module>
  14. <module>edu-dubbo</module>
  15. <module>edu-common</module>
  16. <module>edu-model</module>
  17. </modules>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <groupId>org.apache.maven.plugins</groupId>
  22. <artifactId>maven-compiler-plugin</artifactId>
  23. <version>2.3.2</version>
  24. <configuration>
  25. <source>1.8</source>
  26. <target>1.8</target>
  27. <encoding>UTF-8</encoding>
  28. </configuration>
  29. </plugin>
  30. <plugin>
  31. <groupId>org.apache.maven.plugins</groupId>
  32. <artifactId>maven-source-plugin</artifactId>
  33. <version>2.1</version>
  34. <configuration>
  35. <attach>true</attach>
  36. </configuration>
  37. <executions>
  38. <execution>
  39. <phase>compile</phase>
  40. <goals>
  41. <goal>jar</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <!-- maven打包跳过test包 -->
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-surefire-plugin</artifactId>
  50. <version>2.18.1</version>
  51. <configuration>
  52. <skipTests>true</skipTests>
  53. </configuration>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. </project>