Yes we are missing some documentation on that so I need to fix that.
We can put a src/main/resources/ebean.mf manifest file as a resource with content like:
```
entity-packages: my.some.mypackage; my.other;
```
This will then restrict the ebean-agent to only look at classes in these packages to enhance. Otherwise it will look at all the classes apart from ones in a blacklist that is defined at:
NB: make sure to include a empty line at the bottom of the manifest file
Now an alternative answer is to NOT actually do anything and just let the ebean-agent look to enhance everything (that isn't automatically excluded via the IgnoreClassHelper). This is actually the expected default approach and I'm suggesting that today we no longer expect projects to look to specify entity-packages explicitly and limit the ebean-agent in that way. This is also partly because today most applications are using build time enhancement (so we are less concerned about reading classes that will not be enhanced from a performance perspective) and because anyone using query beans get an META-INF/ebean-generated-info.mf generated that contains the entity-packages specified there.
So yes we can explicitly specify the entity-packages, but my recommendation would be to not bother.
Cheers, Rob.