quality@glassfish.java.net

Re: Fwd: [Issue 11388] [other] [embedded] Unable to get basic unit test working in Maven

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Wed, 06 Jan 2010 01:14:33 -0800

Hi Richard,

I am happy to know you got it to work. I like your suggestion. I have
added my comment bellow to this issue. I will also follow up with
developer :-)

"As Richard suggested we should doc this. I also wonder if we could put
in the code to do the following 2 things:

(1) Add code to check for the required dependency order

(2) If dependency order is not correct, issue more meaningful error message"

Thanks,
Judy

Richard Kolb wrote:
> Hi Judy
>
> Seems I solved the issue, yay.
> Can someone please document this please.
>
> regards
> Richard
>
>
> ---------- Forwarded message ----------
> From: <rjdkolb_at_dev.java.net <mailto:rjdkolb_at_dev.java.net>>
> Date: 2010/1/6
> Subject: [Issue 11388] [other] [embedded] Unable to get basic unit
> test working in Maven
> To: rjdkolb_at_dev.java.net <mailto:rjdkolb_at_dev.java.net>
>
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11388
>
>
>
>
>
>
> ------- Additional comments from rjdkolb_at_dev.java.net
> <mailto:rjdkolb_at_dev.java.net> Wed Jan 6 06:35:17 +0000 2010 -------
> Problem solved!
>
> What you need to do is have the embedded dep before the javaee-api-6 dep
> <dependency>
> <groupId>org.glassfish.extras</groupId>
> <artifactId>glassfish-embedded-all</artifactId>
> <version>3.0</version>
> </dependency>
> <dependency>
> <groupId>javax</groupId>
> <artifactId>javaee-api</artifactId>
> <version>6.0</version>
> <scope>provided</scope>
> </dependency>
>
> Can someone document this please.
>
>
>
>
>
>