mirror of
https://gitee.com/NexIoT/Universal-IoT-Java.git
synced 2026-08-29 02:33:01 +08:00
fix:还原pom的内容
This commit is contained in:
@@ -163,51 +163,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-imoulife-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-ctaiot-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-tcp-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-wvp-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-udp-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-hik-ics-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-dahua-icc-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-universal-mqtt-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-onenet-protocol</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>cn-universal-http-protocol</artifactId>
|
||||
@@ -288,7 +249,7 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.universal.iot</groupId>
|
||||
<artifactId>nexiot-web-ide-debug-plugins</artifactId>
|
||||
<artifactId>cn-universal-plugins-web-debug</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
@@ -327,39 +288,6 @@
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<!-- 依赖与重复类安全规则,避免引入高风险组件与类冲突 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-security</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- 当前阶段以警告提示为主,不中断构建。后续可切换为严格失败。 -->
|
||||
<fail>false</fail>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>[3.8.1,)</version>
|
||||
</requireMavenVersion>
|
||||
<!-- 依赖版本上限与收敛性检查,避免冲突与潜在风险 -->
|
||||
<requireUpperBoundDeps/>
|
||||
<dependencyConvergence/>
|
||||
<bannedDependencies>
|
||||
<excludes>
|
||||
<!-- 避免引入已知风险日志组件 -->
|
||||
<exclude>commons-logging:commons-logging</exclude>
|
||||
<exclude>log4j:log4j</exclude>
|
||||
</excludes>
|
||||
</bannedDependencies>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
@@ -522,27 +450,17 @@
|
||||
<source>21</source>
|
||||
<target>21</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
<!-- 默认保留参数名(开发/测试友好),在 prod/docker profile 中覆盖为更严格设置 -->
|
||||
<parameters>true</parameters>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<!-- 如需在 IDE 中忽略 maven-dependency-plugin 的执行,请将 m2e lifecycle-mapping
|
||||
放置在顶层聚合 POM 的 pluginManagement 中,避免子模块触发 Plugin not found。 -->
|
||||
</build>
|
||||
<!--MAVEN打包选择运行环境-->
|
||||
<!-- 1:local(默认) 本地 2:platform:开发环境 3:test 4:uat 用户验收测试 5.pro:生产环境-->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<properties>
|
||||
<profileActive>local</profileActive>
|
||||
</properties>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<properties>
|
||||
@@ -580,7 +498,6 @@
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>test2</id>
|
||||
<properties>
|
||||
|
||||
Reference in New Issue
Block a user