首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

封装源码到本地仓库

2012-10-26 
打包源码到本地仓库?plugin? ??? ??? artifactIdmaven-source-plugin/artifactId? ??? ??? version

打包源码到本地仓库

?<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>

热点排行