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

org.codefx.maven.plugin.jdeps.tool.MavenToolchainJDepsSearch Maven / Gradle / Ivy

The newest version!
package org.codefx.maven.plugin.jdeps.tool;

import java.nio.file.Path;
import java.util.Objects;
import java.util.Optional;

import org.apache.maven.toolchain.Toolchain;

/**
 * Tries to locate JDeps in the JDK specified to the Maven Toolchain.
 */
public class MavenToolchainJDepsSearch implements JDepsSearch {

	private final Toolchain toolchain;

	/**
	 * Creates a new search using the specified toolchain.
	 * 
	 * @param toolchain
	 *            the toolchain which will be used to locate JDeps
	 */
	public MavenToolchainJDepsSearch(Toolchain toolchain) {
		Objects.requireNonNull(toolchain, "The argument 'toolchain' must not be null.");
		this.toolchain = toolchain;
	}

	@Override
	public Optional search() {
		return Optional.empty();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy