All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
Adds an optional real encryption mode, which encrypts pages using AES, without saving plaintext. Re-implements the old magic encryption in non-real encryption mode. Fixes incorrect key generation for use in the substitution cipher and the gene cipher. Removes the option for saving books as txt. Adds tests for all encryption methods. Saves all necessary decryption data when storing encrypted books. Removes the old book updating code.
145 lines
5.5 KiB
XML
145 lines
5.5 KiB
XML
<?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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>BooksWithoutBorders</artifactId>
|
|
<version>1.3.10-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License</name>
|
|
<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<name>Books Without Borders</name>
|
|
|
|
<description>A continuation of the original Books Without Borders</description>
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>net.knarcraft.knarlib</pattern>
|
|
<shadedPattern>net.knarcraft.bookswithoutborders.lib.knarlib</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.jetbrains.annotations</pattern>
|
|
<shadedPattern>net.knarcraft.bookswithoutborders.lib.annotations</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<filters>
|
|
<filter>
|
|
<artifact>net.knarcraft:knarlib</artifact>
|
|
<includes>
|
|
<include>net/knarcraft/knarlib/**</include>
|
|
</includes>
|
|
</filter>
|
|
<filter>
|
|
<artifact>org.jetbrains:annotations</artifact>
|
|
<includes>
|
|
<include>org/jetbrains/annotations/**</include>
|
|
</includes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spigotmc-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>knarcraft-repo</id>
|
|
<url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.21.8-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.7.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.knarcraft</groupId>
|
|
<artifactId>knarlib</artifactId>
|
|
<version>1.2.7</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>24.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|