shikeying
2022-10-27 f92600ec2835c9ad48b5f20d2ca18cf25931ff44
deploy-jar-template/pom.xml
@@ -40,4 +40,38 @@
    </dependencies>
    <build>
        <finalName>train-recommend</finalName>
        <plugins>
            <plugin>
                <!--能够自动寻找springboot引导类,或者手动指定-->
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-deploy-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-deploy</id>
                        <phase>deploy</phase>
                        <goals>
                            <goal>deploy</goal>
                        </goals>
                        <!-- skip默认deploy插件的执行 -->
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>