[ERROR] No goals has been specified for this build. You must specify a valid Li
Fecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id
>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available Lifecycle Phases is
: Validate, Initialize, Generate-sources, process-sources, Generate-resources, p
Rocess-resources, compile, process-classes, generate-test-sources, process-test-
Sources, Generate-test-resources, process-test-resources, Test-compile, process-
Test-classes, test, Prepare-package, package, Pre-integration-test, integration-
Test, Post-integration-test, verify, install, deploy, Pre-site, site, Post-site,
Site-deploy, Pre-clean, clean, Post-clean. → [help 1]
Org.apache.maven.lifecycle.NoGoalSpecifiedException:No goals have been specifie
D for the This build. Must specify a valid lifecycle phase or a goal in the form
At <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-ver
Sion>]:<goal>. Available lifecycle Phases Are:validate, initialize, generate-so
Urces, Process-sources, Generate-resources, process-resources, compile, process-
Classes, Generate-test-sources, Process-test-sources, Generate-test-resources, p
Rocess-test-resources, Test-compile, process-test-classes, test, Prepare-package
, package, Pre-integration-test, Integration-test, Post-integration-test, verify
, install, deploy, Pre-site, site, Post-site, Site-deploy, Pre-clean, clean, pos t-clean.
The original through the mvn-dmaven.test.skip=true-dcheckstyle.skip=true-dpmd.skip=true can be compiled normally, and now suddenly can't compile.
Later instead: the mvn-dmaven.test.skip=true-dcheckstyle.skip=true-dpmd.skip=true clean package compiles properly.