static String loadDefaultConfigGenVersion() throws MojoExecutionException {
        Properties props = new Properties();
        try {
            props.load(GenerateSourcesMojo.class.getResourceAsStream("/build.properties"));
        } catch (IOException e) {
            throw new MojoExecutionException("Failed to resolve version of com.yahoo.vespa:config-class-plugin.",
                                             new FileNotFoundException("/build.properties"));
        }
        return props.getProperty("projectVersion");
    }
Calls the generate-sources phase in the container lifecycle defined in lifecycle.xml.

@author Tony Vaagenes
bundle-plugin/src/main/java/com/yahoo/container/plugin/mojo/GenerateSourcesMojo.java