<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <configuration> <includePom>true</includePom> <excludeResources>true</excludeResources> <attach>true</attach> </configuration> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
springboot将jar包和源码包都打出来
最新推荐文章于 2024-04-07 09:37:28 发布