Hi, team. Maven always pulls remote decency snapshot jar When I build the Flink Kubernetes module. I also modified the Kubernetes module and the Flink client module that Kubernetes depends on. I hope to rely on my local repositories instead of remote snapshots when executing the build or running unit test. I Have tried to delete the _remote.repositories of relation jar, but it doesn't work.
Related information: I have built and installed all Flink module to My local repositories by maven command " mvn clean install -DskipTests -Dfast -Paliyun -Pskip-webui-build -T 1C". Maven build Kubernetes Module command: mvn clean test package -Paliyun Here My Maven Setting : <localRepository>D:\software\maven\repo-flink</localRepository> <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <profiles> <profile> <id>aliyun</id> <repositories> <repository> <id>aliyun</id> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories> </profile> </profiles> -- Best, Hjw