| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Rev: 1237516 $ $Date: 2012-01-29 16:48:17 -0800 (Sun, 29 Jan 2012) $ --> |
| |
| <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"> |
| <parent> |
| <artifactId>container</artifactId> |
| <groupId>org.apache.openejb</groupId> |
| <version>4.5.1</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>openejb-jee-accessors</artifactId> |
| <packaging>jar</packaging> |
| <name>OpenEJB :: Container :: Java EE Accessors</name> |
| |
| <properties> |
| <openejb.osgi.import.pkg> |
| org.apache.geronimo.specs.jpa;resolution:=optional, |
| org.apache.geronimo.specs.activation;resolution:=optional, |
| * |
| </openejb.osgi.import.pkg> |
| </properties> |
| |
| <build> |
| <plugins> |
| <!-- this configures the surefire plugin to run your tests with the javaagent enabled --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>pertest</forkMode> |
| <argLine>-javaagent:${basedir}/target/openejb-jaxbagent-${project.version}.jar=${project.build.directory}/classes/</argLine> |
| <workingDirectory>${basedir}/target</workingDirectory> |
| </configuration> |
| </plugin> |
| |
| <!-- this tells maven to copy the openejb-javaagent jar into your target/ directory --> |
| <!-- where surefire can see it --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-jaxbagent</artifactId> |
| <version>${project.version}</version> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>openejb-jee</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |
| |