<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>hu.blackbelt.judo.meta</groupId>
    <artifactId>hu.blackbelt.judo.meta.psm</artifactId>
    <version>1.2.2</version>
  </parent>
  <groupId>hu.blackbelt.judo.meta</groupId>
  <artifactId>hu.blackbelt.judo.meta.psm.model.northwind</artifactId>
  <version>1.2.2</version>
  <packaging>bundle</packaging>
  <name>Judo :: Psm :: Model :: Northwind</name>
  <description>Northwind PSM model</description>
  <licenses>
    <license>
      <name>Eclipse Public License 2.0</name>
      <url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>hu.blackbelt.judo.meta</groupId>
      <artifactId>hu.blackbelt.judo.meta.psm.model</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.epsilon</groupId>
      <artifactId>epsilon-runtime-execution</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.ecore</artifactId>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.common</artifactId>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>3.1.0</version>
        <executions>
          <execution>
            <id>generate-full-demo</id>
            <phase>compile</phase>
            <goals>
              <goal>java</goal>
            </goals>
            <configuration>
              <mainClass>hu.blackbelt.model.northwind.Demo</mainClass>
              <arguments>
                <argument>${basedir}/target/classes/model/northwind-psm.model</argument>
              </arguments>
              <includeProjectDependencies>true</includeProjectDependencies>
              <includePluginDependencies>true</includePluginDependencies>
              <cleanupDaemonThreads>false</cleanupDaemonThreads>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>5.1.8</version>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>hu.blackbelt.model.northwind;version=${project.version},</Export-Package>
            <Include-Resource>{maven-resources},${basedir}/target/classes/model</Include-Resource>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
