dev@glassfish.java.net

pom.xml review: all/main/appserver/appclient/client/acc

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Mon, 11 Jun 2012 18:45:22 -0500

Hi.

These changes are needed to allow app clients to look up and use mail sessions via the server.

Even though the app client container does not itself depend on these, we add such dependencies to the pom.xml so they are captured in the class path.

Thanks.

- Tim

Index: main/appserver/appclient/client/acc/pom.xml
===================================================================
--- main/appserver/appclient/client/acc/pom.xml (revision 54508)
+++ main/appserver/appclient/client/acc/pom.xml (working copy)
@@ -412,5 +412,20 @@
             <version>${project.version}</version>
             <scope>runtime</scope>
         </dependency>
+
+ <!--
+ The next two mail-related dependencies allow mail session look-up
+ and use from clients.
+ -->
+ <dependency>
+ <groupId>org.glassfish.resources</groupId>
+ <artifactId>javamail-connector</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.resources</groupId>
+ <artifactId>javamail-runtime</artifactId>
+ <version>${project.version}</version>
+ </dependency>
    </dependencies>
 </project>