Added maven profile for simple jetty authentication
git-svn-id: https://svn.apache.org/repos/asf/esme/trunk@1180357 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/server/pom.xml b/server/pom.xml
index 62a3f69..ed97a65 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -276,7 +276,7 @@
<groupId>com.twitter</groupId>
<artifactId>ostrich</artifactId>
<version>4.7.3</version>
- <exclusions>
+ <exclusions>
<exclusion>
<groupId>org.scala-tools</groupId>
<artifactId>vscaladoc</artifactId>
@@ -384,7 +384,7 @@
<profiles>
<profile>
- <id>esme-ldap-jetty</id>
+ <id>esme-cma-ldap-jetty</id>
<dependencies>
<dependency>
<groupId>org.mortbay.jetty</groupId>
@@ -424,6 +424,27 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>esme-cma-simple-jetty</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <contextPath>/</contextPath>
+ <scanIntervalSeconds>0</scanIntervalSeconds>
+ <userRealms>
+ <userRealm implementation="org.mortbay.jetty.security.HashUserRealm">
+ <name>ESMERealm</name>
+ <config>jetty-login.properties</config>
+ </userRealm>
+ </userRealms>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<reporting>