当前位置: 首页 > news >正文

如何本地编译servicecomb-java-chassis

1、idea

2、代码库下载GitHub - apache/servicecomb-java-chassis at 2.8.x

3、settings.xml配置:

<?xml version="1.0" encoding="UTF-8"?><!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
--><!--| This is the configuration file for Maven. It can be specified at two levels:||  1. User Level. This settings.xml file provides configuration for a single user,|                 and is normally provided in ${user.home}/.m2/settings.xml.||                 NOTE: This location can be overridden with the CLI option:||                 -s /path/to/user/settings.xml||  2. Global Level. This settings.xml file provides configuration for all Maven|                 users on a machine (assuming they're all using the same Maven|                 installation). It's normally provided in|                 ${maven.conf}/settings.xml.||                 NOTE: This location can be overridden with the CLI option:||                 -gs /path/to/global/settings.xml|| The sections in this sample file are intended to give you a running start at| getting the most out of your Maven installation. Where appropriate, the default| values (values used when the setting is not specified) are provided.||-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><!-- localRepository| The path to the local repository maven will use to store artifacts.|| Default: ${user.home}/.m2/repository<localRepository>/path/to/local/repo</localRepository>-->
<localRepository>D:\maven_repo</localRepository>  <!-- interactiveMode| This will determine whether maven prompts you when it needs input. If set to false,| maven will use a sensible default value, perhaps based on some other setting, for| the parameter in question.|| Default: true<interactiveMode>true</interactiveMode>--><!-- offline| Determines whether maven should attempt to connect to the network when executing a build.| This will have an effect on artifact downloads, artifact deployment, and others.|| Default: false<offline>false</offline>--><!-- pluginGroups| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.|--><pluginGroups><!-- pluginGroup| Specifies a further group identifier to use for plugin lookup.<pluginGroup>com.your.plugins</pluginGroup>--><pluginGroup>org.sonarsource.scanner.maven</pluginGroup></pluginGroups><!-- proxies| This is a list of proxies which can be used on this machine to connect to the network.| Unless otherwise specified (by system property or command-line switch), the first proxy| specification in this list marked as active will be used.|--><proxies></proxies><!--<mirrors><mirror><id>aliyun</id><name>aliyun Maven</name><mirrorOf>central</mirrorOf><url>http://maven.aliyun.com/nexus/content/groups/public/</url></mirror></mirrors>--><!-- servers| This is a list of authentication profiles, keyed by the server-id used within the system.| Authentication profiles can be used whenever maven must make a connection to a remote server.|--><servers></servers><mirrors><mirror><id>huaweicloud</id><mirrorOf>central</mirrorOf><url>https://repo.huaweicloud.com/repository/maven/</url></mirror><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-central</id><repositories><repository><id>central</id><url>http://maven.aliyun.com/nexus/content/groups/public/</url><releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases><snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots></repository></repositories></profile><profile><id>servicecomb-repo</id><repositories><!-- ServiceComb 快照仓库 --><repository><id>aliyun-servicecomb-snapshots</id><name>Aliyun ServiceComb Snapshot Repository</name><url>https://maven.aliyun.com/repository/servicecomb-snapshots</url><snapshots><enabled>true</enabled><!-- 控制快照更新频率,always表示每次构建都检查更新 --><updatePolicy>always</updatePolicy></snapshots><releases><enabled>false</enabled></releases></repository><!-- 建议同时添加阿里云公共仓库作为补充 --><repository><id>aliyun-public</id><name>Aliyun Public Repository</name><url>https://maven.aliyun.com/repository/public</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories><pluginRepositories> <pluginRepository><id>aliyunmaven</id><name>Aliyun Maven Plugin Repository</name><url>https://maven.aliyun.com/repository/public</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></pluginRepository></pluginRepositories></profile></profiles><activeProfiles> <activeProfile>aliyun-central</activeProfile><activeProfile>servicecomb-repo</activeProfile></activeProfiles>
</settings>

4、阅读 README_ZH.md

  mvn clean install

ServiceComb发版验证指南 - Apache ServiceComb

5、安装docker

Windows安装Docker Desktop开启 Kubenetes制作并部署本地镜像_docker desktop 使用本地镜像-CSDN博客

执行测试用例

  mvn clean install -Pdocker -Pit  -Pdemo-run-release

文章转载自:

http://rDZYoqv3.Lmmkf.cn
http://IqzcaNAX.Lmmkf.cn
http://QNc8Y6mR.Lmmkf.cn
http://AOsmOhPe.Lmmkf.cn
http://LlYIHFZL.Lmmkf.cn
http://C6haFLXt.Lmmkf.cn
http://VB7qHwB4.Lmmkf.cn
http://77oppxGA.Lmmkf.cn
http://2Hf73X0Q.Lmmkf.cn
http://btYDRA2h.Lmmkf.cn
http://Vbyt3iRk.Lmmkf.cn
http://xlrapHz2.Lmmkf.cn
http://21NK2Ip2.Lmmkf.cn
http://j5oAKTFO.Lmmkf.cn
http://trKUTMop.Lmmkf.cn
http://lpW8tn3j.Lmmkf.cn
http://INKipCDX.Lmmkf.cn
http://TFU19q8G.Lmmkf.cn
http://c1t7vEti.Lmmkf.cn
http://52niYfGb.Lmmkf.cn
http://702dfG5P.Lmmkf.cn
http://XBZvDdz7.Lmmkf.cn
http://QGwsouBy.Lmmkf.cn
http://gdrbU7ge.Lmmkf.cn
http://qYu2bylm.Lmmkf.cn
http://yrL07ohS.Lmmkf.cn
http://cf60Vjir.Lmmkf.cn
http://NDZqCEsB.Lmmkf.cn
http://KEMvQ1TP.Lmmkf.cn
http://E1f8YtrY.Lmmkf.cn
http://www.dtcms.com/a/366122.html

相关文章:

  • 系统越拆越乱?你可能误解了微服务的本质!
  • 商城源码后端性能优化:JVM 参数调优与内存泄漏排查实战
  • SVN和Git两种版本管理系统对比
  • Clang 编译器:下载安装指南与实用快捷键全解析
  • Java全栈开发面试实录:从基础到微服务的深度探索
  • CentOS系统如何查看当前内存容量
  • SuperSocket 动态协议服务端开发全解析
  • RTSP 协议认证机制详解:Basic 与 Digest 的原理与应用
  • 小迪安全v2023学习笔记(七十七讲)—— 业务设计篇隐私合规检测重定向漏洞资源拒绝服务
  • 【RNN-LSTM-GRU】第四篇 GRU门控循环单元:LSTM的高效替代者与实战指南
  • 为何三折叠手机只有华为可以?看华为Mate XTs非凡大师就知道
  • 2025年09月03日最热门的开源项目(Github)
  • Redis底层实现原理之五大基础结构
  • 云手机与网络游戏相结合的优势?
  • Docker学习笔记(二):镜像与容器管理
  • 20. 云计算-华为云-云服务
  • 域名注册后,为什么还需要域名解析?
  • 嵌入式硬件 - 51单片机3
  • 操作系统(二) :进程与线程
  • 力扣14:最长公共前缀
  • 【面试题】生成式搜索能否保证top-1的准确性?
  • C++类和对象(上):从设计图到摩天大楼的构建艺术
  • 从战略亏损到万亿估值:新“股王”寒武纪如何改写中国芯片叙事?
  • Sentinel 与 Feign 整合详解:实现服务调用的流量防护
  • solar应急响应-7月
  • 遥感语义分割辅导
  • 基于Hadoop的网约车公司数据分析系统设计(代码+数据库+LW)
  • 【序列晋升】28 云原生时代的消息驱动架构 Spring Cloud Stream的未来可能性
  • Vue3+TS 交互式三层关系图
  • HDFS机架感知、副本存放机制详解(附源码地址)