<?xml version="1.0" encoding="UTF-8"?>
<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>
    <artifactId>swagger-ballerina</artifactId>
    <groupId>org.ballerinalang</groupId>
    <version>0.970.0-beta2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>ballerina-codegen</artifactId>
  <name>Ballerina - Swagger Tooling - Client Generator</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createDependencyReducedPom>true</createDependencyReducedPom>
              <dependencyReducedPomLocation>${java.io.tmpdir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
              <artifactSet>
                <includes>
                  <include>com.github.jknack:handlebars</include>
                  <include>commons-io:commons-io</include>
                  <include>javax.validation:validation-api</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                  </excludes>
                </filter>
              </filters>
              <shadedArtifactAttached>false</shadedArtifactAttached>
              <transformers>
                <transformer />
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>ballerina-launcher</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>slf4j-log4j12</artifactId>
          <groupId>org.slf4j</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>ballerina-core</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>ballerina-lang</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>ballerina-builtin</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>ballerina-http</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.ballerinalang</groupId>
      <artifactId>composer-ballerina-parser-service</artifactId>
      <version>0.970.0-beta2</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

