<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.licel</groupId>
  <artifactId>jcardsim</artifactId>
  <name>Java Card Runime Environment Simulator</name>
  <version>2.2.2</version>
  <description>jCardSim is open-source library contains implementation of Java Card API</description>
  <url>http://maven.apache.org</url>
  <developers>
    <developer>
      <name>jCardSim Team</name>
      <email>jcarsim@licelus.com</email>
      <organization>Licel LLC</organization>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Apache 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git@github.com:licel/jcardsim.git</connection>
    <developerConnection>scm:git:git@github.com:licel/jcardsim.git</developerConnection>
    <url>git@github.com:licel/jcardsim.git</url>
  </scm>
  <organization>
    <name>Licel LLC</name>
    <url>https://licel.ru</url>
  </organization>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <configuration>
          <author>false</author>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <minimizeJar>true</minimizeJar>
              <artifactSet>
                <includes>
                  <include>org.bouncycastle:*</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>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>sign</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.2.1</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <phase>verify</phase>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.8.1</version>
            <configuration>
              <footer> </footer>
              <author>false</author>
              <bottom> </bottom>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-jarsigner-plugin</artifactId>
            <version>1.3.2</version>
            <executions>
              <execution>
                <id>sign</id>
                <goals>
                  <goal>sign</goal>
                </goals>
                <configuration>
                  <keystore>/Volumes/hdd/keys/licel_llc_2014.p12</keystore>
                  <alias>licel</alias>
                  <storepass>licelllc</storepass>
                  <keypass>licelllc</keypass>
                  <storetype>PKCS12</storetype>
                </configuration>
              </execution>
              <execution>
                <id>verify</id>
                <goals>
                  <goal>verify</goal>
                </goals>
                <configuration>
                  <keystore>/Volumes/hdd/keys/licel_llc_2014.p12</keystore>
                  <alias>licel</alias>
                  <storepass>licelllc</storepass>
                  <keypass>licelllc</keypass>
                  <storetype>PKCS12</storetype>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <keystore>/Volumes/hdd/keys/licel_llc_2014.p12</keystore>
              <alias>licel</alias>
              <storepass>licelllc</storepass>
              <keypass>licelllc</keypass>
              <storetype>PKCS12</storetype>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>bintray-jcardsim-maven-jCardSim</id>
      <name>jcardsim-maven-jCardSim</name>
      <url>https://api.bintray.com/maven/jcardsim/maven/jCardSim</url>
    </repository>
  </distributionManagement>
  <properties>
    <netbeans.hint.license>apache20</netbeans.hint.license>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
</project>

