cleanup a couple dependency management related methods

This commit is contained in:
Mark Harrah 2010-03-28 14:22:50 -04:00
parent 2acea814be
commit 93302621ec
1 changed files with 2 additions and 13 deletions

View File

@ -275,11 +275,7 @@ trait BasicManagedProject extends ManagedProject with ReflectiveManagedProject w
* See http://code.google.com/p/simple-build-tool/wiki/LibraryManagement for details.*/
def ivyXML: NodeSeq = NodeSeq.Empty
def pomExtra: NodeSeq = NodeSeq.Empty
def expandedIvyConfigurations =
{
val confs = ivyConfigurations
if(confs.isEmpty) Configurations.defaultMavenConfigurations else confs
}
override def ivyConfigurations: Iterable[Configuration] =
{
val reflective = super.ivyConfigurations
@ -332,14 +328,7 @@ trait BasicManagedProject extends ManagedProject with ReflectiveManagedProject w
* be more appropriate, however.*/
def filterScalaJars = true
/** The configurations to check/filter.*/
def checkScalaInConfigurations: Iterable[Configuration] =
{
val all = ivyConfigurations
if(all.isEmpty)
Configurations.defaultMavenConfigurations
else
all
}
def checkScalaInConfigurations: Iterable[Configuration] = ivyConfigurations
def defaultPublishRepository: Option[Resolver] =
{
reflectiveRepositories.get(PublishToName) orElse