core-it-support/core-it-plugins/maven-it-plugin-extension-provider/src/main/java/org/apache/maven/plugin/coreit/UpdateSingletonMojo.java [66:84]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void execute() throws MojoExecutionException {
        getLog().info("[MAVEN-CORE-IT-LOG] Singleton Instance: " + System.identityHashCode(singleton));
        getLog().info("[MAVEN-CORE-IT-LOG] Singleton Class Loader: "
                + singleton.getClass().getClassLoader());

        getLog().info("[MAVEN-CORE-IT-LOG] Setting property " + key + " = " + value);

        singleton.setProperty(key, value);

        if (propertiesFile != null) {
            getLog().info("[MAVEN-CORE-IT-LOG] Saving properties to " + propertiesFile);

            try {
                singleton.saveProperties(propertiesFile);
            } catch (IOException e) {
                throw new MojoExecutionException("Failed to save properties to " + propertiesFile, e);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core-it-support/core-it-plugins/maven-it-plugin-extension-consumer/src/main/java/org/apache/maven/plugin/coreit/UpdateSingletonMojo.java [66:84]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void execute() throws MojoExecutionException {
        getLog().info("[MAVEN-CORE-IT-LOG] Singleton Instance: " + System.identityHashCode(singleton));
        getLog().info("[MAVEN-CORE-IT-LOG] Singleton Class Loader: "
                + singleton.getClass().getClassLoader());

        getLog().info("[MAVEN-CORE-IT-LOG] Setting property " + key + " = " + value);

        singleton.setProperty(key, value);

        if (propertiesFile != null) {
            getLog().info("[MAVEN-CORE-IT-LOG] Saving properties to " + propertiesFile);

            try {
                singleton.saveProperties(propertiesFile);
            } catch (IOException e) {
                throw new MojoExecutionException("Failed to save properties to " + propertiesFile, e);
            }
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



