123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <?xml version="1.0"?>
- <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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>cryptolib</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>2.1.5-4</version>
- </parent>
- <artifactId>cryptolib-interoperation</artifactId>
- <name>Interoperation</name>
- <description>Tests interoperation of cryptoLib with other libraries</description>
- <properties>
- <maven.download.version>1.2.0</maven.download.version>
- <log4j.version>1.2.17</log4j.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-primitives</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-symmetric</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-asymmetric</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-certificates</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-stores</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-scytl-keystore</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-mathematical</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-elgamal</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-proofs</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.scytl.cryptolib</groupId>
- <artifactId>cryptolib-digital-envelope</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>cryptolib-default-policies</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>cryptolib-test-tools</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>cryptolib-primitives</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-symmetric</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-asymmetric</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-certificates</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-mathematical</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-elgamal</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-proofs</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <artifactId>cryptolib-scytl-keystore</artifactId>
- <groupId>com.scytl.cryptolib</groupId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>com.scytl.math</groupId>
- <artifactId>scytl-math</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <!-- This exists just to disable the run-tests profile -->
- <id>do-not-run-tests</id>
- <activation>
- <property>
- <name>skipTests</name>
- </property>
- </activation>
- </profile>
- <profile>
- <!-- This exists just to disable the run-tests profile -->
- <id>compile-tests</id>
- <activation>
- <property>
- <name>maven.test.skip</name>
- <value>true</value>
- </property>
- </activation>
- </profile>
- <profile>
- <id>run-tests</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>prepare-java-js-interoperation-tester
- </id>
- <phase>generate-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>
- ${project.build.outputDirectory}/js/lib
- </outputDirectory>
- <resources>
- <resource>
- <directory>
- ${basedir}/../cryptolib-js/target/package/lib
- </directory>
- </resource>
- <resource>
- <directory>
- ${basedir}/../cryptolib-js/node_modules/node-forge/dist
- </directory>
- </resource>
- <resource>
- <directory>
- ${basedir}/../cryptolib-js/node_modules/sjcl
- </directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>java-js-interoperation-tester</id>
- <phase>integration-test</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <mainClass>
- com.scytl.cryptolib.interoperation.js.JavaJsInteroperationTester
- </mainClass>
- <classpathScope>test</classpathScope>
- <systemProperties>
- <systemProperty>
- <key>
- org.slf4j.simpleLogger.showLogName
- </key>
- <value>false</value>
- </systemProperty>
- <systemProperty>
- <key>
- org.slf4j.simpleLogger.showThreadName
- </key>
- <value>false</value>
- </systemProperty>
- </systemProperties>
- <arguments>
- <argument>
- ${project.build.directory}/data
- </argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|