class M2ServletContextListener implements ServletContextListener {

    GAV deployJar(final String file) {
        GAV gav = new GAV();
        Properties props = readZipFile(file);
        if (!props.isEmpty()) {
            gav = new GAV(props.getProperty(GROUP_ID),
                          props.getProperty(ARTIFACT_ID),
                          props.getProperty(VERSION));
            deploy(gav, file);
        }
        return gav;
    }

    public  M2ServletContextListener();

}