users@glassfish.java.net

Re: Maven2 Repository

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Wed, 28 Nov 2007 14:42:41 +0000

Ohh

well don't make the mistake I made.

The javaee.jar in the java.net repo is a stub jar and can only be used
for compile time, not runtime.



On Nov 28, 2007 2:42 PM, <glassfish_at_javadesktop.org> wrote:
> As a newbei at Maven, i can only say that i'm agree with you despite the fact that €0,01 for every issue is too cheap for me but i could survive with €0,10 :)
>
> To be honest, i only need appserv-rt.jar and javaee.jar in my path to be able to initialize and use an InitialContext object - which i couldn't manage yet. I've added the repository and dependency as follows but i couldn't get it work.
>
> In Glassfish libs are they included, so adding this should work, i thought...
>
> <repository>
> <id>maven2-glassfish</id>
> <name>Glassfish Repository</name>
> <url>http://repo1.maven.org/maven2/</url>
> </repository>
> ....
> <dependency>
> <groupId>net.java.dev.glassfish</groupId>
> <artifactId>glassfish</artifactId>
> <version>b32g</version>
> </dependency>
>
> Any help?
> [Message sent by forum member 'erkan' (erkan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=247609
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>