pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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>edp.davinci</groupId>
  7. <artifactId>davinci-parent_0.3.1</artifactId>
  8. <version>0.3.1-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.0.4.RELEASE</version>
  14. </parent>
  15. <licenses>
  16. <license>
  17. <name>Apache License, Version 2.0</name>
  18. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <modules>
  23. <module>assembly</module>
  24. <module>server</module>
  25. </modules>
  26. <properties>
  27. <main.basedir>${project.basedir}</main.basedir>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  30. <java.version>1.8</java.version>
  31. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  32. </properties>
  33. <repositories>
  34. <!--
  35. <repository>
  36. <id>alimaven</id>
  37. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  38. </repository>
  39. -->
  40. <repository>
  41. <id>central</id>
  42. <name>Maven Repository</name>
  43. <url>https://repo1.maven.org/maven2</url>
  44. <releases>
  45. <enabled>true</enabled>
  46. </releases>
  47. <snapshots>
  48. <enabled>false</enabled>
  49. </snapshots>
  50. </repository>
  51. </repositories>
  52. <pluginRepositories>
  53. <pluginRepository>
  54. <id>central</id>
  55. <url>https://repo1.maven.org/maven2</url>
  56. <releases>
  57. <enabled>true</enabled>
  58. </releases>
  59. <snapshots>
  60. <enabled>false</enabled>
  61. </snapshots>
  62. </pluginRepository>
  63. </pluginRepositories>
  64. <build>
  65. <plugins>
  66. <!-- ========================================================== -->
  67. <!-- compile -->
  68. <!-- ========================================================== -->
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-compiler-plugin</artifactId>
  72. <version>3.6.1</version>
  73. <configuration>
  74. <encoding>${project.build.sourceEncoding}</encoding>
  75. <source>${java.version}</source>
  76. <target>${java.version}</target>
  77. <compilerVersion>${java.version}</compilerVersion>
  78. <optimize>true</optimize>
  79. <maxmem>1024m</maxmem>
  80. <fork>true</fork>
  81. <compilerArguments>
  82. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar${path.separator}${java.home}/../lib/tools.jar</bootclasspath>
  83. </compilerArguments>
  84. <compilerArgs>
  85. <arg>-Xlint:all,-serial,-path</arg>
  86. <arg>-XDignore.symbol.file</arg>
  87. </compilerArgs>
  88. </configuration>
  89. <executions>
  90. <execution>
  91. <phase>compile</phase>
  92. <goals>
  93. <goal>compile</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <!-- ========================================================== -->
  99. <!-- license -->
  100. <!-- ========================================================== -->
  101. <plugin>
  102. <groupId>org.codehaus.mojo</groupId>
  103. <artifactId>license-maven-plugin</artifactId>
  104. <version>1.13</version>
  105. <configuration>
  106. <!-- config for license:aggregate-add-third-party -->
  107. <outputDirectory>${main.basedir}</outputDirectory>
  108. <thirdPartyFilename>LICENSE-3RD-PARTY</thirdPartyFilename>
  109. <fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByLicense.ftl</fileTemplate>
  110. <useMissingFile>true</useMissingFile>
  111. <missingFile>${main.basedir}/LICENSE-3RD-PARTY.properties</missingFile>
  112. <aggregateMissingLicensesFile>${main.basedir}/LICENSE-3RD-PARTY.properties
  113. </aggregateMissingLicensesFile>
  114. <licenseMerges>
  115. <licenseMerge>Apache 2.0|ASL, version
  116. 2|http://www.apache.org/licenses/LICENSE-2.0.txt|http://asm.ow2.org/license.html|The Apache
  117. License, Version 2.0|Apache License|Apache License Version 2|Apache License Version
  118. 2.0|Apache Software License - Version 2.0|Apache 2.0 License|Apache License 2.0|ASL|Apache
  119. 2|Apache-2.0|the Apache License, ASL Version 2.0|The Apache Software License, Version
  120. 2.0|Apache License, Version 2.0|Apache Public License 2.0
  121. </licenseMerge>
  122. <licenseMerge>BSD|The BSD 3-Clause License|The BSD License|Modified BSD License|New BSD
  123. License|New BSD license|Two-clause BSD-style license|BSD licence|BSD New|The New BSD
  124. License|BSD 3-Clause|BSD 3-clause
  125. </licenseMerge>
  126. <licenseMerge>MIT|MIT License|The MIT License</licenseMerge>
  127. <licenseMerge>LGPL|LGPL, version 2.1|GNU Library or Lesser General Public License (LGPL)
  128. V2.1|GNU Lesser General Public License (LGPL), Version 2.1|GNU Lesser General Public
  129. License, Version 2.1|LGPL 2.1
  130. </licenseMerge>
  131. <licenseMerge>CDDL|CDDL+GPL|CDDL+GPL License|CDDL + GPLv2 with classpath exception|CDDL
  132. License|CDDL 1.0|CDDL 1.1|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version
  133. 1.0|Common Development and Distribution License (CDDL) v1.0
  134. </licenseMerge>
  135. <licenseMerge>EPL|Eclipse Public License - Version 1.0</licenseMerge>
  136. <licenseMerge>GPL|GPL2 w/ CPE|GPLv2+CE|GNU General Public Library</licenseMerge>
  137. <licenseMerge>MPL|MPL 1.1</licenseMerge>
  138. <licenseMerge>Public Domain</licenseMerge>
  139. <licenseMerge>Common Public License|Common Public License Version 1.0</licenseMerge>
  140. <licenseMerge>CC0|CC0 1.0 Universal|Public Domain, per Creative Commons CC0</licenseMerge>
  141. <licenseMerge>Unknown License|Unknown license</licenseMerge>
  142. </licenseMerges>
  143. <!-- config for license:aggregate-download-licenses -->
  144. <aggregateDownloadLicenses.executeOnlyOnRootModule>true
  145. </aggregateDownloadLicenses.executeOnlyOnRootModule>
  146. <!--<licensesConfigFile>${main.basedir}/lic/config/licenses.xml</licensesConfigFile>-->
  147. <licensesOutputFile>dev/lic/licenses.xml</licensesOutputFile>
  148. <licensesOutputDirectory>dev/lic/licenses/</licensesOutputDirectory>
  149. <!-- config for license:update-file-header -->
  150. <licenseName>apache_v2</licenseName>
  151. <inceptionYear>2016</inceptionYear>
  152. <organizationName>EDP</organizationName>
  153. <projectName>Davinci</projectName>
  154. <roots>
  155. <root>src/main/java</root>
  156. <root>src/test/java</root>
  157. </roots>
  158. <includes>
  159. <include>**/*.java</include>
  160. <include>**/*.xml</include>
  161. <include>**/*.sh</include>
  162. <include>**/*.py</include>
  163. <include>**/*.properties</include>
  164. <include>**/*.sql</include>
  165. <include>**/*.yml</include>
  166. <!--<include>**/*.html</include>-->
  167. <!--<include>**/*.less</include>-->
  168. <!--<include>**/*.css</include>-->
  169. <!--<include>**/*.js</include>-->
  170. </includes>
  171. <extraExtensions>
  172. <scala>java</scala>
  173. </extraExtensions>
  174. <canUpdateCopyright>true</canUpdateCopyright>
  175. <canUpdateDescription>true</canUpdateDescription>
  176. <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
  177. <emptyLineAfterHeader>true</emptyLineAfterHeader>
  178. <processStartTag>&lt;&lt;</processStartTag>
  179. <processEndTag>&gt;&gt;</processEndTag>
  180. <sectionDelimiter>==</sectionDelimiter>
  181. <encoding>UTF-8</encoding>
  182. <!-- config for mvn license:update-project-license -->
  183. <licenseFile>${main.basedir}/LICENSE</licenseFile>
  184. </configuration>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.jasig.maven</groupId>
  188. <artifactId>maven-notice-plugin</artifactId>
  189. <version>1.0.6.1</version>
  190. <configuration>
  191. <noticeTemplate>https://source.jasig.org/licenses/NOTICE.template</noticeTemplate>
  192. <licenseMapping>
  193. <param>https://source.jasig.org/licenses/license-mappings.xml</param>
  194. </licenseMapping>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>