users@glassfish.java.net

glassfish lib repository - maven 2 ??

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sat, 14 Mar 2009 19:35:09 +0100

how can I configure Maven to access the glassfish lib ?


specially:

appserv-rt.jar
appserv-ext.jar
javaee.jar

* I am using systemPath, but I wonder if there is something more elegant...

                <dependency>
                        <groupId>glassfish</groupId>
                        <artifactId>appserv-rt.jar</artifactId>
                        <version>LATEST</version>
                        <scope>system</scope>
                        <systemPath>${env.AS_HOME}/lib/appserv-rt.jar</systemPath>
                </dependency>
                <dependency>
                        <groupId>glassfish</groupId>
                        <artifactId>javaee.jar</artifactId>
                        <version>LATEST</version>
                        <scope>system</scope>
                        <systemPath>${env.AS_HOME}/lib/javaee.jar</systemPath>
                </dependency>
                <dependency>
                        <groupId>glassfish</groupId>
                        <artifactId>appserv-ext.jar</artifactId>
                        <version>LATEST</version>
                        <scope>system</scope>
                        <systemPath>${env.AS_HOME}/lib/appserv-ext.jar</systemPath>
                </dependency>



-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces