Named Index
Often Sisu's SpaceModule doesn't scan the full classpath at run time (for relevant annotations) but relies on a pre-generated index at META-INF/sisu/javax.inject.Named. This file contains the fully qualified class names (one class name per line). The line separator may be either \n, \r or \r\n.
Generate the named index
There are two different ways how to create such an index file:
- By leveraging the Java annotation processor in
org.eclipse.sisu.space.SisuIndexAPT6to generate the index. One needs to enable it viajavac -processor org.eclipse.sisu.space.SisuIndexAPT6or with the accordingmaven-compiler-pluginparameterannotationProcessors. - By leveraging the dedicated Maven plugin


