/archetypes/scalate-archetype-guice/src/main/resources/archetype-resources/project/build/Project.scala
Scala | 35 lines | 12 code | 5 blank | 18 comment | 0 complexity | 85146e73ebd9e0992c322a6e5f27160d MD5 | raw file
- /**
- * Copyright (C) 2009-2011 the original author or authors.
- * See the notice.md file distributed with this work for additional
- * information regarding copyright ownership.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- import sbt._
- import org.fusesource.scalate.sbt._
- class Project(info: ProjectInfo) extends DefaultWebProject(info) with PrecompilerWebProject {
- lazy val fusesource_snapshot_repo = "FuseSource Snapshots" at
- "http://repo.fusesource.com/nexus/content/repositories/snapshots"
- lazy val java_net_repo = "Java.net Repository" at
- "http://download.java.net/maven/2"
- lazy val scalate_guice = "org.fusesource.scalate" % "scalate-guice" % "${project.version}"
- lazy val servlet = "javax.servlet" % "servlet-api" % "${servlet-api-version}"
- lazy val logback = "ch.qos.logback" % "logback-classic" % "${logback-version}"
- // to get jetty-run working in sbt
- lazy val jetty_webapp = "org.eclipse.jetty" % "jetty-webapp" % "7.0.2.RC0" % "test"
- }