<!--
  ~ 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: 609739 $ $Date: 2008-01-07 13:54:14 -0500 (Mon, 07 Jan 2008) $ -->
<project>
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.openjpa.openjpa-eclipse-plugin</groupId>
        <artifactId>plugins-parent</artifactId>
        <version>2.0.0</version>
    </parent>

    <groupId>org.apache.openjpa.openjpa-eclipse-plugin</groupId>
    <artifactId>enhancer</artifactId>
    <packaging>jar</packaging>
    <name>${groupId}.${artifactId}</name>

    <build>
        <resources>
            <resource>
                <directory>..</directory>
                <filtering>true</filtering>
                <includes>
                    <include>about.html</include>
                </includes>
            </resource>
            <resource>
                <directory>.</directory>
                <filtering>true</filtering>
                <includes>
                    <include>plugin.xml</include>
                    <include>plugin.properties</include>
                    <include>.options</include>
                    <include>about.ini</include>
                </includes>
            </resource>
            <!--
                Ensure filtering is not used on a binary resource 
                as it may get inadvertently altered
            <resource>
                <directory>.</directory>
                <includes>
                    <include>logo-32x32.gif</include>
                </includes>
            </resource>
            -->
            <!-- The put license and notice for artifacts shipped in this jar 
                 in the jar's meta-inf directory -->
            <resource>
                <targetPath>META-INF</targetPath>
                <directory>../..</directory>
                <includes>
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                </includes>
            </resource>
	    <!-- Display license and notice in Eclipse Update Manager 
                 See also http://www.eclipse.org/legal/guidetolegaldoc.php
                 about.html references about_files to show licenses and notices
                 to the user at install time using Eclipse Update Manager, and
                  after install.
            -->
            <resource>
	    	<targetPath>about_files</targetPath>
	    	<directory>../..</directory>
	    	<includes>
	    	    <include>LICENSE.txt</include>
	    	    <include>NOTICE.txt</include>
	    	</includes>
            </resource>
            <resource>
	    	<targetPath>about_files</targetPath>
	    	<directory>../..</directory>
                <filtering>true</filtering>
	    	<includes>
                    <include>PLUGIN_RELEASE-NOTES-${pom.version}.txt</include>
	    	</includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.geronimo.devtools</groupId>
                <artifactId>maven-eclipsepde-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
            </plugin>
           <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.apache.openjpa.openjpa-eclipse-plugin</groupId>
            <artifactId>eclipse</artifactId>
            <version>${version}</version>
            <type>pom</type>
        </dependency>
    </dependencies>
</project>
