Commit b2b91b3
authored
Move our Libraries to only use artifact feed for packages, no Maven Central, Fixes AB#3395409 (#2413)
Received an s360 item asking our libraries to always pull packages from
feeds, and not declare mavenCentral as a repository to source
dependencies. The feed itself has maven as an upstream. We cannot use
AndroidADAL feed as that one has some versions deleted (once a version
is deleted from a feed, it cannot be restored, even if an upstream has
it). Created a new feed to support this
https://identitydivision.visualstudio.com/Engineering/_artifacts/feed/NewAndroid.
We pull packages from this new feed, but we still publish our versions
to AndroidADAL. The new feed has AndroidADAL as an upstream still, so
our existing collection of artifacts is still accessible.
I also took this chance to consolidate the Maven VSTS Username and
Access Token fields, which are fields used to authenticate and pull
artifacts from the feed. Previously, each library had their own names
for these fields with an identifier based on the library in question.
These PRs make it so all libraries use the same names,
`ENV_VSTS_MVN_CRED_USERNAME` and `ENV_VSTS_MVN_CRED_ACCESSTOKEN`.
Validation:
https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1568877&view=results
[AB#3395409](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3395409)1 parent 390feda commit b2b91b3
File tree
6 files changed
+37
-22
lines changed- azure-pipelines/pull-request-validation
- msal
6 files changed
+37
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
| |||
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
22 | 34 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 35 | | |
30 | | - | |
31 | | - | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | | - | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
- .github/workflows/gradle-versions-watcher.yml+32
- .github/workflows/validate-pr-ab-id.yml+9-2
- LabApiUtilities/build.gradle+4-4
- LabApiUtilities/src/main/com/microsoft/identity/labapi/utilities/authentication/LabApiAuthenticationClient.java+20-15
- LabApiUtilities/src/main/com/microsoft/identity/labapi/utilities/client/LabClient.java+1-4
- azure-pipelines/continuous-delivery/common-cd.yml+3-2
- azure-pipelines/pull-request-validation/build-consumers.yml+12-48
- azure-pipelines/pull-request-validation/common.yml+8-10
- azure-pipelines/templates/steps/automation-cert.yml+5-6
- azure-pipelines/templates/steps/continuous-delivery/assemble-publish-projversion.yml+6-7
- azure-pipelines/templates/steps/spotbugs.yml+4
- azure-pipelines/templates/steps/vsts-release.yml-1
- azure-pipelines/templates/steps/vsts-release/vsts-release-template.yml+5
- azure-pipelines/vsts-releases/common.yml+1-3
- azure-pipelines/vsts-releases/common4j.yml+1-3
- build.gradle+20-10
- changelog.txt+10-2
- common-java-root/build.gradle+15-9
- common-java-root/settings.gradle+2-1
- common/build.gradle+2-2
- common/src/androidTest/java/com/microsoft/identity/common/internal/platform/AndroidDevicePoPManagerEncryptionTests.java+51
- common/src/main/java/com/microsoft/identity/common/adal/internal/PowerManagerWrapper.java+80-5
- common/src/main/java/com/microsoft/identity/common/internal/BatteryOptimizationStatus.kt+40
- common/src/main/java/com/microsoft/identity/common/internal/DeviceDozeModeStatus.kt+44
- common/src/main/java/com/microsoft/identity/common/internal/activebrokerdiscovery/BrokerDiscoveryClient.kt+135-83
- common/src/main/java/com/microsoft/identity/common/internal/activebrokerdiscovery/IBrokerDiscoveryClient.kt+11
- common/src/main/java/com/microsoft/identity/common/internal/activebrokerdiscovery/LegacyBrokerDiscoveryClient.kt-50
- common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidDevicePopManager.java+76-48
- common/src/main/res/values/styles.xml+1-1
- common/src/test/java/com/microsoft/identity/common/internal/activebrokerdiscovery/BrokerDiscoveryClientTests.kt+377-61
- common/src/test/java/com/microsoft/identity/common/internal/activebrokerdiscovery/InMemoryActiveBrokerCache.kt+3-3
- common4j/build.gradle+15-6
- common4j/settings.gradle+2-1
- common4j/src/main/com/microsoft/identity/common/java/cache/BrokerOAuth2TokenCache.java+9-3
- common4j/src/main/com/microsoft/identity/common/java/crypto/IDevicePopManager.java+4
- common4j/src/main/com/microsoft/identity/common/java/flighting/CommonFlight.java+6-1
- common4j/src/main/com/microsoft/identity/common/java/opentelemetry/AttributeName.java+13-3
- common4j/src/main/com/microsoft/identity/common/java/opentelemetry/SpanName.java+2-2
- common4j/src/main/com/microsoft/identity/common/java/platform/AbstractDevicePopManager.java+25-8
- common4j/versioning/version.properties+1-1
- gradle/versions.gradle+1-1
- keyvault/build.gradle+4-4
- labapi/build.gradle+4-4
- settings.gradle+2-1
- testutils/build.gradle+4-4
- testutils/src/main/java/com/microsoft/identity/internal/testutils/labutils/ConfidentialClientHelper.java+1-1
- uiautomationutilities/build.gradle+4-4
- versioning/version.properties+1-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
| 365 | + | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments