pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <parent>
  6. <artifactId>iot-iita-plugins</artifactId>
  7. <groupId>cc.iotkit.plugins</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mattress-tcp-plugin</artifactId>
  12. <properties>
  13. <maven.compiler.source>11</maven.compiler.source>
  14. <maven.compiler.target>11</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>io.vertx</groupId>
  19. <artifactId>vertx-core</artifactId>
  20. <version>${vertx.version}</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>io.netty</groupId>
  24. <artifactId>netty-transport</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.msgpack</groupId>
  28. <artifactId>jackson-dataformat-msgpack</artifactId>
  29. <version>0.7.1</version>
  30. <!-- <version>0.9.6</version>-->
  31. </dependency>
  32. <!-- <dependency>-->
  33. <!-- <groupId>io.vertx</groupId>-->
  34. <!-- <artifactId>vertx-mongo-client</artifactId>-->
  35. <!-- <version>${vertx.version}</version>-->
  36. <!-- </dependency>-->
  37. <!-- <dependency>-->
  38. <!-- <groupId>io.vertx</groupId>-->
  39. <!-- <artifactId>vertx-auth-mongo</artifactId>-->
  40. <!-- <version>${vertx.version}</version>-->
  41. <!-- </dependency>-->
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <version>4.13.2</version>
  46. <scope>test</scope>
  47. </dependency>
  48. </dependencies>
  49. <profiles>
  50. <profile>
  51. <id>dev</id>
  52. <activation>
  53. <activeByDefault>true</activeByDefault>
  54. </activation>
  55. <properties>
  56. <plugin.build.mode>dev</plugin.build.mode>
  57. </properties>
  58. </profile>
  59. <profile>
  60. <id>prod</id>
  61. <properties>
  62. <plugin.build.mode>prod</plugin.build.mode>
  63. </properties>
  64. </profile>
  65. </profiles>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>com.gitee.starblues</groupId>
  70. <artifactId>spring-brick-maven-packager</artifactId>
  71. <configuration>
  72. <mode>${plugin.build.mode}</mode>
  73. <pluginInfo>
  74. <id>mattress-tcp-plugin</id>
  75. <bootstrapClass>cc.iotkit.plugins.mattress.Application</bootstrapClass>
  76. <version>${project.version}</version>
  77. <provider>cpit</provider>
  78. <description>mattress-tcp示例插件</description>
  79. <configFileName>application.yml</configFileName>
  80. </pluginInfo>
  81. <prodConfig>
  82. <packageType>jar</packageType>
  83. </prodConfig>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>repackage</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>