Commit 732b56f4 by guo_minglei@163.com

修改插件打包方式

parent a8bb0672
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>myth-job</groupId> <groupId>myth-job</groupId>
<artifactId>myth-exector-plugin</artifactId> <artifactId>myth-executor-plugin</artifactId>
<dependencies> <dependencies>
...@@ -47,13 +47,32 @@ ...@@ -47,13 +47,32 @@
</dependencies> </dependencies>
<!-- <build>--> <build>
<!-- <plugins>--> <finalName>${project.artifactId}</finalName>
<!-- <plugin>--> <plugins>
<!-- <groupId>org.springframework.boot</groupId>--> <plugin>
<!-- <artifactId>spring-boot-maven-plugin</artifactId>--> <groupId>org.apache.maven.plugins</groupId>
<!-- <version>${spring-boot.version}</version>--> <artifactId>maven-shade-plugin</artifactId>
<!-- </plugin>--> <version>2.4.3</version>
<!-- </plugins>--> <executions>
<!-- </build>--> <execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.handlers</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.schemas</resource>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment