maven compile插件
来源:互联网 发布:佛山广东广电网络 编辑:程序博客网 时间:2024/06/15 02:20
熟悉一个东西最全的方式莫过于官网文档(前提是官网有相关介绍并且版面布局OK),相信不少小伙伴也遇到过跟我类似的问题,想使用一个插件但是去官网一看要不没有说明要不板书不堪入目,幸运的是maven官网文档还挺OK,maven是现在使用比较广的一个项目管理工具,还有两个使用比较广的就是ant以及gradle。
Classpath elements to supply as annotation processor path. If specified, the compiler will detect annotation processors only in those classpath elements. If omitted, the default classpath is used to detect annotation processors. The detection itself depends on the configuration of annotationProcessors.
Each classpath element is specified using their Maven coordinates (groupId, artifactId, version, classifier, type). Transitive dependencies are added automatically. Example:
<configuration> <annotationProcessorPaths> <path> <groupId>org.sample</groupId> <artifactId>sample-annotation-processor</artifactId> <version>1.2.3</version> </path> <!-- ... more ... --> </annotationProcessorPaths></configuration>
Names of annotation processors to run. Only applies to JDK 1.6+ If not set, the default annotation processors discovery process applies.
compilerArgsList2.0Sets the arguments to be passed to the compiler if fork is set to true. Example:
<compilerArgs> <arg>-Xmaxerrs=1000</arg> <arg>-Xlint</arg> <arg>-J-Duser.language=en_us</arg></compilerArgs>
Sets the unformatted single argument string to be passed to the compiler if fork is set to true. To pass multiple arguments such as -Xmaxerrs 1000 (which are actually two arguments) you have to use compilerArguments.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
compilerArgumentsMap2.0Deprecated. use compilerArgs instead.compilerIdString2.0The compiler id of the compiler to use. See this guide for more information.Default value is: javac.
User property is: maven.compiler.compilerId.compilerReuseStrategyString2.0Strategy to re use javacc class created:
- reuseCreated (default): will reuse already created but in case of multi-threaded builds, each thread will have its own instance
- reuseSame: the same Javacc class will be used for each compilation even for multi-threaded build
- alwaysNew: a new Javacc class will be created for each compilation
Default value is: ${reuseCreated}.
User property is: maven.compiler.compilerReuseStrategy.compilerVersionString2.0Version of the compiler to use, ex. "1.3", "1.5", if fork is set to true.
User property is: maven.compiler.compilerVersion.debugboolean2.0Set to true to include debugging information in the compiled class files.
Default value is: true.
User property is: maven.compiler.debug.debuglevelString2.0Keyword list to be appended to the -g command-line switch. Legal values are none or a comma-separated list of the following keywords: lines, vars, and source. If debug level is not specified, by default, nothing will be appended to -g. If debug is not turned on, this attribute will be ignored.
User property is: maven.compiler.debuglevel.encodingString2.0The -encoding argument for the Java compiler.
Default value is: ${project.build.sourceEncoding}.
User property is: encoding.excludesSet2.0A list of exclusion filters for the compiler.executableString2.0Sets the executable of the compiler to use when fork is true.
User property is: maven.compiler.executable.failOnErrorboolean2.0Indicates whether the build will continue even if there are compilation errors.
Default value is: true.
User property is: maven.compiler.failOnError.failOnWarningboolean2.0Indicates whether the build will continue even if there are compilation warnings.
Default value is: false.
User property is: maven.compiler.failOnWarning.fileExtensionsList2.0file extensions to check timestamp for incremental build default contains only .classforceJavacCompilerUseboolean2.0compiler can now use javax.tools if available in your current jdk, you can disable this feature using -Dmaven.compiler.forceJavacCompilerUse=true or in the plugin configuration
Default value is: false.
User property is: maven.compiler.forceJavacCompilerUse.forkboolean2.0Allows running the compiler in a separate process. If false it uses the built in compiler, while if true it will use an executable.
Default value is: false.
User property is: maven.compiler.fork.generatedSourcesDirectoryFile2.0
Specify where to place generated source files created by annotation processing. Only applies to JDK 1.6+
Default value is: ${project.build.directory}/generated-sources/annotations.includesSet2.0A list of inclusion filters for the compiler.jdkToolchainMap2.0
Specify the requirements for this jdk toolchain. This overrules the toolchain selected by the maven-toolchain-plugin.
note: requires at least Maven 3.3.1maxmemString2.0Sets the maximum size, in megabytes, of the memory allocation pool, ex. "128", "128m" if fork is set to true.User property is: maven.compiler.maxmem.meminitialString2.0Initial size, in megabytes, of the memory allocation pool, ex. "64", "64m" if fork is set to true.
User property is: maven.compiler.meminitial.optimizeboolean2.0Set to true to optimize the compiled code using the compiler's optimization methods.
Default value is: false.
User property is: maven.compiler.optimize.outputFileNameString2.0默认输出文件名是"${project.build.finalName}"procString2.0
Sets whether annotation processing is performed or not. Only applies to JDK 1.6+ If not set, both compilation and annotation processing are performed at the same time.
Allowed values are:
- none - no annotation processing is performed.
- only - only annotation processing is done, no compilation.
User property is: maven.compiler.release.showDeprecationboolean2.0Sets whether to show source locations where deprecated APIs are used.
Default value is: false.
User property is: maven.compiler.showDeprecation.showWarningsboolean2.0Set to true to show compilation warnings.
Default value is: false.
User property is: maven.compiler.showWarnings.skipMainboolean2.0Set this to 'true' to bypass compilation of main sources. Its use is NOT RECOMMENDED, but quite convenient on occasion.
User property is: maven.main.skip.skipMultiThreadWarningboolean2.0(no description)
Default value is: false.
User property is: maven.compiler.skipMultiThreadWarning.sourceString2.0The -source argument for the Java compiler.
Default value is: 1.5.
User property is: maven.compiler.source.staleMillisint2.0Sets the granularity in milliseconds of the last modification date for testing whether a source needs recompilation.
Default value is: 0.
User property is: lastModGranularityMs.targetString2.0The -target argument for the Java compiler.
Default value is: 1.5.
User property is: maven.compiler.target.useIncrementalCompilationboolean2.0to enable/disable incrementation compilation feature
Default value is: true.
User property is: maven.compiler.useIncrementalCompilation.verboseboolean2.0Set to true to show messages about what the compiler is doing.
Default value is: false.
User property is: maven.compiler.verbose.
- maven compile插件
- 在导入maven项目时出现maven-compiler-plugin:2.3.2:compile插件的错误
- 在导入maven项目时出现maven-compiler-plugin:2.3.2:compile插件的错误
- Maven Compile Encoding 乱码问题解决
- compile spark2.0.0 with maven
- maven插件
- maven插件
- Maven 插件
- Maven插件
- maven 插件
- Maven插件
- Maven插件
- maven插件
- maven 插件
- Maven插件
- Maven - 插件
- maven 插件
- Maven 插件
- 一些面试问题(更新中)
- Android 7.1现BUG:无法看发来iPhone 7截图
- hadoop视频教程
- Filter简介
- Python3 基础:数据类型和变量
- maven compile插件
- 微信小程序入门
- centos7开启关闭端口
- 将报表的字段信息导入到EXCEL的实现方式
- .NET POST提交数据和接收数据 用url传参方式
- GridView的细节
- Unity AssetBundle管理(二)
- samba
- Nosql 概念释义