Browse Source
Merge pull request #15486 from thingsboard/rc
Merge rc into master
pull/15544/head
Viacheslav Klimov
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
49 additions and
0 deletions
application/pom.xml
pom.xml
tools/pom.xml
@ -572,6 +572,29 @@
<outputDir > ${project.build.directory}</outputDir>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<id > verify-openapi-spec-generated</id>
<phase > verify</phase>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireFilesExist >
<files >
<file > ${project.build.directory}/openapi.json</file>
</files>
<message > OpenAPI spec was not generated — target/openapi.json is missing. The springdoc-openapi-maven-plugin logs HTTP failures but does not fail the build; scan the log above for "An error has occured" or a 5xx response from /v3/api-docs/thingsboard and fix the underlying issue (e.g. duplicate @Schema names rejected by SwaggerConfiguration).</message>
</requireFilesExist>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
@ -98,6 +98,7 @@
<maven-surefire-plugin.version > 3.5.4</maven-surefire-plugin.version>
<maven-install-plugin.version > 3.1.4</maven-install-plugin.version>
<maven-deploy-plugin.version > 3.1.4</maven-deploy-plugin.version>
<maven-clean-plugin.version > 3.5.0</maven-clean-plugin.version>
<springdoc-swagger.version > 2.8.8TB</springdoc-swagger.version>
<swagger-annotations.version > 2.2.30</swagger-annotations.version>
<spatial4j.version > 0.8</spatial4j.version>
@ -918,6 +919,12 @@
<exclude > **/resources/lwm2m/models/**</exclude>
<exclude > src/main/data/resources/**</exclude>
<exclude > .claude/**</exclude>
<exclude > **/lombok.config</exclude>
<exclude > **/eslint.config.mjs</exclude>
<exclude > **/config.monitoring</exclude>
<exclude > **/valkey-certs/**</exclude>
<exclude > **/data/certs/**</exclude>
<exclude > **/*.otf</exclude>
</excludes>
<mapping >
<proto > JAVADOC_STYLE</proto>
@ -970,6 +977,7 @@
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
<version > ${maven-clean-plugin.version}</version>
<inherited > false</inherited>
<configuration >
<filesets >
@ -54,6 +54,24 @@
<dependency >
<groupId > org.apache.cassandra</groupId>
<artifactId > cassandra-all</artifactId>
<exclusions >
<!-- These sjk - * artifacts pull in com.jrockit.mc / com.oracle.jmc / jdk.org.netbeans
system-scope dependencies with unresolved systemPath properties, which produces
ERROR-level Maven warnings on every build. No ThingsBoard code imports from sjk,
jmc, or netbeans profiler, so excluding them is safe. -->
<exclusion >
<groupId > org.perfkit.sjk.parsers</groupId>
<artifactId > sjk-jfr5</artifactId>
</exclusion>
<exclusion >
<groupId > org.perfkit.sjk.parsers</groupId>
<artifactId > sjk-jfr6</artifactId>
</exclusion>
<exclusion >
<groupId > org.perfkit.sjk.parsers</groupId>
<artifactId > sjk-nps</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > at.yawk.lz4</groupId>