| | |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- |
| | | class-winter插件 |
| | | 注:自Maven3.0.3起, 绑定到同一phase的Maven插件将按照pom.xml中声明的顺序执行 |
| | | 注:此插件最好放置在同一phase的最后执行。 |
| | | 注:此插件不具备打包功能,需要在此插件前有打包插件进行项目打包,否则加密不会生效。 |
| | | --> |
| | | <plugin> |
| | | <groupId>com.idea-aedi</groupId> |
| | | <artifactId>class-winter-maven-plugin</artifactId> |
| | | <version>2.9.6</version> |
| | | <!-- 相关配置 --> |
| | | <configuration> |
| | | <!-- <finalName></finalName>--> |
| | | <includePrefix>com.iailab</includePrefix> |
| | | <originJarOrWar>${project.build.directory}/${project.build.finalName}.jar</originJarOrWar> |
| | | <excludePrefix> |
| | | com.iailab.module.ai.AiServerApplication, |
| | | org.springframework, |
| | | org.apache, |
| | | javax, |
| | | java, |
| | | com.alibaba, |
| | | io.swagger, |
| | | cn.hutool, |
| | | org.yaml.snakeyaml |
| | | </excludePrefix> |
| | | <password>123123123</password> |
| | | <supportFile>${project.basedir}/dependency</supportFile> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>class-winter</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| | | <!-- <artifactId>maven-dependency-plugin</artifactId>--> |
| | | <!-- <version>3.6.1</version>--> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>copy-dependencies</id>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>copy-dependencies</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- <configuration>--> |
| | | <!-- <outputDirectory>${project.build.directory}/lib</outputDirectory>--> |
| | | <!-- <overWriteReleases>false</overWriteReleases>--> |
| | | <!-- <overWriteSnapshots>false</overWriteSnapshots>--> |
| | | <!-- <overWriteIfNewer>true</overWriteIfNewer>--> |
| | | <!-- </configuration>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- </plugin>--> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-compiler-plugin</artifactId> |