Skip to content

A maven plugin used to obfuscate a compiled file with qProtect and qProtect Lite

Notifications You must be signed in to change notification settings

qTechnologiesV2/obfuscation-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obfuscation-maven-plugin

A maven plugin used to obfuscate a compiled file with qProtect and qProtect Lite

Instructions

  • add our repository as pluginRepository
<pluginRepositories>
    <pluginRepository>
        <id>nexus-releases</id>
        <url>https://nexus.mdma.dev/repository/maven-releases/</url>
    </pluginRepository>
</pluginRepositories>
  • add our plugin into your maven build
<plugin>
   <groupId>dev.mdma.qprotect</groupId>
   <artifactId>obfuscation-maven-plugin</artifactId>
   <version>1.0.3</version>
   <configuration>
       <obfuscatorPath>C:\qprotect-core-1.10.8.jar</obfuscatorPath>
       <configFile>${project.basedir}/config.yml</configFile>
       <!-- inputFile and outputFile is optional, it can be set here or in the config -->
       <inputFile>${project.basedir}/target/test-1.0.jar</inputFile>
       <outputFile>${project.basedir}/target/test-1.0-obf.jar</outputFile>
       <!-- javaPath is only required if your project doesn't use java 8-->
       <javaPath>C:\Program Files\Java\jdk-1.8</javaPath>
   </configuration>
   <executions>
      <execution>
         <goals>
            <goal>obfuscate</goal>
         </goals>
      </execution>
   </executions>
</plugin>
  • set the qprotect and the input, output and config path
  • then build your project using maven package

About

A maven plugin used to obfuscate a compiled file with qProtect and qProtect Lite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages