Vespa Config Generation
=======================
The vespa-configgen plugin is used to generate config-classes from .def files.
Userguide
---------
Put your .def files in `src/main/vespa-configdef`
Depend on this plugin in your `pom.xml`
com.yahoo.vespa
vespa-configgen-plugin
1.0-SNAPSHOT
Add the following to the 'build' section of your `pom.xml`
com.yahoo.vespa
vespa-configgen-plugin
config-gen
config-gen
The .def files will now be processed during the generate-sources step, and produce output
in the `target/generated-sources/vespa-configgen-plugin` directory. This directory
is automatically added to the source path of your project.
It is possible to configure the location(s) of def-files, and the output of the generated sources.
Put the following configuration under the plugin in the build section:
com.yahoo.vespa
vespa-configgen-plugin
etc, src/main/def-files
target/generated-sources/vespa-configgen-plugin
To run only the config-gen goal from the command-line:
$ mvn com.yahoo.vespa:vespa-configgen-plugin:config-gen