Analyze¶
Synopsis¶
build-generator [GLOBAL-OPTIONS] analyze [COMMAND-OPTIONS] URI-OR-DIRECTORY*
Description¶
Analyze project repositories w.r.t. dependencies and meta-data.
Analysis results are printed to the standard output stream in JSON format.
-
URI-OR-DIRECTORY*¶ Type:
(LIST (OR PROPER-PURI PATHNAME))Default:falseLocation(s) of the project repository(ies).
For repository locations specified as URIs, the following syntax is used:
SCHEMA://HOST[:PORT][/PATH][#BRANCH][?scm=SCM&sub-directory=SUB-DIRECTORY]
where
SCMis “git”, “subversion”, “mercurial” or “archive”,BRANCHis the branch andSUB-DIRECTORYis the sub-directory within the repository that that should be analyzed. All other components of theURIare passed to respective version control system.This option can be supplied multiple times.
-
--nature=NATURE¶ Type:
(LIST (MEMBER FREESTYLE MAVEN CMAKE ASDF ROS-PACKAGE ROS-PACKAGES))Default:falseNature(s) according to which the project(s) should be analyzed.
The project nature(s) is/are guessed if not specified.
This option can be supplied multiple times.