<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - OW2 Util
  - Copyright (C) 2009 Bull S.A.S.
  - Contact: easybeans@ow2.org
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or (at your option) any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id: pom.xml 6311 2012-12-19 12:09:20Z albertil $
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->

<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>
      <groupId>org.ow2.util</groupId>
      <artifactId>util-plan</artifactId>
      <version>1.0.37</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.ow2.util</groupId>
   <artifactId>util-plan-schemas</artifactId>
   <name>OW2 Util :: Deployment Plan :: Schemas</name>
   <description>Schemas and bindings for the deployment plans and repositories</description>

   <build>
      <plugins>
         <plugin>
            <groupId>org.jvnet.jaxb2.maven2</groupId>
            <artifactId>maven-jaxb2-plugin</artifactId>
            <version>0.8.1</version>
            <configuration>
              <extension>true</extension>
            </configuration>
            <executions>
               <execution>
                  <id>schemas</id>
                  <goals>
                     <goal>generate</goal>
                  </goals>
                  <phase>process-resources</phase>
                  <configuration>
                    <schemaDirectory>src/main/xml/xsd</schemaDirectory>
                    <bindingDirectory>src/main/xml/xjb</bindingDirectory>
                  </configuration>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
               <source>1.5</source>
               <target>1.5</target>
            </configuration>
         </plugin>
      </plugins>
      <resources>
         <resource>
            <directory>src/main/xml/xsd</directory>
            <targetPath>org/ow2/util/plan/bindings/schema/</targetPath>
         </resource>
      </resources>
   </build>

   <dependencies>
      <dependency>
         <groupId>javax.xml.bind</groupId>
         <artifactId>jaxb-api</artifactId>
      </dependency>
      <dependency>
         <groupId>org.ow2.util</groupId>
         <artifactId>util-log</artifactId>
         <version>${project.version}</version>
      </dependency>
      <dependency>
         <groupId>org.ow2.util</groupId>
         <artifactId>util-substitution</artifactId>
         <version>${project.version}</version>
      </dependency>      
      <dependency>
         <groupId>org.testng</groupId>
         <artifactId>testng</artifactId>
         <version>${testng.version}</version>
         <scope>test</scope>
      </dependency>
   </dependencies>
</project>
