国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
maven項(xiàng)目站點(diǎn)生成
這次以配置簡(jiǎn)述的形勢(shì)講解,以下所有配置只需在父工程配置即可。
1.項(xiàng)目信息
[html] view plain copy
<!-- 版本控制 -->
<scm>
<connection>scm:git:git@github.com:lastsweetop/account.git</connection>
<developerConnection>scm:git:git@github.com:lastsweetop/account.git</developerConnection>
<url>https://github.com/lastsweetop/account/blob/master</url>
</scm>
<!-- 持續(xù)集成 -->
<ciManagement>
<system>Hudson</system>
<url>http://${distribution.repository}:8080/hudson</url>
</ciManagement>
<!-- 項(xiàng)目團(tuán)隊(duì) -->
<developers>
<developer>
<id>sweetop</id>
<name>sweetop</name>
<email>sweetop@189.cn</email>
<timezone>8</timezone>
</developer>
</developers>
<!-- 項(xiàng)目授權(quán) -->
<licenses>
<license>
<name>Apache License,Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<!-- 問(wèn)題跟蹤 -->
<issueManagement>
<system>urltracker</system>
<url>http://10.18.96.90/URTracker/Accounts/Login.aspx</url>
</issueManagement>
2.項(xiàng)目站點(diǎn)插件
[html] view plain copy
<span style="white-space:pre">          </span><plugin>
<!-- 站點(diǎn)生成插件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.2</version>
<configuration>
<!-- 支持國(guó)際化 -->
<locales>zh_CN</locales>
<reportPlugins>
<plugin>
<!-- 生成javadoc文件 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<!-- 項(xiàng)目信息過(guò)濾 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.6</version>
<reportSets>
<reportSet>
<reports>
<!-- index一定要生成,否則鏈接問(wèn)題 -->
<report>index</report>
<report>dependencies</report>
<report>project-team</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
<report>cim</report>
<report>modules</report>
<report>plugins</report>
<report>help</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<!-- 源碼查看生成 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
<configuration>
<!-- 多模塊聚合 -->
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<!-- 代碼風(fēng)格檢查 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<!-- 使用maven社區(qū)代碼風(fēng)格 -->
<configLocation>config/maven_checks.xml</configLocation>
</configuration>
</plugin>
<plugin>
<!-- 代碼更改日志 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<!-- 代碼隱藏bug檢查 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0</version>
<configuration>
<!-- 多模塊聚合 -->
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<!-- 測(cè)試覆蓋率 -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
3.項(xiàng)目站點(diǎn)生成命令
[html] view plain copy
mvn site
如果本地想看一下,多個(gè)模塊鏈接會(huì)出現(xiàn)問(wèn)題,可以用下面命令將生成文件聚合在一處
[html] view plain copy
clean site site:stage -DstagingDirectory=/Users/apple/site
但是如想使用這個(gè)命令必須配置下面的發(fā)布管理配置
[html] view plain copy
<span style="white-space:pre">  </span><distributionManagement>
<site>
<id>website</id>
<url>file:///Users/apple/site/</url>
</site>
</distributionManagement>
4.項(xiàng)目站點(diǎn)自定義
在src/site下創(chuàng)建site.xml文件
[html] view plain copy
<?xml version="1.0" encoding="UTF-8"?>
<project name="Account" xmlns="http://maven.apache.org/DECORATION/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<bannerLeft>
<!-- 左上角圖片 -->
<name>maven</name>
<src>images/apache-maven-project.png</src>
<href>http://projects.apache.org/</href>
</bannerLeft>
<bannerRight>
<!-- 右上角圖片 -->
<name>java</name>
<src>images/java_logo.jpg</src>
<href>http://www.java.com</href>
</bannerRight>
<!-- 版本信息放在右邊 -->
<version position="right" />
<!-- 發(fā)布信息放在右邊 -->
<publishDate position="right" />
<body>
<breadcrumbs>
<!-- 橫條鏈接 -->
<item name="lastsweetop"  />
<item name="account" />
</breadcrumbs>
<menu ref="parent"/>
<!-- 項(xiàng)目信息報(bào)告 inherit表示子模塊繼承父模塊-->
<menu ref="reports" inherit="top"></menu>
</body>
<skin>
<!-- 谷歌皮膚 -->
<groupId>com.googlecode.fluido-skin</groupId>
<artifactId>fluido-skin</artifactId>
<version>1.3</version>
</skin>
</project>
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶(hù)發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
有效利用Maven2的站點(diǎn)生成功能
maven--私服的搭建(Nexus的使用)和注意的問(wèn)題
Maven實(shí)戰(zhàn)(四)生命周期
其實(shí)很多人,對(duì)Maven理解的并不深
maven 第十六課 -- maven生命周期
Maven入門(mén)教程(二)
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服