ppk-maven-plugin-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.davidmoten</groupId>
<artifactId>ppk-maven-plugin-test</artifactId>
<version>0.1.9</version>
</dependency><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>
<parent>
<groupId>com.github.davidmoten</groupId>
<artifactId>ppk-parent</artifactId>
<version>0.1.9</version>
</parent>
<artifactId>ppk-maven-plugin-test</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.github.davidmoten</groupId>
<artifactId>ppk</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>${project.parent.groupId}</groupId>
<artifactId>ppk-maven-plugin</artifactId>
<version>${project.parent.version}</version>
<executions>
<execution>
<id>decrypt</id>
<goals>
<goal>decrypt</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<privateKeyFile>src/test/resources/private.der</privateKeyFile>
<inputFile>src/test/resources/temp.enc</inputFile>
<outputFile>${project.build.directory}/temp.txt</outputFile>
</configuration>
</execution>
<execution>
<id>create</id>
<goals>
<goal>create</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<privateKeyFile>${project.build.directory}/private.der</privateKeyFile>
<publicKeyFile>${project.build.directory}/public.der</publicKeyFile>
</configuration>
</execution>
<execution>
<id>create-b64</id>
<goals>
<goal>create</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<privateKeyFile>${project.build.directory}/private.der.b64</privateKeyFile>
<publicKeyFile>${project.build.directory}/public.der.b64</publicKeyFile>
<format>base64</format>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>