<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - JASMINe Deploy ME [Managed Element]
  - Copyright (C) 2008 Bull S.A.S.
  - Copyright (C) 2008 France Telecom R&D
  - Contact: jasmine@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 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  - USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id: pom.xml 2849 2008-12-03 14:42:10Z alitokmen $
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<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.jasmine</groupId>
    <artifactId>jasmine-utilities</artifactId>
    <version>1.0.1</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>mapping</artifactId>
  <name>JASMINe :: Mapping :: Map Jasmine Ecore to XML</name>

  <properties>
    <ow2.jasmine.deployme.version>1.0.2</ow2.jasmine.deployme.version>
  </properties>

  <repositories>
    <repository>
      <id>fornax</id>
      <url>http://www.fornax-platform.org/archiva/repository/releases</url>
    </repository>
    <repository>
      <id>eclipse-staging</id>
      <url>http://repo1.maven.org/maven2/eclipse-staging</url>
    </repository>
  </repositories>

  <build>
    <defaultGoal>install</defaultGoal>
    <sourceDirectory>${basedir}/src</sourceDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <jarName>${artifactId}</jarName>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
            <manifestEntries>
              <Implementation-version>
                ${version}
              </Implementation-version>
              <Main-Class>
                org.ow2.jasmine.mapping.JasmineModelMapping
              </Main-Class>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
            <configuration>
              <archive>
                <manifest>
                  <mainClass>org.ow2.jasmine.mapping.JasmineModelMappingMain</mainClass>
                </manifest>
              </archive>
              <descriptorRefs>
                <descriptorRef>
                  jar-with-dependencies
                </descriptorRef>
              </descriptorRefs>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <!-- Compile and runtime dependencies -->
    <dependency>
      <groupId>javax.xml</groupId>
      <artifactId>jaxb-impl</artifactId>
      <version>2.1</version>
      <scope />
    </dependency>
    <dependency>
      <groupId>javax.xml.bind</groupId>
      <artifactId>jaxb-api</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf.ecore</groupId>
      <artifactId>xmi</artifactId>
      <version>2.4.0</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.gmf.runtime</groupId>
      <artifactId>notation</artifactId>
      <version>1.0.100-v20070621-0000</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.jasmine</groupId>
      <artifactId>deployme-api</artifactId>
      <version>${ow2.jasmine.deployme.version}</version>
    </dependency>
    <dependency>
      <groupId>org.ow2.jasmine.jade</groupId>
      <artifactId>jade-core</artifactId>
      <version>2.0.3</version>
    </dependency>

    <!-- Compile and test dependencies, not required when running the tool -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse</groupId>
      <artifactId>jface</artifactId>
      <version>3.3.0-I20070606-0010</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.swt.win32.win32</groupId>
      <artifactId>x86</artifactId>
      <version>3.3.0-v3346</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.ow2.petals</groupId>
      <artifactId>petals-jmx</artifactId>
      <version>1.3.3</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>