Description of problem: Agent update archive is missing ant dependencies on a build with an empty initial maven repository. Repeat builds with established local maven repositories do not have show this problem. How reproducible: Every time. Steps to Reproduce: 1. Start with an empty maven repository. 2. Build RHQ 3. Inspect the agent update artifacts Actual results: Notice that artifact from the agent update submodule does not have ant dependency bundle. Expected results: Notice that artifact from the agent update submodule does not have ant dependency bundle. Additional info: This happens because ant 1.7.1 is not downloaded prior to building agent update submodule on an empty repository. On second builds using the same repository, the dependency gets downloaded by prior builds after the agent update build and thus the agent update build will have it available.
Correction for the expected result Expected results: Notice that the artifact from the agent update submodule contains ant dependencies.
Adding the version in the pom for agentupdate fixed the problem. The version added is the variable already defined in the same pom. That ensures the dependency is downloaded in the local repository prior to build agentupdate artifacts.
Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue.