
org.eclipse.xtend.maven.XtendTestInstallDebugInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnario-maven-plugin Show documentation
Show all versions of jnario-maven-plugin Show documentation
The compiler library for the Jnario testing language.
The newest version!
package org.eclipse.xtend.maven;
import java.io.File;
import java.util.List;
import com.google.common.collect.Multimap;
/**
* Goal which installs debug information into Java class files that have been generated from Xtend.
*
* @author Moritz Eysholdt - Initial contribution and API
* @goal xtend-test-install-debug-info
* @phase process-test-classes
* @requiresDependencyResolution compile
*/
public class XtendTestInstallDebugInfo extends AbstractXtendInstallDebugInfoMojo {
@Override
protected void internalExecute() {
List compileSourceRoots = project.getTestCompileSourceRoots();
String outputDirectory = project.getBuild().getTestOutputDirectory();
Multimap trace2class = createTraceToClassFileMap(compileSourceRoots, outputDirectory);
logStatus(outputDirectory, trace2class);
installTraces(trace2class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy