为什么 CAS 覆盖模板分支 6.x 不支持 maven 作为构建工具?

Why CAS overlay template branch 6.x does not support maven as build tool?

通过检查 project's 结构,我可以看到直到分支 5。3.x,maven 和 gradle 可用作构建工具。

从分支6.x开始就不是这样了。没有 pom.xml,在我的理解中,这意味着不再支持 Maven 作为构建工具。

但是,在官方文档中,例如 delegated authentication ,依赖项也可以作为 maven 工件(Maven 选项卡)使用。

那么到底发生了什么? maven 是否被弃用为叠加层的构建工具?

来自大约一年前发布的发行说明:

https://apereo.github.io/2018/09/14/600rc2-release/#war-overlay

The Maven WAR overlay template is now deprecated and moved aside. The reference overlay project simply is transformed to use the Gradle build tool instead. This is done to reduce maintenance overhead and simplify the deployment strategy while allowing future attempts to make auto-generation of the overlay as comfortable as possible.

maven 依赖项选项卡存在的原因是:

  • 理论上,没有什么能阻止您使用 Apache Maven 创建自己的叠加层并在您自己的项目中使用其中一个依赖项。

  • Maven 依赖不仅用于 CAS 覆盖项目;它可以用作任何其他项目的外部依赖项,用于扩展或附加组件,所有这些都可能基于 Apache Maven。