mvn-generate-sources: add page (#19043)

add mvn-generate-sources page
This commit is contained in:
Sahil Afrid Farookhi
2025-10-26 16:30:22 -05:00
committed by GitHub
parent a993809632
commit 18b188bf15
+17
View File
@@ -0,0 +1,17 @@
# mvn generate-sources
> Generate source code for a Maven project before the main compilation phase.
> This phase runs after `initialize` and before `process-sources`.
> More information: <https://manned.org/mvn>.
- Run all lifecycle phases up to `generate-sources`:
`mvn generate-sources`
- Run the next phase to generate resources:
`mvn generate-resources`
- Clean and regenerate sources:
`mvn clean generate-sources`