引入打包插件
当maven打包项目到本地仓库时不会打包源码,导致在引入包时没有注释
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
|
SpringBoot打包安装到本地maven,项目仓库引入没有注释解决