工作小总结

使用allatori对Spring boot项目的class文件进行混淆操作

场景:环境:jdk版本:1.8springboot版本:2.7.11需要依赖的jar文件:在pom的文件中添加plugin。如下:<!-- allatori 文件copy --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>mav

场景:


环境:
jdk版本:1.8

spring boot版本:2.7.11


需要依赖的jar文件:

bf415ed4f24c7d01352000e2b1de65e1.png

在pom的文件中添加plugin。如下:

<!-- allatori 文件copy -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<executions>
					<execution>
						<id>copy-allatori</id>
						<phase>package</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
							<outputDirectory>./target/</outputDirectory>
							<resources>
								<resource>
									<directory>src/main/resources</directory>
									<includes>
										<include>allatori.xml</include>
									</includes>
								</resource>
							</resources

原创不易,完成人机校验,阅读全文

相关推荐