<!--
  ~ 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>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.apache.geronimo.runtime.v1</artifactId>
    <packaging>jar</packaging>
    <name>${artifactId}</name>
    <parent>
        <groupId>org.apache.geronimo.devtools</groupId>
        <artifactId>eclipse-plugins-parent</artifactId>
        <version>2.0.2</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    <properties>
        <geronimoVersion>1.0</geronimoVersion>
        <openejbVersion>2.0</openejbVersion>
    </properties>
    <build>
        <resources>
            <resource>
                <directory>.</directory>
                <includes>
                    <include>plugin.xml</include>
                </includes>
            </resource>
            <resource>
                <directory>lib</directory>
                <targetPath>lib</targetPath>
                <includes>
                    <include>*.jar</include>
                </includes>
            </resource>
            <resource>
                <targetPath>META-INF</targetPath>
                <directory>.</directory>
                <includes>
                    <include>LICENSE</include>
                    <include>NOTICE</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-kernel</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-util</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-deploy-jsr88</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-common</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-j2ee-schema</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-service-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-connector-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-web-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-naming-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-j2ee-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>openejb</groupId>
                                    <artifactId>openejb-builder</artifactId>
                                    <version>${openejbVersion}</version>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>geronimo</groupId>
                                    <artifactId>geronimo-security-builder</artifactId>
                                    <version>${geronimoVersion}</version>
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>lib</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.geronimo.devtools</groupId>
                <artifactId>maven-eclipsepde-plugin</artifactId>
                <configuration>
                    <libDir>lib</libDir>
                </configuration>
                <executions>
                    <execution>
                        <id>generate-classpath</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>classpath</goal>
                        </goals>
                        <configuration>
                            <templateFile>classpathXmlTemplate.vm</templateFile>
                            <destFile>.classpath</destFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.apache.geronimo.devtools</groupId>
            <artifactId>eclipse</artifactId>
            <version>2.0.2</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-kernel</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-util</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-deploy-jsr88</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-common</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-j2ee-schema</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-service-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-connector-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-web-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-naming-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-j2ee-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>openejb</groupId>
            <artifactId>openejb-builder</artifactId>
            <version>${openejbVersion}</version>
        </dependency>
        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-security-builder</artifactId>
            <version>${geronimoVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.devtools</groupId>
            <artifactId>org.apache.geronimo.runtime.common</artifactId>
            <version>${version}</version>
        </dependency>
    </dependencies>
</project>
