__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
可用的 [Plugins] / 目标
===========================
genapp ......................... 基于模板来产生应用程序
jdiff .......................... 生成两个版本之间API的不同的报告
junitdoclet .................... 生成单元测试
注意:[]之间的关键词表示maven 后跟随的目标名称,后续的名称表示子项目
比如:maven abbot editor.
[abbot] 运行修道士(abbot)测试
editor ......................... 调用修道士costello编辑器
editor-webstart ................ 调用修道士costello编辑器在一个WebStart应用里
test ........................... 运行修道士(abbot)测试
test-webstart .................. 运行测试在一个webstart引用上
[announcement] 生成发布声明
generate ....................... 生成发布声明
generate-all ................... 生成发布声明对所有的发布
mail ........................... 发送一个包含发布生命的Email
[ant] 生成ant build.xml文件
generate-build ................. 生成ant build.xml文件
[antlr] ( 没有缺省的目标 )
generate ....................... 根据antlr语法生成源代码
prepare-filesystem ............. 为altlr处理生成所有必须的字典
[appserver] ( 没有缺省的目标 )
clean .......................... 安全的删除一个已经安装的AppServer实例
cycle .......................... 强迫安装和启动一个appserver实例
init ........................... 初始化plugin必须的资源
install ........................ 安装一个appserver实例
reinstall ...................... 重安装一个appserver实例
restart ........................ 重新启动一个appserver实例
start .......................... 启动一个appserver实例
stop ........................... 停止一个appserver实例
[artifact] ( 没有缺省的目标 )
[ashkelon] ( 没有缺省的目标 )
[aspectj] Weave with AspectJ
compile ........................ Weave classes with AspectJ
test-compile ................... Weave tests with AspectJ
[aspectwerkz] ( 没有缺省的目标 )
attributec ..................... Compile AspectWerkz javadoc attributes (
xml-defined aspects)
compile ........................ Compile AspectWerkz java sources
weave .......................... Weave aspects (offline mode)
[castor] ( 没有缺省的目标 )
prepare-filesystem ............. 准备所有必须的字典为 castor 处理
[changelog] ( 没有缺省的目标 )
[changes] ( 没有缺省的目标 )
report ......................... 生成改变报告
[checkstyle] 执行 checkstyle 检查
report ......................... 执行 checkstyle 检查
[clean] 删除所有项目部件
clean .......................... 删除所有项目部件
[clover] 使用Clover生成测试覆盖率报告
html-report .................... Generate HTML test coverage reports with
Clover
off ............................ Deactivates Clover
on ............................. Activates Clover
report ......................... Generates the Clover reports
swing-report ................... Generate Swing test coverage reports with
Clover
test ........................... Compile project code with Clover and
executes the unit tests
test-single .................... Compile code with Clover and execute a
single unit test
xml-report ..................... Generate XML test coverage reports with
Clover
[console] 运行Maven控制台
help ........................... 打印帮助信息
listGoals ...................... 列出所有可用目标
[cruisecontrol] ( 没有缺省的目标 )
configure ...................... 更新Cruise 控制配置文件
run ............................ 运行Cruise控制
[dashboard] 生成仪表板报告
report ......................... 生成仪表板报告
[dist] 建立完整的配送.
build .......................... 建立完整的配送.
build-bin ...................... 建立二进制的配送.
build-setup .................... 配置建立陪送的目录
build-src ...................... 建立源代码配送.
deploy ......................... 发布一个配送
deploy-bin ..................... 发布一个二进制配送
deploy-bin-snapshot ............ 发布一个二进制配送
deploy-snapshot ................ 发布一个快照配送
deploy-src ..................... 发布一个源代码配送
deploy-src-snapshot ............ 发布一个源代码配送
prepare-bin-filesystem ......... 建立二进制的配送文件系统.
prepare-src-filesystem ......... 建立源代码的配送
[docbook] ( 没有缺省的目标 )
transform ...................... Transform any docbook-simple source into
xdocs for later use
[ear] 建立一个ear文件
deploy ......................... 发布ear 到远程知识库
deploy-snapshot ................ 发布快照版本的ear到远程知识库
ear ............................ 建立一个ear文件
generate-ear-descriptor ........ 生成 ear描述
init ........................... 初始化ear需要的文件系统和其他资源
install ........................ 在本地知识库里安装ear
install-snapshot ............... 安装快照版本的ear在本地知识库里
[eclipse] 生成Eclipse项目文件
add-maven-repo ................. 确定classpath变量MAVEN_REPO
clean .......................... 清除eclipse生成的文件
external-tools ................. 为每种目标生成一个Eclipse外部工具
external-tools-21 .............. 为每种目标生成一个Eclipse 2.1 外部工具
generate-classpath ............. 生成Eclipse .classpath 文件
generate-project ............... 生成Eclipse .project文件
[ejb] 建立一个ejb文件
deploy ......................... 发布ejb到远程知识库
deploy-client .................. 发布ejb client到远程知识库
deploy-snapshot ................ 发布快照版本的ejb到远程知识库
ejb ............................ 建立一个ejb文件
ejb-client ..................... 建立一个client ejb文件
init ........................... 为建立ejb初始文件系统和其他资源
install ........................ 在本地知识库安装ejb
install-client ................. 在本地知识库安装ejb client
install-snapshot ............... 在本地知识库安装快照版本的ejb
[faq] 从FAQ XML生成FAQ xdoc文件
[fo] This simply pre-requisites the fo:fo goal.
fo ............................. Generates an fo xml document from the ${
maven.pdf.navigationFile} file supplied as
part of the documentation.
[gump] Generate Gump descriptor from Maven
descriptor
generate-descriptor ............ Generate Gump descriptor from Maven
descriptor
[hibernate] ( 没有缺省的目标 )
aggregate-mappings ............. Aggregate multiple .hbm.xml files into one
file
schema-export .................. Export Hibernate schema
[html2xdoc] Generates XDoc documentation from normal
HTML files
transform ...................... Performs the html to xdoc transformation
[idea] Generate IDEA project files
idea ........................... Generate IDEA .ipr, .iml and .iws project
files
module ......................... Generate IDEA .iml project files
project ........................ Generate IDEA .ipr project files
workspace ...................... Generate IDEA .iws project files
[j2ee] Check that a war file is valid
validate-war ................... Check that a war file is valid
[jalopy] Format all sources with code convention
conformance
format ......................... Format all sources with code convention
conformance
taskdef ........................ Define the jalopy task to Ant and Jelly
[jar] Create the deliverable jar file.
deploy ......................... Deploy a jar to the remote repository
deploy-snapshot ................ Deploy a snapshot jar to the remote
repository
install ........................ Install the jar in the local repository
install-snapshot ............... Install a snapshot jar in the local
repository
jar ............................ Create the deliverable jar file.
snapshot ....................... Create a snapshot jar, ie '
id-YYYYMMDD.hhmmss.jar'
[java] ( 没有缺省的目标 )
compile ........................ Compile the project
jar ............................ Create the deliverable jar file.
jar-resources .................. Copy any resources that must be present in
the deployed JAR file
prepare-filesystem ............. Create the directory structure needed to
compile
[javacc] ( 没有缺省的目标 )
javacc-generate ................ Generate source from javacc grammar
[javadoc] ( 没有缺省的目标 )
deploy ......................... Deploys the jar containing javadoc to the
remote repository
deploy-snapshot ................ Deploys the snapshot version of jar
containing javadoc to remote repository
install ........................ Install the jar containing javadoc in the
local repository
install-snapshot ............... Install the snapshot version of the jar
containing javadoc in the local repository
[jboss] 生成特定的JBoss server配置文件
configure ...................... 建立特定的JBoss Server配置
deploy-ear ..................... 发布${maven.final.name}.ear
deploy-ejb ..................... 发布${maven.final.name}.jar
deploy-exploded-warfile ........ 调用'war:webapp' 目标并且发布结果
说明'maven.war.webapp.dir' 必须用.war结尾
deploy-warfile ................. 调用'war' 目标并且发布结果
dist ........................... 生成zipped JBoss配置
install ........................ 安装zip到本地知识库
package ........................ 建立制定JBoss Server的配置
start .......................... 启动JBoss 使用我们制定的Server配置
stop ........................... 停止JBoss
undeploy-ear ................... 卸载 ${maven.final.name}.ear
undeploy-ejb ................... 卸载${maven.final.name}.jar
undeploy-exploded-warfile ...... 卸载'war:webapp' 必须用.war文件结尾
undeploy-warfile ............... 卸载the result of the 'war' goal
[jbuilder] 生成JBuilder项目文件
generate-library ............... 生成JBuilder[id_project].library文件
generate-project ............... 生成JBuilder [id_project].jpx文件
[jcoverage] Generate HTML test coverage reports with
JCoverage
html-report .................... Generate HTML test coverage reports with
JCoverage
merge .......................... Merge two or more instrumentation files
into one
on ............................. perform the coverage analysis
[jdee] Generate JDEE project file
generate-project ............... Generate project file in basedir
[jdeveloper] Generate JDeveloper project files
generate-project ............... Generate jdeveloper .jpr
scanSources .................... Scans the source in order to integrate them
into JDeveloper files
[jellydoc] Generates the tag documentation
doclet ......................... A doclet which outputs all the Jelly tag
related metadata as XML
xml-doclet ..................... Creates an XML representation of the doclet
information
[jetty] Run Jetty
config ......................... Generate a Jetty configuration file
run ............................ Run Jetty
run-war ........................ Run Jetty on the current war project
[jnlp] Generate JNLP file and sign all jars
generate-jnlp .................. Generate the .jnlp file and sign all jars
generate-keystore .............. Generate a keystore file
init ........................... Initialize jnlp plugin
[junit-report] ( 没有缺省的目标 )
report ......................... Generate a report from the test results
[latex] ( 没有缺省的目标 )
generate ....................... Generate documentation from latex source
prepare-filesystem ............. Prepare the filesystem for latex processing
[latka] Run the project's latka tests
jmeter-convert ................. Convert a jmeter jmx file to a latka suite
single ......................... Execute a single test defined using the '
testcase' variable
test ........................... Run the project's latka tests
[license] Generate an XML file from the license file
transfer ....................... Generate a xml file from your license file
[maven-ashkelon-plugin] ( 没有缺省的目标 )
[maven-changelog-plugin] ( 没有缺省的目标 )
report ......................... Generate a changelog report
[maven-changes-plugin] ( 没有缺省的目标 )
[maven-checkstyle-plugin] ( 没有缺省的目标 )
[maven-clover-plugin] ( 没有缺省的目标 )
[maven-cruisecontrol-plugin] ( 没有缺省的目标 )
[maven-dashboard-plugin] ( 没有缺省的目标 )
[maven-developer-activity-plugin] ( 没有缺省的目标 )
report ......................... Generate developer and file activity reports
[maven-faq-plugin] ( 没有缺省的目标 )
report ......................... Generate FAQs
[maven-file-activity-plugin] ( 没有缺省的目标 )
report ......................... Generate developer and file activity reports
[maven-javadoc-plugin] ( 没有缺省的目标 )
report ......................... Generate API documentation
[maven-jcoverage-plugin] ( 没有缺省的目标 )
deregister ..................... Deregister the jcoverage plugin
register ....................... Register the maven-jcoverage-plugin.
report ......................... Run the default report (html).
[maven-jdepend-plugin] ( 没有缺省的目标 )
report ......................... Generate a dependency report with JDepend
[maven-jdiff-plugin] ( 没有缺省的目标 )
report ......................... Generate an api difference report between
versions
[maven-jellydoc-plugin] ( 没有缺省的目标 )
report ......................... Generates the tag documentation
[maven-jira-plugin] ( 没有缺省的目标 )
report ......................... Generate report with all entries defined in
Jira
[maven-junit-report-plugin] ( 没有缺省的目标 )
[maven-jxr-plugin] ( 没有缺省的目标 )
report ......................... Generate HTML cross reference sources
[maven-license-plugin] ( 没有缺省的目标 )
report ......................... Generate an XML file from the license.txt
[maven-linkcheck-plugin] ( 没有缺省的目标 )
clearcache ..................... Removes the cache file
report-real .................... Generate link check results and then
transform to HTML
[maven-multichanges-plugin] ( 没有缺省的目标 )
[maven-multiproject-plugin] ( 没有缺省的目标 )
[maven-pmd-plugin] ( 没有缺省的目标 )
[maven-simian-plugin] Generate Simian (Code Similarity Analyzer)
report.
[maven-tasklist-plugin] ( 没有缺省的目标 )
report ......................... Generate a list of tasks from @todo tags in
your code
[multichanges] ( 没有缺省的目标 )
[multiproject] Run the site goal of all subprojects and
generate overview page
artifact ....................... Builds all artifacts for all subproject
clean .......................... Clean all subprojects
dependency-convergence-report .. Generate report which shows how consistent
are the versions of artitfacts between
projects
deploy ......................... Run 'artifact':deploy for all subprojects
deploy-snapshot ................ Run 'artifact':deploy-snapshot for all
subprojects
goal ........................... Run a given goal on all projects
install ........................ Run 'artifact':install for all subprojects
install-snapshot ............... Run 'artifact':install-snapshot for all
subprojects
site ........................... Run the site goal of all subprojects and
generate overview page
[native] Native compiler
compile ........................ Compile the native compiler
install ........................ Install the lib in the local repository
jniheader ...................... make jniheaders for classes
[nsis] Generate NSIS Installer .exe
generate-project ............... Generate NSIS project.nsh file
generate-setup ................. Generate NSIS .nsi file
installer ...................... Generate NSIS .exe file
[pdf] This is the default goal of the plugin and
simply pre-requisites the pdf:pdf goal.
pdf ............................ Generates a PDF document containing all
project documentation. The PDF is generated
from the .fo file generated in the fo:fo
goal.
prepare ........................ Stages all files needed to generate the PDF
[plugin] Build a plugin jar
download ....................... download and install a plugin from a remote
repo
download-artifact .............. download a plugin from a remote repo
generate-docs .................. Generate navigation, goals and properties
docs
generate-goals ................. Generate goals.xml for the plugin
generate-navigation ............ Generate navigation.xml for the plugin
generate-properties ............ Generate properties.xml for the plugin
install ........................ Install the plugin jar, prepare Maven to
expand it locally and clear caches
install-now .................... Build a plugin and load it into the
currently running instance of Maven.
plugin ......................... Build a plugin jar
uninstall ...................... Uninstall all versions of the plugin
uninstall-now .................. Uninstall all versions of the plugin,
including those in the currently running
instance of Maven
[pmd] Static Code Analyzer
cpd-report ..................... Generate duplicate source code report with
CPD
report ......................... Generate source code report with PMD
[pom] Validate the Maven XML project descriptor
contentvalidate ................ Validate the content of the Maven POM
deploy ......................... Deploy POM to the central repository.
deploy-snapshot ................ Deploys the snapshot version of the POM to
remote repository
install ........................ Install POM in the local repository.
install-snapshot ............... Install the snapshot version of the POM in
the local repository
validate ....................... Validate the Maven XML project descriptor
[rar] Build a rar file
deploy ......................... Deploys the rar to the remote repository
deploy-snapshot ................ Deploys the snapshot version of the rar to
remote repository
init ........................... Initialise filesystem and other resources
for a rar
install ........................ Install the rar in the local repository
install-snapshot ............... Install the snapshot version of the rar in
the local repository
load ........................... no-op goal
rar ............................ Build a rar file
[release] ( 没有缺省的目标 )
[repository] ( 没有缺省的目标 )
audit-copy-license ............. copy the license for the specified groupId
to the repository
audit-copy-licenses ............ copy all licenses in the audit file to the
repository
audit-create-directory ......... create the directory, specified by
directoryName, for all groups in the audit
file
audit-create-licenses .......... create the license directories, for all
groups in the audit file, in the repository
audit-generate-pom ............. generate a pom for the groupId provided,
based on the audit file
audit-generate-poms ............ generate a pom for all the groupId's in the
audit file
audit-rename-licenses .......... rename/link all licenses from their
original name to ${groupId}.license
copy-artifact .................. copy an artifact, specified by groupId,
artifact and type, to the repository
copy-jar ....................... copy a jar, specified by groupId and
artifact, to the repository
copy-snapshot-jar .............. copy a snapshot jar, specified by groupId
and artifact, to the repository
create-project ................. create a project, specified by groupId, in
the repository
delete-project ................. delete a project, specified by groupId, in
the repository
[scm] ( 没有缺省的目标 )
bootstrap-project .............. Bootstrap a project from SCM
checkout-project ............... Checkout a project
perform-release ................ Perform a release from SCM
prepare-release ................ Prepare for a release in SCM
update-project ................. Update a project from SCM
[shell] Generate Zsh files
zsh ............................ Generate Zsh files
[site] Generate the web site
deploy ......................... deploy the generated site docs
ear ............................ Create an EAR File from the generated site
fsdeploy ....................... Deploy the generated site by copying to the
site directory
ftpdeploy ...................... Deploy the generated site docs using ftp
sshdeploy ...................... Deploy the generated site docs using ssh
war ............................ Create a WAR File from the generated site
[struts] Ensure a war file containing a Struts
application is valid
validate-war ................... Ensure a war file containing a Struts
application is valid
[test] Test the application
compile ........................ Compile the TestCases and TestSuites
match .......................... Execute all the tests matching the given '
testmatch' variable
match-test ..................... [deprecated] please use the test:match goal
instead
prepare-filesystem ............. Create the needed directory structure
single ......................... Execute a single test defined using the '
testcase' variable
single-test .................... [deprecated] please use the test:single
goal instead
test ........................... Test the application
test-resources ................. Copy any resources that must be present for
run tests
ui ............................. Starts the Swing TestRunner front end
[tjdo] Enhance classes for use with Triactive JDO
drop-tables .................... Drops the tables managed by Triactive JDO.
enhance ........................ Provides the enhancement of classes to use
TJDO for persistence
[uberjar] Build a uberjar file
classworlds-conf ............... Generates a classworlds conf
deploy ......................... Deploys the uberjar to the remote repository
deploy-snapshot ................ Deploys the snapshot version of the
uberjar to remote repository
install ........................ Install the uberjar in the local repository
install-snapshot ............... Install the snapshot version of the uberjar
in the local repository
uberjar ........................ Build an uberjar
[war] Build a war file
clean .......................... Remove all artifacts created by war plugin
deploy ......................... Deploys the war to the remote repository
deploy-snapshot ................ Deploys the snapshot version of the war to
remote repository
inplace ........................ Deploy a webapp into maven.war.src - in
particular setting up WEB-INF/lib and
WEB-INF/classes
install ........................ Install the war in the local repository
install-snapshot ............... Install the snapshot version of the war in
the local repository
war ............................ Build a war file
war-resources .................. Copy webapp resources to target directory
webapp ......................... Build a webapp directory
[webserver] ( 没有缺省的目标 )
clean .......................... Safely delete an installed webserver
instance
cycle .......................... Forced install and start of a webserver
instance
init ........................... Initialize resources needed for the plugin
install ........................ Install a webserver instance
reinstall ...................... Reinstall a webserver instance
restart ........................ Restart a webserver instance
start .......................... Start a webserver instance
stop ........................... Stop a webserver instance
[wizard] ( 没有缺省的目标 )
ui ............................. Run the Maven Swing Wizard
[xdoc] Generate html project documentation xdoc
sources
copy-resources ................. copy static resources for use in xdocs
generated html
copy-user-resources ............ Copy user provided resources to docs
destination
generate-from-pom .............. Generates xdocs for site based on project
descriptor
init ........................... Generates the directory structure required
for xdocs
jelly-init ..................... Set up jelly xdoc requirements
jelly-transform ................ transform xdocs using jelly/jsl rather than
dvsl
performJSL ..................... Allows the LinkCheck plugin to xdoc a
single directory
transform ...................... Generate html project documentation xdoc
sources
validate ....................... Validate xdocs match the schema