Solution:
Just replace the Alibaba Cloud image
<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>https://maven.aliyun.com/repository/public</url> </mirror>
If there are specific settings, just add the command at the end, for example
mvn clean package -Dmaven.test.skip=true --settings c:\dev\.m2\setttings.xml
Exception information when compiling thingsboard3.3.4 ui-ngx
Failed to apply patch for package @geoman-io/leaflet-geoman-free
Process exited with an error: 1 (Exit value: 1)
Finally, you can compile normally by deleting the geoman-io+leaflet-geoman-free+2.11.4.patch file in the ui-ngx\patches directory.