Packing method of maven service items and terminal equipment

The embodiment of the invention provides a method and a device for packaging maven service items. The method comprises the following steps: acquiring version information of a dependent item on which a maven service item to be packaged depends; according to the version information of the dependent it...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU HANJIANG, CHEN HONGLIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a method and a device for packaging maven service items. The method comprises the following steps: acquiring version information of a dependent item on which a maven service item to be packaged depends; according to the version information of the dependent item, metadata of the dependent item and metadata of a maven plug-in inherited by the dependent item are determined; and packaging the maven service project based on the metadata of the maven plug-in and the metadata of the dependent project. Therefore, the version information can be dynamically specified, and the unified management process of versions is realized. 本申请实施例提供了一种maven业务项目的打包方法及装置。在该方法中,获取待打包的maven业务项目所依赖的依赖项目的版本信息;根据所述依赖项目的版本信息,确定所述依赖项目的元数据和所述依赖项目所继承的maven插件的元数据;基于所述maven插件的元数据和所述依赖项目的元数据,打包所述maven业务项目。由此,可以动态指定版本信息,实现版本的统一管理过程。