com.castlemon.maven.runner.DefaultProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-usage Show documentation
Show all versions of maven-usage Show documentation
Examines a Maven repo to determine where a specified project is used
The newest version!
package com.castlemon.maven.runner;
import java.io.File;
import com.beust.jcommander.IDefaultProvider;
public class DefaultProvider implements IDefaultProvider {
@Override
public String getDefaultValueFor(String arg0) {
if (arg0.equals("-searchDir")) {
return System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository";
}
if (arg0.equals("-outputFormats")) {
return "HTML";
}
if (arg0.equals("-repo")) {
return System.getProperty("user.home") + File.separator + ".m2" + File.separator + "repository";
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy