diff --git a/src/python/twitter/pants/commands/goal.py b/src/python/twitter/pants/commands/goal.py
index <HASH>..<HASH> 100644
--- a/src/python/twitter/pants/commands/goal.py
+++ b/src/python/twitter/pants/commands/goal.py
@@ -452,7 +452,8 @@ if NailgunTask.killall:
 # TODO(John Sirois): Resolve eggs
 goal(
   name='ivy',
-  action=IvyResolve
+  action=IvyResolve,
+  dependencies=['gen']
 ).install('resolve').with_description('Resolves jar dependencies and produces dependency reports.')
Make resolve depend on gen.

This is so any deps injected into synthetic codegen targets
participate in the resolve.

(sapling split of 9bc6d<I>b<I>bc8d<I>f<I>bf<I>fc<I>cf<I>d<I>)