Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

33.Apollo introduces a third-party Jar package to compile

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

one。 Preface

After compiling the Apollo source code, we may modify the Apollo source code ourselves, add our own features, and then compile it.

A third-party Jar package is sometimes used to modify the code, so how do you package it into Apollo?

two。 Modify pom.xml

Add package introduction to the pom.xml of the project, taking fastjson as an example

Com.alibaba fastjson 1.2.31 compile

three。 Modify the package file

Position

Source code root / apollo/apollo-distro/src/main/descriptors/common-bin.xml

/ lib false true org.apache.activemq:apollo-* org.scala-lang:scala-library com.alibaba:fastjson.

four。 Recompile and package

Http://483181.blog.51cto.com/473181/1950769

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report