176 lines
7.3 KiB
XML
176 lines
7.3 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>me.n1ar4</groupId>
|
||
|
|
<artifactId>class-obf</artifactId>
|
||
|
|
<version>1.0.0</version>
|
||
|
|
|
||
|
|
<packaging>jar</packaging>
|
||
|
|
<description>Class Obfuscator Project</description>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<!-- Dependencies Version -->
|
||
|
|
<asm.version>9.7</asm.version>
|
||
|
|
<jcommander.version>1.82</jcommander.version>
|
||
|
|
<snake.yaml.version>2.2</snake.yaml.version>
|
||
|
|
<flatlaf.version>3.5.1</flatlaf.version>
|
||
|
|
<idea.forms.version>7.0.3</idea.forms.version>
|
||
|
|
<!-- Maven Build Version -->
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
|
||
|
|
<maven.resources.version>3.3.1</maven.resources.version>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-assembly-plugin -->
|
||
|
|
<maven.assembly.version>3.7.1</maven.assembly.version>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
|
||
|
|
<maven.compiler.version>3.13.0</maven.compiler.version>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/versions-maven-plugin -->
|
||
|
|
<maven.versions.version>2.17.1</maven.versions.version>
|
||
|
|
<!-- Java Compiler Version -->
|
||
|
|
<maven.compiler.source>8</maven.compiler.source>
|
||
|
|
<maven.compiler.target>8</maven.compiler.target>
|
||
|
|
<!-- Encoding -->
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<!-- Main -->
|
||
|
|
<main.name>me.n1ar4.clazz.obfuscator.Main</main.name>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.ow2.asm</groupId>
|
||
|
|
<artifactId>asm</artifactId>
|
||
|
|
<version>${asm.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.ow2.asm</groupId>
|
||
|
|
<artifactId>asm-commons</artifactId>
|
||
|
|
<version>${asm.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.beust</groupId>
|
||
|
|
<artifactId>jcommander</artifactId>
|
||
|
|
<version>${jcommander.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.yaml</groupId>
|
||
|
|
<artifactId>snakeyaml</artifactId>
|
||
|
|
<version>${snake.yaml.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.intellij</groupId>
|
||
|
|
<artifactId>forms_rt</artifactId>
|
||
|
|
<version>${idea.forms.version}</version>
|
||
|
|
<!-- Avoiding Conflicts -->
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>asm</groupId>
|
||
|
|
<artifactId>asm</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>asm</groupId>
|
||
|
|
<artifactId>asm-commons</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>asm</groupId>
|
||
|
|
<artifactId>asm-tree</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<pluginManagement>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
|
<version>${maven.resources.version}</version>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
|
<version>${maven.assembly.version}</version>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<version>${maven.compiler.version}</version>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
|
<artifactId>versions-maven-plugin</artifactId>
|
||
|
|
<version>${maven.versions.version}</version>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</pluginManagement>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
|
<artifactId>versions-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<ruleSet>
|
||
|
|
<ignoreVersions>
|
||
|
|
<ignoreVersion>
|
||
|
|
<type>regex</type>
|
||
|
|
<version>(.+-SNAPSHOT|.+-M\d)</version>
|
||
|
|
</ignoreVersion>
|
||
|
|
<ignoreVersion>
|
||
|
|
<type>regex</type>
|
||
|
|
<version>.+-(alpha|beta).*</version>
|
||
|
|
</ignoreVersion>
|
||
|
|
<ignoreVersion>
|
||
|
|
<type>regex</type>
|
||
|
|
<version>.*\.android.*</version>
|
||
|
|
</ignoreVersion>
|
||
|
|
<ignoreVersion>
|
||
|
|
<type>regex</type>
|
||
|
|
<version>.*\-RC.*</version>
|
||
|
|
</ignoreVersion>
|
||
|
|
</ignoreVersions>
|
||
|
|
</ruleSet>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<id>build</id>
|
||
|
|
<configuration>
|
||
|
|
<attach>false</attach>
|
||
|
|
<appendAssemblyId>true</appendAssemblyId>
|
||
|
|
<descriptorRefs>
|
||
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||
|
|
</descriptorRefs>
|
||
|
|
<archive>
|
||
|
|
<manifest>
|
||
|
|
<mainClass>${main.name}</mainClass>
|
||
|
|
</manifest>
|
||
|
|
<manifestEntries>
|
||
|
|
<Multi-Release>true</Multi-Release>
|
||
|
|
</manifestEntries>
|
||
|
|
</archive>
|
||
|
|
</configuration>
|
||
|
|
<phase>package</phase>
|
||
|
|
<goals>
|
||
|
|
<goal>single</goal>
|
||
|
|
</goals>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<source>${maven.compiler.source}</source>
|
||
|
|
<target>${maven.compiler.target}</target>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|