LinuxCommandLibrary

mvn-generate-sources

runs source code generation plugins

TLDR

Generate sources

$ mvn generate-sources
copy
Generate with profile
$ mvn generate-sources -P [profile]
copy
Generate offline
$ mvn generate-sources -o
copy

SYNOPSIS

mvn generate-sources [options]

DESCRIPTION

mvn generate-sources runs source code generation plugins. Executes generate-sources phase of Maven lifecycle. Plugins can generate code from schemas, specs, or other sources into target/generated-sources.

PARAMETERS

-P profile

Activate profile.
-o
Work offline.
-X
Debug mode.

SEE ALSO

mvn(1), mvn-compile(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community