<build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.1</version> <configuration> <attach>true</attach> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
使用maven插件将源码也打包
猜你喜欢
转载自leonmau.iteye.com/blog/1066287
今日推荐
周排行