users@glassfish.java.net

Re: Maven2 Repository

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Nov 2007 06:42:58 PST

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