pom.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. <parent>
  5. <groupId>com.mw.platform</groupId>
  6. <artifactId>cb_platform</artifactId>
  7. <version>1.0.1</version>
  8. </parent>
  9. <artifactId>fangchan_mybatis</artifactId>
  10. <dependencies>
  11. <dependency>
  12. <groupId>${project.groupId}</groupId>
  13. <artifactId>system_mybatis</artifactId>
  14. </dependency>
  15. <dependency>
  16. <groupId>${project.groupId}</groupId>
  17. <artifactId>core</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>${project.groupId}</groupId>
  21. <artifactId>commons</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.alibaba</groupId>
  25. <artifactId>easyexcel</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <properties>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. </properties>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-compiler-plugin</artifactId>
  36. <version>2.5.1</version>
  37. <configuration>
  38. <source>1.8</source>
  39. <target>1.8</target>
  40. <encoding>UTF-8</encoding>
  41. </configuration>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-jar-plugin</artifactId>
  46. <executions>
  47. <execution>
  48. <id>pojo only</id>
  49. <goals>
  50. <goal>jar</goal>
  51. </goals>
  52. <phase>package</phase>
  53. <configuration>
  54. <finalName>${project.artifactId}-pojo-${project.version}</finalName>
  55. <includes>
  56. <include>**/api/entity/TokenModel.class</include>
  57. <include>**/api/util/MessageResult.class</include>
  58. <include>**/api/util/Callback.class</include>
  59. </includes>
  60. </configuration>
  61. </execution>
  62. <execution>
  63. <id>everything</id>
  64. <goals>
  65. <goal>jar</goal>
  66. </goals>
  67. <phase>package</phase>
  68. <configuration>
  69. <finalName>${project.artifactId}-${project.version}</finalName>
  70. <includes>
  71. <include>**/*</include>
  72. </includes>
  73. </configuration>
  74. </execution>
  75. </executions>
  76. <configuration>
  77. <archive>
  78. <manifest>
  79. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  80. </manifest>
  81. <manifestEntries>
  82. <Implementation-Build>${buildNumber}</Implementation-Build>
  83. </manifestEntries>
  84. </archive>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. <resources>
  89. <resource>
  90. <directory>src/main/java</directory>
  91. <includes>
  92. <include>**/entity/*.java</include>
  93. <include>**/*.xml</include>
  94. </includes>
  95. </resource>
  96. <resource>
  97. <directory>src/main/resources</directory>
  98. <includes>
  99. <include>**/*</include>
  100. </includes>
  101. </resource>
  102. </resources>
  103. </build>
  104. </project>