dev@glassfish.java.net

Re: pom review - adding jsr-299 api and impl to runtime dependencies for app client

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 28 Oct 2009 07:35:05 +0530

Tim,

Why have you added weld-integration as a dependency? Does ACC use it? If
so, can you explain how you use the functionality provided by that module?

Thanks,
Sahoo

Tim Quinn wrote:
> Hi.
>
> The weld JARs need to be accessible to app clients at runtime. These
> changes add the api and the implementation JARs to the runtime
> dependencies.
>
> Thanks.
>
> - Tim
>
>
> Diffs:
>
> Index: appclient/client/acc/pom.xml
> ===================================================================
> --- appclient/client/acc/pom.xml (revision 33410)
> +++ appclient/client/acc/pom.xml (working copy)
> @@ -485,7 +485,20 @@
> <groupId>org.glassfish.persistence.cmp</groupId>
> <artifactId>cmp-internal-api</artifactId>
> <version>${project.version}</version>
> -</dependency>
> + </dependency>
>
> + <dependency>
> + <scope>runtime</scope>
> + <groupId>org.jboss.weld</groupId>
> + <artifactId>weld-osgi-bundle</artifactId>
> + </dependency>
> +
> + <dependency>
> + <scope>runtime</scope>
> + <groupId>org.glassfish.web</groupId>
> + <artifactId>weld-integration</artifactId>
> + <version>${project.version}</version>
> + </dependency>
> +
> </dependencies>
> </project>