mirror of https://github.com/sbt/sbt.git
javafmt
This commit is contained in:
parent
b00b4d2c1f
commit
b61a541dde
|
|
@ -1,27 +1,26 @@
|
|||
package sbt.internal.librarymanagement.mavenint;
|
||||
|
||||
/**
|
||||
* Extra properties we dump from Aether into the properties list.
|
||||
*/
|
||||
/** Extra properties we dump from Aether into the properties list. */
|
||||
public class SbtPomExtraProperties {
|
||||
|
||||
public static final String MAVEN_PACKAGING_KEY = "sbt.pom.packaging";
|
||||
public static final String SCALA_VERSION_KEY = "sbt.pom.scalaversion";
|
||||
public static final String SBT_VERSION_KEY = "sbt.pom.sbtversion";
|
||||
public static final String MAVEN_PACKAGING_KEY = "sbt.pom.packaging";
|
||||
public static final String SCALA_VERSION_KEY = "sbt.pom.scalaversion";
|
||||
public static final String SBT_VERSION_KEY = "sbt.pom.sbtversion";
|
||||
|
||||
public static final String POM_INFO_KEY_PREFIX = "info.";
|
||||
public static final String POM_SCALA_VERSION = "scalaVersion";
|
||||
public static final String POM_SBT_VERSION = "sbtVersion";
|
||||
public static final String POM_API_KEY = "info.apiURL";
|
||||
public static final String VERSION_SCHEME_KEY = "info.versionScheme";
|
||||
public static final String POM_RELEASE_NOTES_KEY = "info.releaseNotesUrl";
|
||||
public static final String POM_INFO_KEY_PREFIX = "info.";
|
||||
public static final String POM_SCALA_VERSION = "scalaVersion";
|
||||
public static final String POM_SBT_VERSION = "sbtVersion";
|
||||
public static final String POM_API_KEY = "info.apiURL";
|
||||
public static final String VERSION_SCHEME_KEY = "info.versionScheme";
|
||||
public static final String POM_RELEASE_NOTES_KEY = "info.releaseNotesUrl";
|
||||
|
||||
public static final String LICENSE_COUNT_KEY = "license.count";
|
||||
public static final String LICENSE_COUNT_KEY = "license.count";
|
||||
|
||||
public static String makeLicenseName(int i) {
|
||||
return "license." + i + ".name";
|
||||
}
|
||||
public static String makeLicenseUrl(int i) {
|
||||
return "license." + i + ".url";
|
||||
}
|
||||
public static String makeLicenseName(int i) {
|
||||
return "license." + i + ".name";
|
||||
}
|
||||
|
||||
public static String makeLicenseUrl(int i) {
|
||||
return "license." + i + ".url";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
package sbt.internal.librarymanagement;
|
||||
|
||||
import java.util.Map;
|
||||
import org.apache.ivy.plugins.resolver.DependencyResolver;
|
||||
import java.util.Map;
|
||||
import org.apache.ivy.plugins.resolver.DependencyResolver;
|
||||
|
||||
// implements the methods with raw types
|
||||
@SuppressWarnings("rawtypes")
|
||||
public abstract class ResolverAdapter implements DependencyResolver
|
||||
{
|
||||
public String[] listTokenValues(String token, Map otherTokenValues) { return new String[0]; }
|
||||
public abstract class ResolverAdapter implements DependencyResolver {
|
||||
public String[] listTokenValues(String token, Map otherTokenValues) {
|
||||
return new String[0];
|
||||
}
|
||||
|
||||
public Map[] listTokenValues(String[] tokens, Map criteria) { return new Map[0]; }
|
||||
}
|
||||
public Map[] listTokenValues(String[] tokens, Map criteria) {
|
||||
return new Map[0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue