dev@glassfish.java.net

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

From: Romain Grecourt <romain.grecourt_at_oracle.com>
Date: Tue, 12 Jun 2012 11:08:24 +0200

Hi Tim,

All groupIds inside the GlassFish workspace should begin with
"org.glassfish.main"
The correct groupId is this case is "org.glassfish.main.resources".

Thanks,
Romain

On 6/12/12 1:45 AM, Tim Quinn wrote:
> 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>
>
>