<?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.tatami</groupId>
    <artifactId>judo-tatami-base-parent</artifactId>
    <version>1.1.2</version>
  </parent>
  <groupId>hu.blackbelt.judo.tatami</groupId>
  <artifactId>judo-tatami-asm2sdk</artifactId>
  <version>1.1.2</version>
  <packaging>bundle</packaging>
  <name>Judo :: Tatami :: Asm2SDK</name>
  <licenses>
    <license>
      <name>Eclipse Public License 2.0</name>
      <url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>hu.blackbelt.epsilon</groupId>
      <artifactId>epsilon-runtime-execution</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.epsilon</groupId>
      <artifactId>epsilon-runtime-osgi</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.meta</groupId>
      <artifactId>hu.blackbelt.judo.meta.asm.model</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.tatami</groupId>
      <artifactId>judo-tatami-core</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt</groupId>
      <artifactId>java-embedded-compiler</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt</groupId>
      <artifactId>java-embedded-compiler-ecj</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo</groupId>
      <artifactId>judo-dao-api</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo</groupId>
      <artifactId>judo-sdk-common</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo</groupId>
      <artifactId>judo-dispatcher-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.tinybundles</groupId>
      <artifactId>tinybundles</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt</groupId>
      <artifactId>structured-map-proxy</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.meta</groupId>
      <artifactId>hu.blackbelt.judo.meta.psm.model.test</artifactId>
      <version>${judo-meta-psm-version}</version>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.tatami</groupId>
      <artifactId>judo-tatami-psm2asm</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.meta</groupId>
      <artifactId>hu.blackbelt.judo.meta.psm.model.northwind</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>4.3.4.RELEASE</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>4.3.4.RELEASE</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-scripts</id>
            <phase>process-resources</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>${basedir}/target/classes/tatami/asm2sdk</outputDirectory>
              <resources>
                <resource>
                  <directory>src/main/epsilon</directory>
                  <filtering>false</filtering>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <obrRepository>NONE</obrRepository>
          <instructions>
            <Export-Package>tatami/asm2sdk;version=${project.version},
							hu.blackbelt.judo.tatami.asm2sdk.*;version=${project.version}</Export-Package>
            <Include-Resource>{maven-resources},
							tatami=target/classes/tatami</Include-Resource>
            <Import-Package>${osgi-default-import},
							*</Import-Package>
            <Asm2SDK-Transformation-ScriptRoot>tatami/asm2sdk/templates</Asm2SDK-Transformation-ScriptRoot>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
