Modifying Other Configuration Files
The binary packages available at the Kunpeng mirror site are compiled based on the open source code, and do not involve vulnerability or bug fixes.
When using open source software, comply with the applicable license agreements.
- Replace the netty-all-4.1.25.Final.jar package in the local repository.
- Obtain the netty-all-4.1.25.Final.jar package that supports AArch64.
- Download the netty-all-4.1.25.Final.jar package from the local browser.
Download address: https://mirrors.huaweicloud.com/kunpeng/maven/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar
- Copy the downloaded netty-all-4.1.25.Final.jar file to the /home directory on the server.
You can also run the wget command in the /home directory on the server to download the JAR package.
1 2
cd /home/ wget https://mirrors.huaweicloud.com/kunpeng/maven/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar --no-check-certificate
- Download the netty-all-4.1.25.Final.jar package from the local browser.
- Create a local repository.
1mkdir -p /root/.m2/repository/io/netty/netty-all/4.1.25.Final/
- Replace the netty-all-4.1.25.Final.jar package in the local repository.
1\cp /home/netty-all-4.1.25.Final.jar /root/.m2/repository/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar
- Obtain the netty-all-4.1.25.Final.jar package that supports AArch64.
- Modify the /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-config/dubbo-config-api/pom.xml file.
- Open the pom.xml file.
1vim /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-config/dubbo-config-api/pom.xml - Press i to enter the insert mode and add the following content to the file:
- Add the following code to line 31:
<skipIntegrationTests>true</skipIntegrationTests>

- Add the following code to line 206:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>${skipIntegrationTests}</skipTests> </configuration> </plugin> </plugins> </build>
- Add the following code to line 31:
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the pom.xml file.
- Modify the /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-compatible/pom.xml file.
- Open the pom.xml file.
1vim /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-compatible/pom.xml - Press i to enter the insert mode and add the following content to the file:
- Add the following code to line 30:
<properties> <skipIntegrationTests>true</skipIntegrationTests> </properties>
- Add the following code to line 110:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>${skipIntegrationTests}</skipTests> </configuration> </plugin> </plugins> </build>
During the compilation of the dubbo-config-api and dubbo-compatible test cases, the system may report an error indicating that no Dubbo configuration file is available and a null pointer exists. This error is irrelevant to the hardware platform. The error of the dubbo-compatible test case has been resolved in Dubbo 2.7.6. You can modify the configuration to skip the two test cases.
- Add the following code to line 30:
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the pom.xml file.