class DefaultRuntimeInformation implements RuntimeInformation, Initializable {

    @Inject
    private org.apache.maven.rtinfo.RuntimeInformation rtInfo;

    private ArtifactVersion applicationVersion;

    public ArtifactVersion getApplicationVersion() {
        return applicationVersion;
    }

    public void initialize() throws InitializationException {<FILL_FUNCTION_BODY>}
}

        String mavenVersion = rtInfo.getMavenVersion();

        if (mavenVersion == null || mavenVersion.isEmpty()) {
            throw new InitializationException("Unable to read Maven version from maven-core");
        }

        applicationVersion = new DefaultArtifactVersion(mavenVersion);
    
<no_super_class>