Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Maven project compiling method and device

A compiling method and project technology, applied in the field of Maven project compiling method and device, can solve problems such as low compiling efficiency

Active Publication Date: 2020-05-08
MAIPU COMM TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a Maven project compilation method and device for solving the problem of low compilation efficiency in existing compilation methods

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 project compiling method and device
  • Maven project compiling method and device
  • Maven project compiling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] It should be noted that, in order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used for the same or similar items with basically the same function and effect To make a distinction, those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.

[0037] In the embodi...

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 embodiment of the invention provides a Maven project compiling method and device, relates to the field of software engineering, and is used for solving the problem that an existing compiling modeis low in compiling efficiency. The method comprises the following steps: determining a system internal dependence module; determining the serial number of the dependent module as 1, and determining the serial number with the dependent module and the determined serial number of the dependent module as the maximum serial number plus 1; traversing all projects from the serial number 2, and if the target module of the project only depends on the module of which the coding sequence is subtracted 1 from the currently traversed compiling serial number in the project, adding the target module of theproject behind the module of which the coding sequence is subtracted 1 from the currently traversed compiling serial number in the project; if the target modules of all the projects are empty sets, subtracting 1 from the serial numbers of all the modules of which the compiling serial numbers are greater than the current compiling serial number; sorting the items; and compiling each module according to the serial number of each module and the sequence of the items to which each module belongs. The embodiment of the invention is used for Maven project compilation.

Description

technical field [0001] The invention relates to the field of software engineering, in particular to a method and device for compiling a Maven project. Background technique [0002] In a Maven project, each project contains several modules, and these modules are managed according to the Maven project object model (Project Object Model, POM). That is, each module corresponds to a pom.xml file, and these pom.xml form a tree-like hierarchical structure. [0003] There are dependencies between modules of a Maven project. That is, when a module is compiled, it depends on the compilation results of several other modules. From the tree-like pom.xml file set, the Maven tool can parse out the set of modules contained in the project, and analyze the set of dependent modules of each module. The Maven tool checks whether the compilation results of the dependent modules of the module exist in the local warehouse before the module is compiled. If the compilation results of all dependent...

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
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 张世伟李文
Owner MAIPU COMM TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More