List of usage examples for org.apache.maven.project DependencyResolutionRequest getMavenProject
MavenProject getMavenProject();
From source file:org.hudsonci.maven.eventspy_30.handler.DependencyResolutionRequestHandler.java
License:Open Source License
public void handle(DependencyResolutionRequest event) throws Exception { log.debug("DependencyResolution request: {}", event); getBuildRecorder().recordDependencyResolutionStarted(event.getMavenProject()); }
From source file:org.jenkinsci.plugins.pipeline.maven.eventspy.handler.DependencyResolutionRequestHandler.java
License:Open Source License
@Override protected boolean _handle(DependencyResolutionRequest request) { Xpp3Dom root = new Xpp3Dom("DependencyResolutionRequest"); root.setAttribute("class", request.getClass().getName()); root.addChild(newElement("project", request.getMavenProject())); reporter.print(root);// ww w .j a v a 2s. c om return true; }