Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

completed 0.0.5 release and moved the codebase to 0.0.6-SNAPSHOT

  • Loading branch information...
commit ca38d6854812cd6c62ad6380c3e8c594bc7575c7 1 parent aab838c
@timperrett authored
Showing with 31 additions and 5 deletions.
  1. +6 −2 README.textile
  2. +25 −3 project/build.scala
View
8 README.textile
@@ -7,9 +7,13 @@ h2. Usage
First, add the SBT dependency:
<pre><code>
- libraryDependencies += "eu.getintheloop" %% "lift-shiro" % "0.0.4"
+ libraryDependencies += "eu.getintheloop" %% "lift-shiro" % "0.0.5"
+
+ resolvers ++= Seq(
+ "apache.repo" at "https://repository.apache.org/content/repositories/snapshots/"
+ "sonatype.repo" at "https://oss.sonatype.org/content/repositories/public/"
+ )
- resolvers += "apache.repo" at "https://repository.apache.org/content/repositories/snapshots/"
</code></pre>
Next, you need to add this to the web.xml within your project in order to initialise the Shiro context when your application receives a request. You need to add this above the lift filter and filter-map. Otherwise, login redirection will not work.
View
28 project/build.scala
@@ -2,7 +2,7 @@ import sbt._, Keys._
object BuildSettings {
val buildOrganization = "eu.getintheloop"
- val buildVersion = "0.0.5"
+ val buildVersion = "0.0.6-SNAPSHOT"
val buildScalaVersion = "2.9.1"
val buildSettings = Defaults.defaultSettings ++ Seq (
@@ -21,9 +21,31 @@ object BuildSettings {
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
- },
+ },
+ credentials += Credentials(Path.userHome / ".ivy2" / ".credentials"),
publishMavenStyle := true,
- publishArtifact in Test := false
+ publishArtifact in Test := false,
+ pomIncludeRepository := { repo => false },
+ pomExtra := (
+ <url>https://github.com/timperrett/lift-shiro</url>
+ <licenses>
+ <license>
+ <name>Apache 2.0 License</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <url>git@github.com:timperrett/lift-shiro.git</url>
+ <connection>scm:git:git@github.com:timperrett/lift-shiro.git</connection>
+ </scm>
+ <developers>
+ <developer>
+ <id>timperrett</id>
+ <name>Timothy Perrett</name>
+ <url>http://timperrett.com</url>
+ </developer>
+ </developers>)
)
}
Please sign in to comment.
Something went wrong with that request. Please try again.