Maven-based version package packaging method and device

A version and package technology, applied in the distributed field, can solve problems such as package errors, reduce package errors, avoid the risks introduced by inconsistencies in the environment, and reduce repeated configuration.

Pending Publication Date: 2021-12-03
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In production bugs, a large part comes from packaging errors, including packaging errors caused by Maven dependencies, environments, etc., which eventually lead to various generation problems. Therefore, an effective packaging method is needed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Maven-based version package packaging method and device
  • Maven-based version package packaging method and device
  • Maven-based version package packaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0027] In the description of this specification, the words "comprising", "comprising", "having", "containing" and so on are all open terms, meaning including but not limited to. A description referring to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one of the present application. Examples or examples. In this specification, schematic representations of the above terms do not ne...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a Maven-based version package packaging method and device which can be used in the field of distributed technology. The method comprises the following steps: checking whether version dependence conflicts exist among code blocks to be packaged in a Maven project; if not, checking whether implicit dependency exists between the code blocks to be packaged or not; if not, checking whether a non-specified version exists between the code blocks to be packaged; if not, according to the environment list of the Maven project, selecting a tool set required by the packaging from tool sets in the docker environment required by the packaging after encapsulation; on the basis of the tool set required for current packaging, packaging of the code blocks to be packaged, and generating a version package of the Maven project; and checking whether the configuration file required by the version package is correct or not, and if so, acquiring the Maven version package which is correctly packaged. According to the method and the device, Maven-based version package packaging can be realized, and the accuracy of version package packaging can be improved.

Description

technical field [0001] The invention relates to the field of distributed technology, in particular to a Maven-based version package grouping method and system. Background technique [0002] In production bugs, a large part comes from packaging errors, including packaging errors caused by Maven dependencies, environments, etc., which eventually lead to various generation problems. Therefore, an effective packaging method is needed. Contents of the invention [0003] The embodiment of the present invention proposes a Maven-based version package grouping method, in order to realize the Maven-based version package group package, which can improve the accuracy of the version package group package, and the method includes: [0004] Check whether there is a version dependency conflict between the code blocks to be packaged in the Maven project; [0005] If not, check whether there is an implicit dependency between the code blocks to be packaged; [0006] If not, check whether t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F8/71G06F8/60
CPCG06F8/71G06F8/60
Inventor农倩倩
OwnerBANK OF CHINA