default Optional<Integer> getMajorVersion() {
        return getDeploymentSpec().majorVersion();
    }
Returns the major version this application is valid for, or empty if it is valid for all versions
config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java