geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1295414 - in /geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war: pom.xml src/main/webapp/WEB-INF/geronimo-web.xml
Date Thu, 01 Mar 2012 04:30:36 GMT
Author: xiaming
Date: Thu Mar  1 04:30:36 2012
New Revision: 1295414

URL: http://svn.apache.org/viewvc?rev=1295414&view=rev
Log:
GERONIMO-6289 Add geronimo DD for sendmail sample, provided by Tina Li

Added:
    geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
  (with props)
Modified:
    geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/pom.xml

Modified: geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/pom.xml?rev=1295414&r1=1295413&r2=1295414&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/pom.xml (original)
+++ geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/pom.xml Thu Mar  1 04:30:36
2012
@@ -37,6 +37,17 @@
     <description>Geronimo Samples. WEB Module</description>
 
     <dependencies>
+     <dependency>
+            <groupId>org.apache.geronimo.configs</groupId>
+            <artifactId>javamail</artifactId>
+           <version>${geronimoVersion}</version>
+             <type>car</type> 
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.modules</groupId>
+            <artifactId>geronimo-mail</artifactId>
+            <version>${geronimoVersion}</version>
+        </dependency>
     </dependencies>
 
 </project>

Added: geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml?rev=1295414&view=auto
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
(added)
+++ geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
Thu Mar  1 04:30:36 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you 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.
+-->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
+    <environment>
+        <moduleId>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>${pom.artifactId}</artifactId>
+            <version>${version}</version>
+            <type>war</type>
+        </moduleId>   
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.geronimo.configs</groupId>
+                <artifactId>javamail</artifactId>
+                <type>car</type>
+            </dependency>
+        </dependencies>
+    </environment>
+    <context-root>/sendmail</context-root>
+    <resource-ref>
+        <!-- Used is web.xml -->
+        <ref-name>mail/testMailSession</ref-name>
+        <!-- Default Geronimo mail session -->
+        <resource-link>mail/MailSession</resource-link>
+    </resource-ref>
+</web-app>
+

Propchange: geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/samples/trunk/samples/javaee5/sendmail/sendmail-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message