Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2
-
None
-
None
Description
In the phase of run-preparation-goals, it will run clean & verify, which includes compile.
When it comes to release, the plugin will checkout the source code to a different path (target/checkout) , then deploy the jar.
Because of different source path and target,mvn cannot use the previous compiled classes. It's ok for small project, but will be time-consuming for large project.
Although we can customize the checkout directory, but the plugin will delete the content if it already exists.
Is there any workaround from suffering compiling twice?