<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion> 
  <parent>
    <groupId>com.healthmarketscience</groupId>
    <artifactId>openhms-parent</artifactId>
    <version>1.1.1</version>
  </parent>
  <groupId>com.healthmarketscience.jackcess</groupId>
  <artifactId>jackcess-encrypt</artifactId>
  <name>Jackcess Encrypt</name>
  <description>An add-on to the Jackcess library for handling encryption in MS Access files.</description>
  <version>2.1.0</version>
  <url>http://jackcessencrypt.sf.net</url>
  <inceptionYear>2010</inceptionYear>
  <developers>
    <developer>
      <name>James Ahlborn</name>
      <id>jahlborn</id>
      <email>jahlborn@users.sf.net</email>
      <organization>Boomi, Inc.</organization>
      <roles>
        <role>Owner</role>
      </roles>
      <timezone>-5</timezone>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>Vladimir Berezniker</name>
      <email>vmpn@vmpn.net</email>
      <url>http://www.linkedin.com/in/vladimirberezniker</url>
      <roles>
        <role>Deciphered various encryption algorithms</role>
      </roles>
      <timezone>-5</timezone>      
    </contributor>
  </contributors>
  <issueManagement>
    <system>SourceForge2</system>
    <url>https://sourceforge.net/p/jackcessencrypt/bugs/</url>
  </issueManagement>
  <scm>
    <connection>scm:svn:svn://svn.code.sf.net/p/jackcessencrypt/code/tags/jackcess-encrypt-2.1.0</connection>
    <!-- read/write svn connection -->
    <developerConnection>scm:svn:svn+ssh://svn.code.sf.net/p/jackcessencrypt/code/tags/jackcess-encrypt-2.1.0</developerConnection>
    <url>http://svn.code.sf.net/p/jackcessencrypt/code/tags/jackcess-encrypt-2.1.0</url>
  </scm>
  <build>
    <defaultGoal>install</defaultGoal>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <forkMode>once</forkMode>
            <argLine>-Xmx256M -server</argLine>
            <systemProperties>
              <property>
                <name>log4j.configuration</name>
                <value>log4j_test.properties</value>
              </property>
              <property>
                <name>com.healthmarketscience.jackcess.testFormats</name>
                <value>${jackcess.testFormats}</value>
              </property>
            </systemProperties>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.5</source>
            <target>1.5</target>
            <compilerArgument>-Xlint:all,-cast</compilerArgument>
            <showWarnings>true</showWarnings>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>    
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>    
              <goal>manifest</goal>
            </goals>   
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <configuration>
        </configuration>
        <executions>
          <execution>
            <id>clean</id>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <configuration>
          <smtpHost>localhost</smtpHost>
          <toAddresses>
            <toAddress>jackcess-users@lists.sourceforge.net</toAddress>
          </toAddresses>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.sun.tools.xjc.maven2</groupId>
        <artifactId>maven-jaxb-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>jaxb1</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <generatePackage>com.healthmarketscience.jackcess.cryptmodel</generatePackage>
              <includeSchemas>
                <includeSchema>**/com/healthmarketscience/jackcess/cryptmodel/encryptionInfo.xsd</includeSchema>
              </includeSchemas>
            </configuration>  
          </execution>
          <execution>
            <id>jaxb2</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <generatePackage>com.healthmarketscience.jackcess.cryptmodel.password</generatePackage>
              <includeSchemas>
                <includeSchema>**/com/healthmarketscience/jackcess/cryptmodel/encryptionInfo.xsd</includeSchema>
                <includeSchema>**/com/healthmarketscience/jackcess/cryptmodel/passwordEncryptor.xsd</includeSchema>
              </includeSchemas>
            </configuration>  
          </execution>
          <execution>
            <id>jaxb3</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <generatePackage>com.healthmarketscience.jackcess.cryptmodel.cert</generatePackage>
              <includeSchemas>
                <includeSchema>**/com/healthmarketscience/jackcess/cryptmodel/certificateEncryptor.xsd</includeSchema>
              </includeSchemas>
            </configuration>  
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-xjc</artifactId>
            <version>2.1.9</version>
          </dependency>
          <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.1.9</version>
          </dependency>          
        </dependencies>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.healthmarketscience.jackcess</groupId>
      <artifactId>jackcess</artifactId>
      <version>2.1.0</version>
    </dependency>
    <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcprov-jdk15</artifactId>
      <version>1.45</version>
    </dependency>    
    <dependency>
      <groupId>com.healthmarketscience.jackcess</groupId>
      <artifactId>jackcess</artifactId>
      <version>2.1.0</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.0</version>
      <scope>test</scope>
    </dependency>    
  </dependencies>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-changes-plugin</artifactId>
        <configuration> 
          <issueLinkTemplate>%URL%/index.php?func=detail&amp;aid=%ISSUE%&amp;group_id=356653&amp;atid=1489281</issueLinkTemplate>
        </configuration>        
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <minmemory>128m</minmemory>
          <maxmemory>512</maxmemory>
          <links>
            <list>http://download.oracle.com/javase/1.5.0/docs/api</list>
            <list>http://download.oracle.com/javaee/5/api</list>
            <list>http://jackcess.sourceforge.net/apidocs/</list>
            <list>http://www.bouncycastle.org/docs/docs1.5on/</list>
          </links>
          <source>1.5</source>
          <show>public</show>
          <quiet>true</quiet>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
  <distributionManagement>
    <site>
      <id>jackcessencrypt-build-site</id>
      <url>scp://shell.sourceforge.net/home/project-web/jackcessencrypt/htdocs</url>
    </site>    
  </distributionManagement>
  <properties>
    <jackcess.bigIndex>true</jackcess.bigIndex>
    <jackcess.testFormats>V1997,V2000,V2003,V2007</jackcess.testFormats>
  </properties>
</project>
