<?xml version="1.0"?>
<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">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>my-project</artifactId>
        <groupId>net.pascalalma</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>

    <groupId>net.pascalalma</groupId>
    <artifactId>my-model</artifactId>
    <name>my-model</name>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging><!-- Entity beans are handled as POJO in this context -->
    <description>Contains all entity beans (model classes)</description>

    <dependencies>
        <!-- Libraries necessary for compiling -->
        <dependency>
            <groupId>glassfish</groupId>
            <artifactId>appserv-rt.jar</artifactId>
            <version>LATEST</version>
            <scope>system</scope>
            <systemPath>${glassfish.home}/lib/appserv-rt.jar</systemPath>
        </dependency>
        <dependency>
            <groupId>glassfish</groupId>
            <artifactId>javaee.jar</artifactId>
            <version>LATEST</version>
            <scope>system</scope>
            <systemPath>${glassfish.home}/lib/javaee.jar</systemPath>
        </dependency>
    </dependencies>
    <build>
        <resources>
            <resource>
                <!-- Use filtering so the property values are written to persistnece.xml
                     based on the selected profile (develop or test) -->
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>
 
</project>
