2
0

pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  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. <properties>
  5. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  6. <netty.version>4.1.68.Final</netty.version>
  7. <source.version>1.8</source.version>
  8. <target.version>1.8</target.version>
  9. </properties>
  10. <groupId>cn.wildfirechat</groupId>
  11. <artifactId>wildfirechat-parent</artifactId>
  12. <packaging>pom</packaging>
  13. <version>1.1.8</version>
  14. <name>Wildfire Chat</name>
  15. <description>Wildfire Chat Server</description>
  16. <inceptionYear>2019</inceptionYear>
  17. <url>https://www.wildfirechat.cn</url>
  18. <licenses>
  19. <license>
  20. <name>The Apache License, Version 2.0</name>
  21. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  22. </license>
  23. <license>
  24. <name>Eclipse Public License - Version 1.0</name>
  25. <url>http://www.eclipse.org/org/documents/epl-v10.php</url>
  26. </license>
  27. </licenses>
  28. <modules>
  29. <module>broker</module>
  30. <module>common</module>
  31. <module>sdk</module>
  32. <module>distribution</module>
  33. </modules>
  34. <build>
  35. <pluginManagement>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <configuration>
  41. <source>${source.version}</source>
  42. <target>${target.version}</target>
  43. </configuration>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-checkstyle-plugin</artifactId>
  48. <version>2.17</version>
  49. <configuration>
  50. <configLocation>checkstyle.xml</configLocation>
  51. <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
  52. <!--
  53. <configLocation>/google_checks.xml</configLocation>
  54. -->
  55. <failOnViolation>true</failOnViolation>
  56. <consoleOutput>true</consoleOutput>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <phase>validate</phase>
  61. <goals>
  62. <goal>check</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </pluginManagement>
  69. </build>
  70. <profiles>
  71. <profile>
  72. <id>release-sign-artifacts</id>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-source-plugin</artifactId>
  78. <executions>
  79. <execution>
  80. <id>attach-sources</id>
  81. <goals>
  82. <goal>jar</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-javadoc-plugin</artifactId>
  90. <executions>
  91. <execution>
  92. <id>attach-javadocs</id>
  93. <goals>
  94. <goal>jar</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </profile>
  102. </profiles>
  103. </project>