All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.xtend.maven.XtendInstallDebugInfo Maven / Gradle / Ivy

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-install-debug-info
 * @phase process-classes
 * @requiresDependencyResolution compile
 */
public class XtendInstallDebugInfo extends AbstractXtendInstallDebugInfoMojo {

	@Override
	protected void internalExecute() {
		List compileSourceRoots = project.getCompileSourceRoots();
		String outputDirectory = project.getBuild().getOutputDirectory();
		Multimap trace2class = createTraceToClassFileMap(compileSourceRoots, outputDirectory);
		logStatus(outputDirectory, trace2class);
		installTraces(trace2class);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy