Affects Version/s: None
Fix Version/s: None
We have a large structured project with lots of components and artifacts (takes about 10 minutes to run mvn install from top of project). When doing refactoring and rebuilding from clean working pool, we will occasionally get through 7 or 8 minutes of building and have something at the end of the dependency tree fail.
After fixing the affected artifact, we have two options – try to suss out what was not yet built and manually do those in appropriate order, or re-run mvn install from the project root.
Obviously manually trying to complete the mvn install is error prone.
Rerunning mvn install from the root takes a long time because even though it can skip compilation on all the previously built artifacts, it still re-runs the tests and re-packages and re-installs to the local repository.
It would be great if mvn install checked the target directory, determined that its target existed in the working pool, checked that no dependencies (source files, resource files, test files, dependency artifacts) had newer timestamps and assumed that the target artifact was up to date. Then it could skip all compilation, test, packaging steps. It could check MD5 checksum against the local repository to determine whether the local file copy was needed (although it would be very odd that the test and packaging was all up to date but the actual file copy wasn't performed).
|Field||Original Value||New Value|
|Resolution||Duplicate [ 3 ]|
|Assignee||Robert Scholte [ rfscholte ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Project Import||Sun Apr 05 10:26:11 UTC 2015 [ 1428229571122 ]|
|Workflow||jira [ 12721678 ]||Default workflow, editable Closed status [ 12751160 ]|
|Project Import||Mon Apr 06 00:00:18 UTC 2015 [ 1428278418685 ]|
|Workflow||jira [ 12959145 ]||Default workflow, editable Closed status [ 12996062 ]|