<?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>edas-maven-parent</artifactId>
    <groupId>com.alibaba.edas</groupId>
    <version>2.0</version>
    <relativePath>../pom.xml/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.alibaba.hsf</groupId>
  <artifactId>LightApi</artifactId>
  <name>LightApi-${version}</name>
  <version>1.0.5</version>
  <url>http://maven.apache.org</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.8</version>
        <configuration>
          <downloadSources>true</downloadSources>
          <downloadJavadocs>false</downloadJavadocs>
          <additionalConfig>
            <file>
              <name>.settings/org.eclipse.core.resources.prefs</name>
              <content>#Wed May 05 14:34:07 CST 2010
eclipse.preferences.version=1
encoding/&lt;project&gt;=UTF-8</content>
            </file>
          </additionalConfig>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>com.taobao.middleware:pandora-toolkit:*</include>
                </includes>
              </artifactSet>
              <minimizeJar>true</minimizeJar>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <distributionManagement>
        <repository>
          <id>alibaba</id>
          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <snapshotRepository>
          <id>alibaba</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.taobao.hsf</groupId>
      <artifactId>hsf.app.spring</artifactId>
      <version>2.1.1.4</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>spring-context</artifactId>
          <groupId>org.springframework</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.app.api</artifactId>
          <groupId>com.taobao.hsf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.app.ndi</artifactId>
          <groupId>com.taobao.hsf.ndi</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.app.dubbo</artifactId>
          <groupId>com.taobao.hsf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.service.config</artifactId>
          <groupId>com.taobao.hsf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.service.monitor</artifactId>
          <groupId>com.taobao.hsf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hsf.service.process</artifactId>
          <groupId>com.taobao.hsf</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring</artifactId>
      <version>2.5.6.SEC03</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-logging</artifactId>
          <groupId>commons-logging</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.taobao.common.uic.uic-common</groupId>
      <artifactId>common-uic-common</artifactId>
      <version>3.2.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>commons-lang</artifactId>
          <groupId>commons-lang</groupId>
        </exclusion>
        <exclusion>
          <artifactId>lang</artifactId>
          <groupId>com.alibaba.toolkit.common.lang</groupId>
        </exclusion>
        <exclusion>
          <artifactId>common-dao</artifactId>
          <groupId>com.taobao.common.dao</groupId>
        </exclusion>
        <exclusion>
          <artifactId>config-client</artifactId>
          <groupId>com.taobao.configserver</groupId>
        </exclusion>
        <exclusion>
          <artifactId>config-common</artifactId>
          <groupId>com.taobao.configserver</groupId>
        </exclusion>
        <exclusion>
          <artifactId>common-tair</artifactId>
          <groupId>com.taobao.common.tair</groupId>
        </exclusion>
        <exclusion>
          <artifactId>diamond-client</artifactId>
          <groupId>com.taobao.diamond</groupId>
        </exclusion>
        <exclusion>
          <artifactId>common-uic-localcache</artifactId>
          <groupId>com.taobao.common.uic.uic-localcache</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jdom</artifactId>
          <groupId>jdom</groupId>
        </exclusion>
        <exclusion>
          <artifactId>protobuf-java</artifactId>
          <groupId>com.google.protobuf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>common-uic-security</artifactId>
          <groupId>com.taobao.common.uic.uic-security</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-logging</artifactId>
          <groupId>commons-logging</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>

