Lines Matching +full:gapic +full:- +full:libraries +full:- +full:bom
2 #run this script from google-cloud-java directory
3 # google-cloud-java$ ./generation/diff_files.sh
4 # not using set -e because failing diff command is ok
5 # latest repositories Id -> comgooglecloud-5570, comgoogleapi-5038, comgoogleanalytics-1052
9 # 1. Run the stage job for google-cloud-java, on a branch which does not have any snapshot versions…
11 # a. 'comgooglecloud' (the result will be like "comgooglecloud-5570")
12 # b. 'comgoogleapi' (the result will be like "comgoogleapi-5038")
13 # c. 'comgoogleanalytics' (the result will be like "comgoogleanalytics-1052")
17 # Output of this script are 2 files (actually generated by diff_directory.sh) ->
18 # 1. diff-files-summary.txt : This will show success for artifacts which have same files on maven-c…
20 # 2. total-diff.txt : For every artifact, this will show 4 things:
26 # Search total-diff.txt for any artifact, and it will show you a complete scenario, what all files …
28 cloudRepoId=comgooglecloud-5570
29 apiRepoId=comgoogleapi-5038
30 analyticsRepoId=comgoogleanalytics-1052
32 #-maxDepth 2 will just loop over all the packages we have, like java-vision etc, not maven submodul…
33 #-maxDepth 3 and 4 output same number of modules (more than 2 ofcourse) so 3 is covering all the mo…
34 for module in $(find . -mindepth 1 -maxdepth 3 -name pom.xml | sort | xargs dirname); do
36 if [[ "${module}" = *gapic-libraries-bom ]]; then
44 #these modules do not exist on maven-central yet
50 groupId_line=$(grep --max-count=1 'groupId' "${pom_file}")
51 artifactId_line=$(grep --max-count=1 'artifactId' "${pom_file}")
52 version_line=$(grep --max-count=1 'x-version-update' "${pom_file}")
55 version=$(echo "$version_line" | cut -d '>' -f 2 | cut -d '<' -f 1)
74 …maven_version=$(curl -s "https://repo1.maven.org/maven2/com/google/cloud/${artifactId}/maven-metad…
75 maven_latest_version=$(echo "$maven_version" | cut -d '>' -f 2 | cut -d '<' -f 1)
84 …maven_version=$(curl -s "https://repo1.maven.org/maven2/com/google/api/grpc/${artifactId}/maven-me…
85 maven_latest_version=$(echo "$maven_version" | cut -d '>' -f 2 | cut -d '<' -f 1)
94 …maven_version=$(curl -s "https://repo1.maven.org/maven2/com/google/analytics/${artifactId}/maven-m…
95 maven_latest_version=$(echo "$maven_version" | cut -d '>' -f 2 | cut -d '<' -f 1)