Bug 959591 - Agentupdate Missing Dependencies
Summary: Agentupdate Missing Dependencies
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.7
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-03 21:58 UTC by Stefan Negrea
Modified: 2013-09-03 14:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 14:42:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Stefan Negrea 2013-05-03 21:58:28 UTC
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.

Comment 1 Stefan Negrea 2013-05-03 21:59:40 UTC
Correction for the expected result

Expected results:
Notice that the artifact from the agent update submodule contains ant dependencies.

Comment 2 Stefan Negrea 2013-05-06 15:58:30 UTC
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.

Comment 3 Heiko W. Rupp 2013-09-03 14:42:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.