Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.08 KB

Archive Encrypter

This is a small mojo which encrypts a given file, intentionally a JAR or WAR file. The purpose is to mave the archive over a channel that enforces an AV Scan, which prohibits Java/Class/binaries due to their possible harmfulness. If the archive is encrypted the AV scan passes.

Dependency

<plugin>
    <groupId>group.msg</groupId>
    <artifactId>archiveEncrypter</artifactId>
    <version>1.0</version>
</plugin>

Run the mojo

The mojo requires a project to run, then run the mojo by:

$ mvn archiveEncrypter:encrypt

Configuration

These are the possible configurations, together with their default value.

<configuration>
    <filename>${project.artifactId}-${project.version}.war</filename>
    <password></password> <!-- Defauts to '0815' -->
</configuration>

Classic programmer paintings

Examing the Sense of this

“Engineer examines the security requirements”

Viktor Vasnetsov 1878