Resolution: Won't Fix
Affects Version/s: 2.8.1, 2.8.2
Fix Version/s: None
Environment:Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 05:51:28-0800)
Java version: 1.7.0_45, vendor: Oracle Corporation
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
If there is a pluginRepository defined in the POM, and the deployAtEnd configuration is true, the actual repo deployment at the end of the build is skipped.
Expectation is that the repo deployment at the end of the build would work regardless of pluginRepository configuration.
- In the trunk/2.9-SNAPSHOT project, run mvn deploy the deploy-at-end-pass integration test. The deploy happens successfully at the end of the build.
- Add a pluginRepository definition to deploy-at-end-pass/pom.xml, such as
- Re-run the mvn deploy. Observe that the deploy to repo is not performed.
Define the pluginRepositories in settings.xml, not in the current POM lineage. The deployAtEnd works as expected in this case.