简体   繁体   English

什么是需要JDK 1.6的build-helper-maven-plugin的最新版本?

[英]What's the latest version of build-helper-maven-plugin that requires JDK 1.6?

The latest version of the Build Helper Maven plugin ( 1.10 at the moment) requires Java 1.7 , which broke my build. 最新版本的Build Helper Maven插件(目前为1.10 )需要Java 1.7 ,这破坏了我的构建。 The plugin documentation page only shows Java version requirement for the latest version. 插件文档页面仅显示最新版本的Java版本要求。

Looking at Build Helper Maven Plugin versions, here 这里查看 Build Helper Maven插件版本

  • version 1.9.1 points to parent POM org.codehaus.mojo.mojo-parent version 33 , which still sets its Java target at 1.5 (via the property mojo.java.target ). 版本1.9.1指向父POM org.codehaus.mojo.mojo-parent版本33 ,它仍然将其Java目标设置为1.5 (通过属性mojo.java.target )。

  • version 1.10 points to parent POM org.codehaus.mojo.mojo-parent version 38 , which sets its Java target at 1.7 版本1.10指向父POM org.codehaus.mojo.mojo-父版本38 ,它将其Java目标设置为1.7

Hence, Build Helper Maven Plugin 1.9.1 is the latest version compatible with Java 6 . 因此,Build Helper Maven Plugin 1.9.1是与Java 6兼容的最新版本。 From that version on, Java 7 is the default target. 从该版本开始,Java 7是默认目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 build-helper-maven-plugin导致AnnotationTypeMismatchException - build-helper-maven-plugin causing AnnotationTypeMismatchException Maven build-helper-maven-plugin 正则表达式无法使用属性作为dependency.version - Maven build-helper-maven-plugin regex unable to use property as dependency.version build-helper-maven-plugin 添加额外的源 - build-helper-maven-plugin adding additional source 使用 build-helper-maven-plugin 从 Jar 中排除文件 - Excluding Files From Jar With build-helper-maven-plugin 使用 build-helper-maven-plugin 添加生成的 Apache Avro 源 - Add generated Apache Avro source with build-helper-maven-plugin build-helper-maven-plugin add-test-resource错误 - build-helper-maven-plugin add-test-resource error Maven | 如何在Gradle中使用build-helper-maven-plugin? - Maven | How can I use build-helper-maven-plugin in Gradle? maven不会识别来自build-helper-maven-plugin的execution'a标签 - maven doesnt recognize execution'a tag from build-helper-maven-plugin build-helper-maven-plugin目标:正则表达式属性如何访问生成的属性 - build-helper-maven-plugin goal:regex-property how to access generated property 是否可以使用org.codehaus.mojo:build-helper-maven-plugin将本机dll捆绑到war文件中? - Is it possible to use the org.codehaus.mojo:build-helper-maven-plugin to bundle native dlls into a war file?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM