Example usage for org.apache.maven.settings.building DefaultSettingsBuildingRequest getGlobalSettingsFile

List of usage examples for org.apache.maven.settings.building DefaultSettingsBuildingRequest getGlobalSettingsFile

Introduction

In this page you can find the example usage for org.apache.maven.settings.building DefaultSettingsBuildingRequest getGlobalSettingsFile.

Prototype

@Override
    public File getGlobalSettingsFile() 

Source Link

Usage

From source file:org.jenkinsci.plugins.pipeline.maven.eventspy.handler.DefaultSettingsBuildingRequestHandler.java

License:Open Source License

@Override
public boolean _handle(DefaultSettingsBuildingRequest request) {

    Xpp3Dom root = new Xpp3Dom("DefaultSettingsBuildingRequest");
    root.setAttribute("class", request.getClass().getName());
    root.addChild(newElement("userSettingsFile", request.getUserSettingsFile()));
    root.addChild(newElement("globalSettings", request.getGlobalSettingsFile()));

    reporter.print(root);/*from   w w w. jav  a  2s  . c o  m*/
    return true;
}