Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.2.1, 3.2.2
-
None
Description
Using Maven 3.0.4, artifacts can only be resolved a single time during the build lifecycle using the Maven 2.x dependency resolution API. Using resolver.resolveAlways() should force re-resolution of the artifact, however if the artifact was already resolved once during the build, then it will not be re-resolved even when calling resolveAlways().
This works as expected in Maven 3.0.0-3.0.3, and the artifact is re-resolved.