Skip to content

Commit

Permalink
new plugin gives me libs/ and also we can publish to scala-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jenson committed May 28, 2010
1 parent 5f189e9 commit 5986837
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
17 changes: 13 additions & 4 deletions project/build/ZookeeperClientProject.scala
Expand Up @@ -4,10 +4,6 @@ import com.twitter.sbt.{StandardProject, SubversionRepository}


class ZookeeperClientProject(info: ProjectInfo) extends StandardProject(info) with SubversionRepository {
// Local libraries got into the libs/ directory
val local = Resolver.file("libs", new java.io.File("libs")) transactional()

//override def dependencyPath = "libs"
// Maven repositories
val mavenDotOrg = "repo1" at "http://repo1.maven.org/maven2/"
val jBoss = "jboss-repo" at "http://repository.jboss.org/maven2/"
Expand All @@ -33,4 +29,17 @@ class ZookeeperClientProject(info: ProjectInfo) extends StandardProject(info) wi
val javautils = "org.scala-tools" % "javautils" % "2.7.4-0.1"
val ostrich = "com.twitter" % "ostrich" % "1.1.6"
val zookeeper = "org.apache" % "zookeeper" % "3.3.1"

Credentials(Path.userHome / ".ivy2" / "credentials", log)
val publishTo = "nexus" at "http://nexus.scala-tools.org/content/repositories/releases/"

override def pomExtra =
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

}
2 changes: 1 addition & 1 deletion project/plugins/Plugins.scala
Expand Up @@ -2,5 +2,5 @@ import sbt._

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
val twitterNest = "com.twitter" at "http://www.lag.net/nest"
val defaultProject = "com.twitter" % "standard-project" % "0.5.5"
val defaultProject = "com.twitter" % "standard-project" % "0.5.8"
}
2 changes: 1 addition & 1 deletion project/plugins/project/build.properties
@@ -1,3 +1,3 @@
#Project properties
#Fri May 21 13:04:29 PDT 2010
#Fri May 28 08:33:12 PDT 2010
plugin.uptodate=true

0 comments on commit 5986837

Please sign in to comment.