esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From les...@apache.org
Subject svn commit: r1180357 - /esme/trunk/server/pom.xml
Date Sat, 08 Oct 2011 11:36:37 GMT
Author: lester
Date: Sat Oct  8 11:36:37 2011
New Revision: 1180357

URL: http://svn.apache.org/viewvc?rev=1180357&view=rev
Log:
Added maven profile for simple jetty authentication

Modified:
    esme/trunk/server/pom.xml

Modified: esme/trunk/server/pom.xml
URL: http://svn.apache.org/viewvc/esme/trunk/server/pom.xml?rev=1180357&r1=1180356&r2=1180357&view=diff
==============================================================================
--- esme/trunk/server/pom.xml (original)
+++ esme/trunk/server/pom.xml Sat Oct  8 11:36:37 2011
@@ -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>



Mime
View raw message