| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <relativePath>..</relativePath> |
| <groupId>eclipselink.example.jpa</groupId> |
| <artifactId>employee.parent</artifactId> |
| <version>2.4.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>employee.web</artifactId> |
| <packaging>war</packaging> |
| <name>Employee Web App</name> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>${eclipselink.groupid}</groupId> |
| <artifactId>${eclipselink.artifactid}</artifactId> |
| <version>${eclipselink.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>commonj.sdo</artifactId> |
| <groupId>commonj.sdo</groupId> |
| </exclusion> |
| </exclusions> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>eclipselink.example.jpa</groupId> |
| <artifactId>employee.model</artifactId> |
| <version>${eclipselink.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.faces</groupId> |
| <artifactId>javax.faces-api</artifactId> |
| <version>2.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>javax.ejb</artifactId> |
| <version>3.1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>javax.persistence</artifactId> |
| <version>2.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| |
| <build> |
| <finalName>employee.web</finalName> |
| <defaultGoal>package</defaultGoal> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12.4</version> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>derby.stream.error.file</name> |
| <value>target/derby.log</value> |
| </property> |
| </systemProperties> |
| <argLine>"-javaagent:${settings.localRepository}/org/eclipse/persistence/eclipselink/${eclipselink.version}/eclipselink-${eclipselink.version}.jar"</argLine> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |