googleapis / googleapis/google-cloud-java

[sdk-platform-java] Migrate from Gradle to Maven

未关闭
#12,533 0 条评论 0 个 reaction 已指派 1 人 已被 @lqiu96 认领 在 GitHub 查看
priority: p2 type: process
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

The goal of switching to Maven is to align with the rest of the Java client libraries repositories that use Maven. This should enable us to take advantage of more automation tools that have been designed and tested against Maven-based repositories in the googleapis organization. This should also simplify integration with Bazel and eliminate the need for `/dependencies.properties`.

- [x] Add Maven-based build without impacting Gradle and Bazel builds (#1562)
- [x] Verify that changing artifact parents is non-breaking
- [x] Verify that `mvn install` works and then using the newly installed version (x.x.x-SNAPSHOT) directly in any of the existing gapic clients (like java-language) still works.
- [x] Add Maven-based CI
- [x] Ensure that the Maven setup is aligned with other repos such as https://github.com/googleapis/java-core
- [x] Verify that all functions of the existing Gradle build configuration are covered
- [x] Switch CI from Gradle to Maven
- [x] Release using Maven
- [ ] Remove Gradle build configs
- [ ] Switch Bazel integration to the new Maven build instead of the existing Gradle one
- [ ] Discontinue reliance on `\dependencies.properties`
- - I don't think we can remove this file until we migrate gapic-generator-java to Maven

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。