我目前正在使用 JAXB-2 Maven plugin由 Codehaus (jaxb2-maven-plugin
) 开发,用于从 XSD 生成 Java 类。
该网站提到该插件的版本为 2.0(最后发布时间:2015-02-09)。但是,我在任何 Maven 存储库上都找不到这个插件:
- http://mvnrepository.com/artifact/org.codehaus.mojo/jaxb2-maven-plugin仍然是1.6版本
- http://search.maven.org/#search|gav|1|g%3A%22org.codehaus.mojo%22%20AND%20a%3A%22jaxb2-maven-plugin%22也是1.6版本
哪里可以找到它?
另外,我尝试使用以前的版本(1.6),但似乎目标 xjc
的配置发生了根本性的变化,因为 2.0 版文档中描述的属性在 1.6 版中不存在。
这引出了第二个问题:在哪里可以找到 1.6 版本的文档?
最佳答案
我也在等。但他们似乎在 2.0 上遇到了一些问题。
项目贡献者 Lennart Jörelid 表示:
While the 2.0 version exists in the version control system, it is not publicly released. I am awaiting some feedback from the community in regards to the eclipse m2e integration and - based on feedback - will likely release a 2.1 instead of the 2.0 version for public consumption.
关于java - org.codehaus.mojo :jaxb2-maven-plugin 2. 0 在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28835287/