java打包防止反编译/代码混淆
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obfuscation/target/plugin-enhanced.xml

88 lines
2.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by maven-plugin-tools 3.9 (enhanced XHTML version with additional elements (used for plugin:report))-->
<plugin>
<name>obfuscation</name>
<description></description>
<groupId>com.dwp</groupId>
<artifactId>obfuscation</artifactId>
<version>1.0.0</version>
<goalPrefix>obfuscation</goalPrefix>
<isolatedRealm>false</isolatedRealm>
<inheritedByDefault>true</inheritedByDefault>
<requiredJavaVersion>1.6</requiredJavaVersion>
<requiredMavenVersion>2.0</requiredMavenVersion>
<mojos>
<mojo>
<goal>obfuscation</goal>
<description>混淆插件主类</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>true</inheritedByDefault>
<phase>package</phase>
<implementation>com.dwp.Obfuscation</implementation>
<language>java</language>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<threadSafe>false</threadSafe>
<parameters>
<parameter>
<name>basePath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>项目根目录</description>
</parameter>
<parameter>
<name>classPath</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>class文件所在目录</description>
</parameter>
</parameters>
</mojo>
</mojos>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<type>jar</type>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<type>jar</type>
<version>3.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<type>jar</type>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<type>jar</type>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<type>jar</type>
<version>1.0.b2</version>
</dependency>
</dependencies>
</plugin>