
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">


<!--
   DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  
   Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
  
   The contents of this file are subject to the terms
   of the Common Development and Distribution License
   (the License). You may not use this file except in
   compliance with the License.

   You can obtain a copy of the License at
   https://opensso.dev.java.net/public/CDDLv1.0.html or
   opensso/legal/CDDLv1.0.txt
   See the License for the specific language governing
   permission and limitations under the License.

   When distributing Covered Code, include this CDDL
   Header Notice in each file and include the License file
   at opensso/legal/CDDLv1.0.txt.
   If applicable, add the following below the CDDL Header,
   with the fields enclosed by brackets [] replaced by
   your own identifying information:
   "Portions Copyrighted [year] [name of copyright owner]"

-->
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.glassfish.security</groupId>
    <artifactId>sam.openid</artifactId>
    <name>JSR 196 Server Authmodule for OpenID Authentication</name>
    <version>0.0.1-SNAPSHOT</version>
    <description />
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>pre-integration-test</phase>
                        <configuration>
                            <tasks>
                                <!--
                                the Property glassfish.install needs to be configured in the
                                settings.xml file the property should point to the autodeploy
                                folder from glassfish domain!
                                -->
                                <echo message="About to copy EAR to autodeploydirectory..." />
                                <echo> JAR:
				${project.build.directory}/${project.build.finalName}.jar
				autodeploy directory: ${glassfish.lib}
                                </echo>
                                <copy
				file="${project.build.directory}/${project.build.finalName}.jar"
				todir="${glassfish.lib}" />
                                <echo message="Copied JAR into lib directory." />
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.servlet</artifactId>
            <version>10.0-SNAPSHOT</version>
            <!-- Don't set scope as provided. See GF V3 issue #5992 -->
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.security.auth.message
            </artifactId>
            <version>10.0-SNAPSHOT</version>
        </dependency>
    </dependencies>
</project>