| <?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$ $Date$ --> |
| |
| <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>server</artifactId> |
| <groupId>org.apache.openejb</groupId> |
| <version>4.5.1-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>openejb-client</artifactId> |
| <packaging>jar</packaging> |
| <name>OpenEJB :: Server :: Client</name> |
| <properties> |
| <openejb.osgi.import.pkg> |
| javax.ejb, |
| javax.jws, |
| javax.mail;resolution:=optional;version=1.4, |
| javax.naming, |
| javax.naming.spi, |
| javax.net, |
| javax.net.ssl, |
| javax.rmi, |
| javax.rmi.CORBA, |
| javax.security.auth, |
| javax.security.auth.callback, |
| javax.security.auth.login, |
| javax.security.auth.spi, |
| javax.sql, |
| javax.transaction;version=1.1, |
| javax.xml.bind, |
| javax.xml.namespace, |
| javax.xml.transform, |
| javax.xml.ws, |
| javax.xml.ws.handler, |
| javax.xml.ws.soap, |
| javax.xml.ws.spi, |
| javax.xml.ws.wsaddressing, |
| org.apache.geronimo.osgi.locator, |
| org.omg.CORBA, |
| org.osgi.framework, |
| org.w3c.dom |
| </openejb.osgi.import.pkg> |
| <openejb.osgi.export.pkg> |
| org.apache.openejb*,org.openejb* |
| </openejb.osgi.export.pkg> |
| </properties> |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.openejb.client.Main</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>pertest</forkMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/main/resources/META-INF/org.apache.openejb.client.IdentityResolver/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <tstamp> |
| <format property="TSTAMP" pattern="hh:mm"/> |
| </tstamp> |
| <replace file="target/classes/openejb-client-version.properties" |
| token="@DATE-REPLACED-BY-MAVEN@" value="${DSTAMP}"/> |
| <replace file="target/classes/openejb-client-version.properties" |
| token="@TIME-REPLACED-BY-MAVEN@" value="${TSTAMP}"/> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>javaee-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.javamail</groupId> |
| <artifactId>geronimo-javamail_1.4_mail</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.agical.rmock</groupId> |
| <artifactId>rmock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |
| |